Type: Posts; User: olivthill
Search took 0.05 seconds.
November 6th, 2008, 05:43 AM
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...
November 5th, 2008, 07:43 AM
For a beginner:
- Google, http://www.google.com
- Wikipedia, e.g. http://en.wikipedia.org/wiki/Database_normalization
November 4th, 2008, 10:55 AM
In your C file, at a global level (i.e. outside of any functions), have:
In your C++ file, have:
extern "C" int g_nAllow;
November 4th, 2008, 10:40 AM
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...
November 4th, 2008, 06:19 AM
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...
November 4th, 2008, 06:03 AM
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....
November 3rd, 2008, 11:19 AM
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%'...
November 3rd, 2008, 08:05 AM
Write you code between
and if you disagree with daylight saving time.
November 3rd, 2008, 07:44 AM
A window of visual C++ forms? If so, which one?
A window created by your program? What kind of window? How is it created?
November 3rd, 2008, 07:37 AM
Compilers are often writing a timestamp inside the binary, and sometimes a checksum as well.
October 31st, 2008, 08:49 AM
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...
October 31st, 2008, 06:49 AM
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,...
October 30th, 2008, 12:54 PM
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...
October 30th, 2008, 11:34 AM
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...
October 30th, 2008, 11:26 AM
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...
October 29th, 2008, 07:04 AM
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.
October 28th, 2008, 09:18 AM
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...
October 27th, 2008, 12:29 PM
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...
October 23rd, 2008, 07:45 AM
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...
October 23rd, 2008, 05:35 AM
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...
October 22nd, 2008, 12:13 PM
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...
October 22nd, 2008, 12:00 PM
Test WM_COMMAND, EN_KILLFOCUS.
October 20th, 2008, 11:47 AM
Here is a modified version of the lines about the checkboxes:
</fieldset> <fieldset name="Other Graphics">
<legend class="alignleft">Other Graphics</legend>
October 20th, 2008, 11:20 AM
It's green. You have red with RGB(255, 0, 0)
Instead, try: pDC->SetROP2(R2_NOTXORPEN);
October 16th, 2008, 12:04 PM
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...
Click Here to Expand Forum to Full Width