Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Win32 (http://www.go4expert.com/forums/win32/)
-   -   Win32 to MFC Dialog (http://www.go4expert.com/forums/win32-mfc-dialog-t12875/)

newvcproj 12Aug2008 11:30

Win32 to MFC Dialog
 
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

dmsundaram75 12Aug2008 12:02

Re: Win32 to MFC Dialog
 
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

newvcproj 12Aug2008 12:14

Re: Win32 to MFC Dialog
 
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


All times are GMT +5.5. The time now is 06:33.