February 25th, 2013 12:00 AM
It seems like the more I think about thread synchronization the more I think just about everything needs to be protected.
I have a custom window (made with CreateWindow) that I use like a...
February 24th, 2013 05:53 PM
Hi guys, I can't stop my thread:
void MyClass:start()
DWORD dwThread;
thread_flag=1;
hThread=CreateThread(NULL,0,startThread,(LPVOID)this,0,&dwThread);
}
February 20th, 2013 05:02 PM
Hi guys,
I got as far as getting a web page into an IHTMLDocument2 but I don't know what to do from there, all the examples I found are C# or .NET or something else I don't understand.
Will...
February 18th, 2013 10:03 PM
1) Exactly that, I don't want to write it to disk unless the width or height is a minimum of (say) 512 pixels.
I'm not using a library because I planned on just writing the block of memory to...
February 18th, 2013 09:10 PM
Hi guys,
I have a JPEG in memory as a char* and a bytesize, if I save it to disk with a .jpg extension it's a perfect JPEG file. The thing is, I don't want to save it unless it's a minimum...
December 5th, 2011 12:10 PM
Hi guys,
I noticed that my DIBs, both saved and copied to the clipboard, are 2 bytes short.
DWORD dwSize=sizeof(BITMAPINFO)+height*span;
HGLOBAL hGlobal=GlobalAlloc(GMEM_MOVEABLE,dwSize);...
September 7th, 2011 04:13 PM
I would get a warning such as: "conversion from double to float, possible loos of data". I don't get that in VS2010.
Yes, you are correct. The warnings were under Link so they wouldn't show up...
September 7th, 2011 01:26 PM
Hello, using VS2010 I am not getting the compilation warnings I used to get with VS2008.
For example:
float x=1.0;
...would cause a warning in VS2008 because I didn't append an 'f' like so:...