February 21st, 2011, 11:55 PM
I mentioned a "define switch". This is a define switch:
// do something
// do nothing
February 21st, 2011, 06:09 AM
I meant the macro or function that uses __FILE__ is set to a "do nothing" state. I didn't give an example, so you assumed wrong.
On the contrary, it's not my code. I'm not obligated to fix...
February 19th, 2011, 05:34 PM
MSVC++ 2008. I can see the full filepaths in my hex editor. I'm compiling a dynamic library (.dll) if that matters.
I thought I just ask to see if there's an easy way to get rid of them, before...
February 19th, 2011, 03:23 AM
Thanks, I understand their purpose, but that doesn't diminish the fact I want them removed from my release build.
I take it from your response, there's no way to turn them off.
February 18th, 2011, 11:20 PM
I have this C++ library that uses __LINE__ and _FILE__ preprocessor directives all over the place,
and I would like to disable it or turn it off without having to explicitly remove them myself.
March 22nd, 2009, 02:26 AM
I would think the child windows are placed wherever you specified their CRect(left,top,right,bottom) coordinates during creation.
These coords should be relative to its parent starting at the upper...
March 20th, 2009, 04:22 PM
Encryption is usually done on the bit level, you know like XOR. I would not add or subtract values. This is more obfuscation than encryption.
March 13th, 2009, 05:20 AM
Thanks, I didn't know VS2008 had it.
March 12th, 2009, 08:25 PM
Just wondering, what do people use for regular expression matching for C/C++?
I'm using the MFC framework. It doesn't necessarily have to be for CString, but it would be nice. Something like...
March 9th, 2009, 11:48 PM
PCX files can be 256 colors or 24-bit, so I think it's more of a matter of selecting a format with the appropriate bit depth.
Also try TGA or PNG. Both can do 32-bit with alpha channel.
March 8th, 2009, 10:27 AM
March 4th, 2009, 02:49 PM
Are you drawing in 2D?
Draw GDI to memory DC with attached bitmap, then load bitmap into OpenGL texture (32-bit RGBA).
Enable OpenGL alpha-blending, then draw texture transparently to backbuffer.