Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Firefly mouse driver WinDDK

Reply
Thread Tools Display Modes

Firefly mouse driver WinDDK

 
 
Gert
Guest
Posts: n/a

 
      10-10-2010
I cannot get the firefly sample working properly. Below some of the code of
luminous.cpp. It passes statement 1. At first I got the error message of 3.
and now I get blue screens when statement 2. is being executed.

1. hResult = m_pIWbemClassObject->Put(
bstrPropertyName,
0,
&varPropVal,
cimType
);


2. if ( hResult == WBEM_S_NO_ERROR ) {
hResult = m_pIWbemServices->PutInstance(
m_pIWbemClassObject,
WBEM_FLAG_UPDATE_ONLY,
NULL,
NULL );

3. if ( hResult != WBEM_S_NO_ERROR ) {
_tprintf( TEXT("Failed to save the instance,")
TEXT(" %s will not be updated.\n"),
lpProperty );


What could be wrong?
Thanks, Gert
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Vista startup Jedi940 Windows Vista Performance 1 01-13-2008 08:50 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM
Re: No Matter What Installations Won't Boot On My Laptop Richard Urban Windows Vista Installation 1 01-06-2007 05:08 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59