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

Search:

Type: Posts; User: ckweius

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'

    Hi Nagesh,

    You might want to try change _DEBUG to NODEBUG in your preprocessor settings.

    Regards,
    Kevin
  2. Replies
    3
    Views
    1,467

    Re: Child Window topmost

    Hi, may be you should check this out.

    LockSetForegroundWindow()

    Regards,
    Kevin Choong
  3. Re: Can I read data simultaneously from same serial port?

    One com port can only serve one connection at a time. Unless you have ways for the 3rd party process to connect/release the port as you wish, there is no way for your own process to gain the port...
  4. Replies
    1
    Views
    436

    Re: how to set breakpoint in this way?

    Check out this thread.
  5. Replies
    7
    Views
    1,766

    Re: MFC class wizard

    No, you can still code it by hand without the class wizard.

    Add this to your header file:


    afx_msg void OnTimer(UINT nIDEvent);

    Add this to your cpp file:
  6. Replies
    7
    Views
    1,766

    Re: MFC class wizard

    Class Wizard Dialog is no longer available after VC6.
  7. Replies
    2
    Views
    369

    Re: string parsing question

    Not sure why you want to write your own while you can just use some other proper written XML parsers to retrieve the attribute of a node.

    1. Microsoft XML Parser SDK

    2. XMLite

    Hope this...
  8. Re: Limit OpenGL viewable(visible) area?

    Hey BytePtr, you are welcome. :)
  9. Re: Limit OpenGL viewable(visible) area?

    Check out the View Frustum Culling.

    Regards,
    Kevin Choong
  10. Thread: MySql...

    by ckweius
    Replies
    2
    Views
    647

    Re: MySql...

    mysql.h only contains the header prototype information, the linker can't seem to locate the actual object or library file. Make sure you also supply that.
  11. Replies
    2
    Views
    646

    Re: Permission denied?

    Most likely your eoserv-debug.exe is still running, you can use task manager to end it before recompile a new version.
  12. Replies
    1
    Views
    676

    Re: new to graphics

    To go full screen on Win32 project, do this:


    DEVMODE dmScreenSettings; // Device Mode
    memset(&dmScreenSettings,0,sizeof(dmScreenSettings)); // Makes Sure Memory's Cleared...
  13. Replies
    2
    Views
    638

    Re: debugging problem with Visual Studio 2005

    You can set your program to break execution when the memory at specified address changes, then trace the code back to see which line changes it.

    In VS2008 during debug, you can set that by going...
  14. Thread: pointer

    by ckweius
    Replies
    3
    Views
    567

    Re: pointer

    #include <stdio.h>
    #include <stdlib.h>

    void myfunction(int &A, int &B, float *p)
    {
    static a=0,b=0;
    A = ++a;
    B = ++b + a;

    *p = A;
  15. Thread: shrink bitmap

    by ckweius
    Replies
    7
    Views
    1,865

    Re: shrink bitmap

    Check out this example:
    24434
  16. Thread: logical error

    by ckweius
    Replies
    10
    Views
    1,100

    Re: logical error

    I have done the code trace, rxbagain is correct.
  17. Thread: logical error

    by ckweius
    Replies
    10
    Views
    1,100

    Re: logical error

    No, I am pretty sure that LOOPNZ will continue the loop as long as CX is not zero OR the zero condition is not set. Read this
  18. Thread: shrink bitmap

    by ckweius
    Replies
    7
    Views
    1,865

    Re: shrink bitmap

    You can use CDC:StretchBlt to shrink your bitmap into smaller destination rectangle.
  19. Thread: logical error

    by ckweius
    Replies
    10
    Views
    1,100

    Re: logical error

    LOOPNZ will continue the loop as long as CX is not zero OR the zero condition is not set.

    So for your case, just use LOOP, which will drop to next instruction when CX equals 0.
  20. Replies
    26
    Views
    4,896

    Re: atoi(), itoa() ... make system getting crash

    To convert Unicode string to integer, use _wtoi().
  21. Thread: C++, C# or C?

    by ckweius
    Replies
    5
    Views
    571

    Re: C++, C# or C?

    I guess it all depends on the type of application you intend to develop. If you are writing database/network related software, go for C# as it cut development time tremendously; if you are developing...
  22. Replies
    6
    Views
    1,230

    Re: Create control class from CWnd-derived

    Why not consider writing some not-yet-existing controls since MFC already has its own CButton class.
  23. Replies
    3
    Views
    811

    Re: how to add ScrollBar to Dialog

    There is no similar ctrl+w class wizard in VS2005. However you can always hand-code the event handler code.

    Copy below code to your class definition.

    protected:
    // Generated message map...
  24. Replies
    26
    Views
    4,896

    Re: atoi(), itoa() ... make system getting crash

    Most CRT functions have corresponding more secure version with the '_s' suffix. To put it simple, deprecated functions will simply crash the application when errors (such as buffer overrun) occured....
  25. Replies
    3
    Views
    811

    Re: how to add ScrollBar to Dialog

    Using ctrl+w to invoke class wizard only apply to VC6, are you using VC6?
Results 1 to 25 of 65
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center