ok thanks mate. you were of course correct. if anyone cares the problem was i was hooking cbtproc to record mouse events and llkeyboard for keyboard events.this works in user mode but in admin mode HCBTPROC wasnt getting recorded. i swithced it to llmousehook and now its all good. thanks for your help
I'm doing a program in WINAPI. In form with grid ( ListView ) after double click new form is opened.
I wont to open more then only one window, but when I'm clicking on another line there is no effect. I wont to have more new windows opened in the same time.
I want call a MFC regular DLL from a API program. The MFC DLL is supposed to be a dialog baesd application which can open the file and display the chart.
My questions are
1) Is it possible to do so ?
2) How it is called within API program ?
3) Can anyone supply some sample code ?
thanks in advance.
1. See 2.
2. What is an "API program"
3. Google may be able to.
If you are asking how to use a MFC library from a non-MFC program, then I am not sure if that is possible. You would need to ensure that all function calls provide the parameters in the form required by the MFC classes.
One of these days I'm going to think of a really clever signature.