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

Search:

Type: Posts; User: sinclaire

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    1,757

    Re: how to disable __FILE__ ?

    I mentioned a "define switch". This is a define switch:



    #ifdef DEBUG
    // do something
    #else
    // do nothing
    #endif
  2. Replies
    12
    Views
    1,757

    Re: how to disable __FILE__ ?

    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...
  3. Replies
    12
    Views
    1,757

    Re: how to disable __FILE__ ?

    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...
  4. Replies
    12
    Views
    1,757

    Re: how to disable __FILE__ ?

    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.
  5. Replies
    12
    Views
    1,757

    how to disable __FILE__ ?

    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.
    ...
  6. Re: How to place a button at the far right of a Toolbar

    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...
  7. Re: string together letters for encryption..

    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.
  8. Replies
    2
    Views
    5,004

    Re: Regular Expressions for CString

    Thanks, I didn't know VS2008 had it.
  9. Replies
    2
    Views
    5,004

    Regular Expressions for CString

    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...
  10. Thread: file format

    by sinclaire
    Replies
    1
    Views
    748

    Re: file format

    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.
  11. Replies
    2
    Views
    2,058

    Re: Transparent Rectangle - animation library

    http://www.codeguru.com/forum/showthread.php?t=327701
  12. Replies
    4
    Views
    5,336

    Re: GDI over OpenGL in Vista

    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.
Results 1 to 12 of 12


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center