First  |  Prev |  Next  |  Last
Pages: 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
SendMessage WM_NOTIFY across process
Hello, I'm using a program to drive a GUI. For simple messages such as LB_SETSEL the PostMessage API works fine. I use SendMessage for WM_NOTIFY as it takes the address of a local NMITEMACTIVATE structure. I've tried this with very simple cases. Using Spy++ to obtain the window handles and to observe the message... 5 Jul 2007 03:57
Runtime error-help plz.
hi , the following code has been successfully compiled and executed in vc6.0,and it has also compiled in vc8.0 but causing problem runtime. can anybody help me please......... pNext is of type LPTSTR; BYTE bVal = 0; if(_stscanf(pNext,TEXT("%x "), &bVal)==1) error: Runtime check Failure #2 st... 1 Jul 2007 00:38
CStdioFile ReadLine
I have the following 4 lines of data in a text file which I want to read (note the large number of spaces in line2): ..5,-90,50 "¥ª °¼ ",0,50 -15630,166,205,0 0,0 CStdioFileEx file; CString str; CString Data[10]; file.Open(_T("c:\\file.txt"), CFile::modeRead){ while(file.ReadString(str)){ Data[i+... 24 Jun 2007 00:33
Debug Assertation Failed
Hello, When I am debugging my program I got this error. when I Ignore this everything works fine. When I used "retry" option to debug it went to a triggered break point and the line it was showing was _AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL); return a... 21 Jun 2007 19:20
Wizard property sheet questions
I'm implementing a bootstrap program (setup.exe) for a new installer that we're creating. Because of our requirements, we need to handle installation of the program suite's prerequisites prior to launching the actual installer, so we've come up with the idea of implementing some of the UI in the bootstrap progr... 26 Jun 2007 17:42
Enabling/disabling Tree Control items
I've seen it mentioned in several articles in the MSDN Library and the Visual Studio help that you can disable individual items in a tree control by setting a state, yet I cannot find anything anywhere that says what that stat is. How does one go about enabling and disabling individual items? I should note tha... 22 Jun 2007 13:08
afxMapHWND with Shared Release DLL
Hi! I've been working on some interface DLL's recently that pass a CWnd back to a main EXE. Everything works fine in DEBUG mode. As soon as I go over to a RELEASE version I get: - error LNK2019: unresolved external symbol "class CHandleMap * __stdcall afxMapHWND(int)" (?afxMapHWND@@YGPAVCHandleMap@@H@Z) ... 15 Jun 2007 00:00
VS2005/Vista issues
I spoke too soon about VS2005 Vista SP1 being more reliable; doing rather trivial single-threaded app debugging, I've managed to crash it six times in the last hour. Each time it seems to crash for a different reason, or at least as the consequence of some completely different action on my part. For those who ... 21 Jun 2007 00:22
Loop for AfxBeginThread
I want a loop to run in my RUNTIME_CLASS object derived from CWinThread. I can initialize my thread, and I can call portions of my class. But, how do I specify that I want to run a Loop after everything has initialized? I was planning on placing this loop inside the overridden Run method, but the Help says... 6 Jun 2007 11:25
CTreeCtrl::SelectItem() behaves weird on VISTA
I've override the CTreeCtrl to support multi selection. Calling CTreeCtrl::SelectItem to select a new item will make other selected item unselected. So the total number of selected items always remains the same after calling SelectItem() on VISTA. It works fine on Window XP. Can anyone help on this? Thanks ... 5 Jun 2007 03:39
First  |  Prev |  Next  |  Last
Pages: 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84