Type: Posts; User: hoxsiew
Search took 0.08 seconds.
February 10th, 2011, 07:28 AM
I suspect that it probably has to do with another stack variable either before or after "INITCOMMONCONTROLSEX InitCtrls;" which is over/under-flowing. All the ICC_xxx defines are the same size...
February 10th, 2011, 07:15 AM
No, the buzzword is "Desktop Composition". It is sort of a cache of window contents maintained by the OS to keep a better idea of what windows are doing and to improve performance. You should still...
February 8th, 2011, 07:28 AM
Something like this?:
unsigned long ip_addr;
struct sockaddr_in client;
December 20th, 2010, 09:42 AM
Actually, I believe it is your first line. CreateCompatibleDC(NULL) will produce a monochrome DC until some object is selected into it. Instead, try CreateCompatibleDC(GetDC(hWnd)) where hWnd is a...
December 7th, 2010, 08:15 AM
I do this habitually too. For me, it goes back to the days of writing programs on punch cards. I'm an old dog and I don't like to learn new tricks.
December 7th, 2010, 08:01 AM
I didn't say anything about teaching. It seemed implicit in your post that you were doing this as an exercise in learning network programming.
I just took a quick look at RFC3207 and it seems...
December 6th, 2010, 10:54 AM
The netmask is part of the IP configuration for the interface. You can't just guess. With that broadcast address, this looks like a class A network. How come you don't have the netmask information?
December 6th, 2010, 10:50 AM
I don't know much about TLS, but doesn't that hand off the process to another port? Are you using port 25 or port 587?
At any rate, encrypted email seems like a bit much for a learning example.
December 6th, 2010, 10:33 AM
IA64 binaries are NOT compatible with x64 binaries in the windows world. I'm not sure what you are trying to do, but you seem to be mixing two types of binaries in your linking step.
December 2nd, 2010, 01:39 PM
Ack! missed the fact that it's not class pointers.
What Lindley said!
December 2nd, 2010, 01:33 PM
Don't include the header, just use a forward declaration of the class.
December 2nd, 2010, 01:24 PM
RSA is a public-key system. Are you sure that's what you want to use? What are you trying to accomplish?
November 30th, 2010, 07:22 AM
That's probably the telnet server querying the client for supported options. These are established before the session ever gets to a prompt. See the telnet RFC:
November 29th, 2010, 10:27 AM
I only did that for demonstration purposes, hence the comments.
November 29th, 2010, 09:13 AM
Just use CString's = operator. It will handle the conversion:
CStringW csw; //force wide cstring regardless of UNICODE setting
CStringA csa; //force multibyte cstring regardless of UNICODE...
November 22nd, 2010, 08:49 AM
Sounds like one of those cracker-ish keygen.exe type things that you find one warez sites. Obnoxious graphics and noise to show off how cool the cracker is. Usually crawling with trojans once it...
November 22nd, 2010, 08:33 AM
In this case, since you mentioned it's an 8-bit BMP, it appears that you are corrupting your bitmap by loading the pixel information into the color table area. An 8-bit BMP has a table of 256 DWORDS...
November 19th, 2010, 11:16 AM
Well, using your code above, try something like this:
static int flag=0;
November 19th, 2010, 09:28 AM
what is the "case WM_PAINT:" doing in your button handler? It should be a separate case on the same level as WM_COMMAND. What you need to do is ONLY paint in the WM_PAINT handler (the correct one)....
November 19th, 2010, 09:22 AM
You are loading a DIB (device independent bitmap) then trying to blit it to a specific device (not independent). You need to first convert your DIB to a device dependent bitmap (DDB) that is...
November 15th, 2010, 10:01 AM
Have you tried to "import" the object?
November 10th, 2010, 02:25 PM
Why not use the twitter API?
November 9th, 2010, 10:07 AM
November 9th, 2010, 09:56 AM
I guess I should have quoted since you edited your post eliminating all context of my reply. Apparently you understand now, right?
November 9th, 2010, 09:43 AM
How much clearer can I state it? There is a palette in the file and a palette in the bitmap structure. Commenting those lines makes the code fail to load the palette from the file. Without filling...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!