First  |  Prev |  Next  |  Last
Pages: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
TBN_GETOBJECT Notification Code
Hello, I have a toolbar which uses the TBSTYLE_DROPDOWN style. That is, when I click on the toolbar buttons, I get a popup menu, as shown in the MSDN toolbar examples. I was "wondering" if the style TBSTYLE_REGISTERDROP, is so that one can have the "popup menu display" as the mouse is (hovering) over the... 27 Apr 2010 16:46
GetConsoleScreenBufferInfo & ReadConsoleOutputW
I can read the current contents of the visible area of a Command Prompt, but I'm trying to extend the code to pick up the entire contents of the buffer. I'm setting the lpReadRegion parameter to the same values that come out of GetConsoleScreenBufferInfo in the dwSize component, but that is behaving unpredictabl... 27 Apr 2010 13:18
ITaskScheduler: how to refresh (or remove the cached by task by Microsoft) ?
I have been using ITaskScheduler to invoke an application which has been working great so far. However, I just noticed that it doesn't work well when I change the interval. In this case, what I am doing is to delete the original task first and then create a new one with new interval. However, I discoved this: if... 29 Apr 2010 14:39
CreateFile on comm port in non-exclusive mode
Hello, I have been working with an application that reads NMFS GPS stanzas from a GPS unit attached to a serial port. That part is working great. However, our client wishes to run more than one program that will read the GPS data at a time. From what I can tell so far from reading MSDN, there is no way to op... 26 Apr 2010 20:36
Unicode again
Hello this code works: unsigned char buffer[1025]; fopen("toto.bmp", "rb"); fread(buffer, sizeof(unsigned char),1024, pf); fclose(pf); if(buffer[0] == 'B' && buffer[1] == 'M') ... this code does not work: (compiled with UNICODE and _UNICODE) WCHAR buffer[1025]; _wfopen(L"toto.bmp", L"rb"); frea... 30 Apr 2010 09:28
Mutex race?
I have a multithreaded application, where all threads need access to an array of data. To make it thread safe, I´ve encapsulated all access to that array in a named mutex, like this: // global CreateMutex(0,0,"SomeUniqueText"); DWORD WINAPI SomeThread(LPVOID data) { .... HANDLE hMutex = OpenMutex(SYNCH... 23 Apr 2010 20:52
How to check whether a PE(DLL,EXE) is a COM component or Win32 DLL/EXE?
Hello, I need to write a stub(module), when given some PE (DLL/EXE) as input , it should give the information that this PE is Win32 DLL/EXE or COM DLL/EXE? I need it programatically to determine this. Is there any windows APIs? Regards Usman ... 27 Apr 2010 15:37
Does anyone know where I can find info on RtlInitializeExceptionChain
I am getting an exception and want to find more info on this RtlInitializeExceptionChain. OS is Windows 2008. ... 23 Apr 2010 17:32
error: RC2177:Constant too big(WDK 7600.16385.1)
Hi, I get the error RC2177 with the latest WDK(7600.16385.1) for the following code: There is no problem in WDK 3790.1830 if(defined(LLONG_MAX) && (LLONG_MAX > CUSTOM_32__MAX) ) I have defined CUSTOM_32_MAX as below #define CUSTOM_32_MAX INT_MAX The value of INT_MAX is defined in limits.h in Visual Studi... 23 Apr 2010 17:32
CTreeCtrl : images on items
Hello, I have a problem about images and CTreeCtrl. Actually I want to put some images on the left (just before the text) of several items on the tree, but not all. It is easy to put one image on each node and each leaf of the tree. With CImageList::Create, CImageList::Add, CTreeCtrl::SetImageList and CTreeCtr... 23 Apr 2010 17:32
First  |  Prev |  Next  |  Last
Pages: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26