Vjy
February 22nd, 2007, 07:54 AM
Iam doing an application in VC++..
Iam getting errors like..
RegisterDeviceNotification() function undeclared identifiers
DBT_DEVTYP_DEVICEINTERFACE, undeclared identifiers
PDEV_BROADCAST_DEVICEINTERFACE, undeclared identifiers
HDEVNOTIFY, undeclared identifiers
DEVICE_NOTIFY_WINDOW_HANDLE undeclared identifiers
I tried with many header files.... but of no use..
http://lvr.com/hidpage.htm#MyExampleCode ..
in this site it is given to set WINVER to 0x500 or more in stdafx.h ......
I tried with it,
again errors like..
cannot open file '.\Debug\StdAfx.sbr': No such file or directory
fatal error C1017: invalid integer constant expression
Can anyone help me...
waiting for suggestions..
Thanks in advance..
Iam getting errors like..
RegisterDeviceNotification() function undeclared identifiers
DBT_DEVTYP_DEVICEINTERFACE, undeclared identifiers
PDEV_BROADCAST_DEVICEINTERFACE, undeclared identifiers
HDEVNOTIFY, undeclared identifiers
DEVICE_NOTIFY_WINDOW_HANDLE undeclared identifiers
I tried with many header files.... but of no use..
http://lvr.com/hidpage.htm#MyExampleCode ..
in this site it is given to set WINVER to 0x500 or more in stdafx.h ......
I tried with it,
again errors like..
cannot open file '.\Debug\StdAfx.sbr': No such file or directory
fatal error C1017: invalid integer constant expression
Can anyone help me...
waiting for suggestions..
Thanks in advance..