Search found 3 matches

by salute
Sat Aug 09, 2008 7:27 am
Forum: Developer's Forum for Windows
Topic: MFC DLL and Attributed COM
Replies: 5
Views: 12448

Will the name of the windows stay the same in the forseeable future? What about older drivers? Did they use the same name?

Do you have any hints for my other questions?

How can I detect whether a Spaceball device is plugged in?
How can I detect whether a Spaceball device is plugged out?
by salute
Fri Aug 08, 2008 8:08 am
Forum: Developer's Forum for Windows
Topic: MFC DLL and Attributed COM
Replies: 5
Views: 12448

To initialize the driver I use the following sequence: if (SiInitialize() == SPW_DLL_LOAD_ERROR) { return; } SiOpenData spaceballData; SiOpenWinInit(&spaceballData, m_hWnd); SiSetUiMode(&m_hSpaceball, SI_UI_ALL_CONTROLS); if ((m_hSpaceball = SiOpen("Test", SI_ANY_DEVICE, SI_NO_MASK...
by salute
Thu Jul 24, 2008 7:38 am
Forum: Developer's Forum for Windows
Topic: MFC DLL and Attributed COM
Replies: 5
Views: 12448

MFC DLL and Attributed COM

Hello I have a MFC Application. The logic for interaction is separated in a DLL library and I want to add the 3Dconnexion interaction code into that DLL (I use VS2008). MFC defines its own DllMain method. I cannot use attributes and module naming for COM (only if I force it to link with the FORCE:MU...