Win32 to MFC Dialog

newvcproj's Avatar, Join Date: Jul 2008
Go4Expert Member
Hi all

i want to convert win32 application code to MFC VC++ code.i have got a example code from codeproject.com and i want to edit this code into MFC.I have taken simple dialogbox with one listbox.

When i am going to edit this code then i am geting error..I am pasting here code link and error both..Plz help me
error
Code:
error C2061: syntax error : identifier 'PSTORAGE_DEVICE_DESCRIPTOR'
error C2061: syntax error : identifier 'PSTORAGE_DEVICE_DESCRIPTOR'
fatal error C1083: Cannot open include file: 'devioctl.h': No such file or directory
win32 code link

links:http://www.codeproject.com/KB/winsdk/usbdisks.aspx

plz help me
0
dmsundaram75's Avatar, Join Date: Aug 2008
Newbie Member
Simple. The included file is not available in your source directory so that it couldn't open that file. Just make sure that the file availablity.

Meenakshi Sundaram
(Tech & SEO)
NetLink Technologies Ltd, Chennai

Last edited by shabbir; 12Aug2008 at 12:15.. Reason: Confine links to signatures.
0
newvcproj's Avatar, Join Date: Jul 2008
Go4Expert Member
Quote:
Originally Posted by dmsundaram75
Simple. The included file is not available in your source directory so that it couldn't open that file. Just make sure that the file availablity.

Meenakshi Sundaram
(Tech & SEO)
NetLink Technologies Ltd, Chennai

Thx's for reply

these error solved..

Now i havn't got out put.Code is runing but out put show only Dialog Box.And i use output for MessageBox..I think i am wrong some where So can i send you code for just look where i am wrong..Becouse i haven't figure out why out put not come..

Plz help me