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

Search:

Type: Posts; User: Roger65

Search: Search took 0.06 seconds.

  1. Re: NT/2000 - Open / Save File Dialog causes application to exit

    In debug mode you can't open the dialog box, get access error.
  2. Re: NT/2000 - Open / Save File Dialog causes application to exit

    My OS is WinXP Pro(sp2). If I run my program compilied with MSVC 6.0 it works great, the same program compilied with MSVC 8.0 closes the main window and exits. No errors or Send crash to Microsoft....
  3. Replies
    0
    Views
    521

    Save As HTML AddIn

    I got this code which compilies on C# VS 2003 but 2005 doesn't like 2 items. I'm new at C# and don't understand what the compilier is complaining about. One problem is with indexing an object the...
  4. Thread: _tcstok

    by Roger65
    Replies
    5
    Views
    10,147

    Re: _tcstok

    Oops, I found a call to: _tcslwr(Command) before _tcstok. Sorry!
  5. Thread: _tcstok

    by Roger65
    Replies
    5
    Views
    10,147

    Re: _tcstok

    PTCHAR _getNextToken(void)
    {
    TCHAR theDelim[] = TEXT(" ");
    TCHAR quotedDelim[] = TEXT("\"");

    TCHAR *theToken = NULL;

    theToken = _tcstok(NULL, theDelim);
    if(theToken &&...
  6. Thread: _tcstok

    by Roger65
    Replies
    5
    Views
    10,147

    Re: _tcstok

    for example: the input string is "ROGER", the function returns: "roger".
  7. Thread: _tcstok

    by Roger65
    Replies
    5
    Views
    10,147

    _tcstok

    Why does _tcstok return lower case?
  8. Thread: Quiz

    by Roger65
    Replies
    4
    Views
    903

    Quiz

    You never set bool Even to false, anything other than 0 is true.

    #include "stdafx.h"

    bool Even( int );

    int main()
    {
    if( Even(21) ) {
    bool Even = true;
  9. pointer quiz

    these 3 are legal
    const char * myPtr = "A";
    char * const myPtr = "A";
    const char * const myPtr = "A";
    these 3 are NOT legal
    const char * myPtr = 'A';
    char * const myPtr...
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured