Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: olivthill

Page 1 of 54 1 2 3 4

Search: Search took 0.05 seconds.

  1. Thread: Bit Strings

    by olivthill
    Replies
    2
    Views
    473

    Re: Bit Strings

    Just a little offside note. Bit strings are not frequently used in the real world (outside of schools) because it is more efficient and convenient to store bits in integers or in characters. For...
  2. Replies
    2
    Views
    871

    Re: Beginner In DB

    For a beginner:

    - Google, http://www.google.com
    - Wikipedia, e.g. http://en.wikipedia.org/wiki/Database_normalization
  3. Replies
    1
    Views
    535

    Re: Acess C global variable from C++

    In your C file, at a global level (i.e. outside of any functions), have:
    int g_nAllow;
    In your C++ file, have:
    extern "C" int g_nAllow;
  4. Re: the safety and compatibility of ActiveX embedded in IE .

    If you mean "I never", I shall say "me too", because I never needed to write an Active X for IE, although I have written several applications for internet. So I am very puzzled, and I would like to...
  5. Re: a database design/implementation question

    Usually, users don't write SQL queries. Instead they fill fields in a form and press a button. The forms is sent to a server where a SQL query is generated with the contents of the fields used as...
  6. Thread: C++ Sockets

    by olivthill
    Replies
    7
    Views
    795

    Re: C++ Sockets

    I like very much Dev-cpp too. I still use it. I don't think it is really necessary to switch to code::blocks, because it is working with the same Mingw compiler.

    Sorry, I don't know LoadSocket....
  7. Replies
    2
    Views
    962

    Re: MySQL Wildcards support?

    I have tried with Oracle 7.3 and the syntax with the square brackets does not work either. But you can try this instead:
    select * from person
    where lastname like 'h%'
    or lastname like 's%'...
  8. Replies
    35
    Views
    3,441

    Re: Off Topic thread...

    Write you code between
    and if you disagree with daylight saving time.
  9. Replies
    4
    Views
    568

    Re: resizing a window

    A window of visual C++ forms? If so, which one?
    A window created by your program? What kind of window? How is it created?
  10. Re: the compiler generates different binaries from the same source

    Compilers are often writing a timestamp inside the binary, and sometimes a checksum as well.
  11. Replies
    1
    Views
    414

    Re: About Process Time

    Sorry, I'm confused about your sentence: "After these processes the time spend show me twice for loop will faster than single process."I have no idea what you meant, but I would bet two GM shares...
  12. Replies
    8
    Views
    765

    Re: question in strings

    1. In order to avoid confusion, let's talk of arrays of characters instead of strings of characters for "string" has a special meaning in C++.

    2. Usually, fuctions in C return the EAX register,...
  13. Replies
    2
    Views
    2,236

    Re: _vsnwprintf_s _DstSizeInWords question

    Are you sure?
    At http://msdn.microsoft.com/en-us/library/cc230400.aspx, it is written this is a 16-bit value and is defined as typedef unsigned short wchar_t;

    Anyway, with wchar_t szBuffer...
  14. Re: What's the best method to write Database Files?

    WriteProfileString() is very convenient for memorizing parameters of an application, i.e. about 100 values. If your volumes are more important, then it is better to use a real database (some are free...
  15. Replies
    2
    Views
    687

    Re: BitBlt() use within a single DC.

    You can use BitBlt to copy parts of an image in a DC to other parts of the same image in the same DC, ... as long as no part of the image will be placed beyond the width and heighth of the currently...
  16. Re: Flash Control doesn't respond to WM_KEYDOWN??

    I think

    1. the window must have the focus.
    2. WM_KEYUP is required as well because, if I remember well, Windows is binding together several WM_KEYDOWN until there is a WM_KEYUP.

    Therefore, it...
  17. Replies
    9
    Views
    3,603

    Re: block internet connection for one program

    Sorry, I don't understand very well your question, and maybe I am not the only one, which would explain why you have no answers.

    At first, I was thinking you did not want your program to surf on...
  18. Thread: text size

    by olivthill
    Replies
    3
    Views
    489

    Re: text size

    If the text is written with DrawText() or TextOut(), its size is defined when a font is created.
    If the text is in a child control (static field, edit box, list box, etc) then its size is defined...
  19. Replies
    1
    Views
    440

    Re: Do any one know Shell Script here

    Welcome.
    It depends which shell (Unix (sh, ksh, csh, bsh), Windows (vbs or bat), or another shell). And there are two sections devoted to scripts below in this forum: Scripting - Client Side...
  20. Replies
    3
    Views
    951

    Re: Caret & WM_CHAR

    I presume you are talking about the cursor (the hourglass or the arrow) and not about the caret (a blinking bar in an edit control).
    Are you sure? Usually, the cursor is the one that is chosen when...
  21. Replies
    3
    Views
    951

    Re: Caret & WM_CHAR

    Are you using SetFocus() with a correct handle?
    What is "it"?

    Your piece of code looks all right to me. The problem should reside elsewhere.
    For your other questions, it is difficult to give an...
  22. Replies
    2
    Views
    587

    Re: Handle the focus

    Test WM_COMMAND, EN_KILLFOCUS.
    See http://msdn.microsoft.com/en-us/library/bb761682(VS.85).aspx
  23. Replies
    31
    Views
    4,500

    Re: uncheck box and subtract value

    Here is a modified version of the lines about the checkboxes:
    </fieldset> <fieldset name="Other Graphics">
    <legend class="alignleft">Other Graphics</legend>
    <p>
    <input...
  24. Thread: drawRect

    by olivthill
    Replies
    1
    Views
    1,877

    Re: drawRect

    It's green. You have red with RGB(255, 0, 0)

    Instead, try: pDC->SetROP2(R2_NOTXORPEN);
  25. Replies
    36
    Views
    4,044

    Re: DLL load issue

    It depends whether a DLL is reentrant (also said "threadsafe") or not. Usually, it is reentrant.

    With a reentrant DLL, the code is loaded in only one place, and the associated data is located in...
Results 1 to 25 of 1331
Page 1 of 54 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center