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

Search:

Type: Posts; User: sunil_cguru

Page 1 of 6 1 2 3 4

Search: Search took 0.31 seconds.

  1. Re: error C2022: too big for character

    Normally backslash is used as an escape character in a string so when you actually need a backslash in your string you need to use double backslashes which gets interpreted as '\'
  2. Re: error C2022: too big for character

    use double slash '\\' instead of single like ""c:\\DOCUME~1\\AMAL..."
  3. Replies
    5
    Views
    671

    Re: Problem in Reading File.

    Did you open the file in binary mode?
  4. Replies
    4
    Views
    1,207

    Re: Simple String manipulation problem

    The problem is that here if(word[i] == letter) you are comparing a char to a string.
    Since you need just a letter you could change string letter; to char letter; and it should work.
  5. Re: Please help me with Borland compiler in Visual C++ Express Edition

    Difficult to say unless you show us the code and what you are trying to do
  6. Re: Please help me with Borland compiler in Visual C++ Express Edition

    IDE is the environment that you use to write and debug your programs which is Visual C++ express edition in your case and Visual C++ express edition comes bundled with a C++ compiler as cilu pointed...
  7. Replies
    21
    Views
    1,871

    Re: Validate a path/file

    You can check a paths existence using the following API 'PathFileExists'
  8. Replies
    1
    Views
    384

    Re: Syntax Error that I can't find

    It has to do with your
    do{ missing a closing while statement.
  9. Replies
    4
    Views
    674

    Re: Simple Program help

    You declared gamount as a double but did not assign any value to it and then you proceed to multiply it with some value which would give undefined results. So you need to initialize gamount with some...
  10. Replies
    29
    Views
    12,872

    Re: how to change the color of a button?

    You will have to override WM_CTLCOLOR for your button class
  11. Re: how to lauch application when windows start

    One way would be to add your applications path to the registry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\.
    This would launch your app on startup.
  12. Replies
    11
    Views
    2,917

    Re: DoModal failed

    You might have to switch the module state.
    Try doing this AFX_MANAGE_STATE(AfxGetStaticModuleState( )); in your exported Dll function.
  13. Replies
    2
    Views
    1,808

    Re: Visual c++: Directory check

    Try with 'PathIsNetworkPath()' API
  14. Replies
    1
    Views
    5,092

    Re: Kill a thread started by AfxBeginThread

    To kill the thread get the thread handle m_hThread from myThread and call TerminateThread on the handle. Be warned though that terminating threads in this fashion is not recommended, the proper way...
  15. Replies
    6
    Views
    792

    Re: Context information of scanning

    You could store your history data in the registry and read it on reboot to know which was the last file/folder scanned.
  16. Replies
    10
    Views
    1,021

    Re: need some help. more details inside.

    Check out how to use a do-while loop in C++.
  17. Replies
    2
    Views
    518

    Re: C++ editor STEP INTO

    AFAIK you can't undo the execution of a line but you can step back one or few lines as per your requirement using the 'Set Next Statement' option during debug.
  18. Replies
    11
    Views
    11,113

    Re: CString Find Function

    Why dont you search for "testing " since every word would have a space at the end
  19. Replies
    11
    Views
    11,113

    Re: CString Find Function

    Did you try CString::Find function?
  20. Replies
    4
    Views
    880

    Re: How to append int to char?

    or you can use stl string and stringstream

    stringstream ss;
    ss<< myNumber <<count;
    string out = ss.str ();// appended output
  21. Re: LINK error: LNK2001: unresolved external symbol

    Perhaps it has to do with some calling conventions mismatch since you are using this in a C file but the linker output seems to indicate some different calling convention leading to mangling of the...
  22. Replies
    4
    Views
    532

    Re: how to fix this error!

    put this as the first line in matrix.h
    #pragma once
  23. Replies
    4
    Views
    532

    Re: how to fix this error!

    try...

    //main.cpp
    #include "matrix.h"
  24. Replies
    12
    Views
    3,174

    Re: increase the width of cbutton

    Check the spelling please..it should be SWP_NOZORDER
  25. Replies
    12
    Views
    3,174

    Re: increase the width of cbutton

    It should be
    CFont *pOldFont = pDC->SelectObject(pFont);
Results 1 to 25 of 134
Page 1 of 6 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)