Excuse me if this is common knowledge but the search feature of this forum seems to be down. I decided to write some code to support fast user switching in winblows XP. I decided to use Dev-C++ for this project but the included win32api headers/libs don't seem to support the necessary function calls and constants. These functions/constants are included with the MS Platform SDK. How do I integrate the SDK headers/libs with the Dev-C++ environment? Or do I? This link shows what I'm tryin to accomlish: http://support.microsoft.com/default.aspx?scid=KB;en-us;q310153
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The link should be valid. Either way its Microsoft Knowledge Base Article - 310153. It's a how-to on writing an application to support fast user switching. I'm using the mingw compiler (default install of Dec-C++).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The wtsapi32.h include which contains the WTSRegisterSessionNotification function prototype among others. And the winuser.h file included with the default install of Dev-C++/mingw does not contain the #defines for WM_WTSSESSION_CHANGE, as well as, the associated WPARAM codes for this message (ie WTS_CONSOLE_CONNECT, WTS_CONSOLE_DISCONNECT, ...)
Thanks again for the help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Excuse me if this is common knowledge but the search feature of this forum seems to be down. I decided to write some code to support fast user switching in winblows XP. I decided to use Dev-C++ for this project but the included win32api headers/libs don't seem to support the necessary function calls and constants. These functions/constants are included with the MS Platform SDK. How do I integrate the SDK headers/libs with the Dev-C++ environment? Or do I? This link shows what I'm tryin to accomlish: http://support.microsoft.com/default.aspx?scid=KB;en-us;q310153
Thanks in advance.
Hi.
The link you gave, reported article not found when I tried it.
What compiler do you have?
Derek
The link should be valid. Either way its Microsoft Knowledge Base Article - 310153. It's a how-to on writing an application to support fast user switching. I'm using the mingw compiler (default install of Dec-C++).
Exactly what is missing?
Derek
The wtsapi32.h include which contains the WTSRegisterSessionNotification function prototype among others. And the winuser.h file included with the default install of Dev-C++/mingw does not contain the #defines for WM_WTSSESSION_CHANGE, as well as, the associated WPARAM codes for this message (ie WTS_CONSOLE_CONNECT, WTS_CONSOLE_DISCONNECT, ...)
Thanks again for the help.
Apparently they're not there.
I've already posted a bug report about missing #defines in mingw3.2, in this case for the mouse wheel.
Mingw3.2 winuser,h is only 104KB, that for DMs compiler 189KB and that for Visual C++ 6.0 232KB
Possibly quite a lot missing.
Derek
Did you try to update your header?
I had to update commctrl.h and #define _WIN32_IE 0x0400 to get flat toolbars to work.