Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I/O error when starts Myapp.exe

Status
Not open for further replies.

newtofoxpro

Programmer
Sep 16, 2007
301
IN
I have added .BMP files to my Project which creates Myapp.exe While starts Myapp.exe I/O error comes. If I put any CD in CD-ROM Drive, Myapp.exe runs without any error.

Thanks in advance
 
I too think that I remember WAY BACK when I encountered this problem.

I ended up using a HEX Editor on the EXE file to locate where the D: drive was referenced. Then (after having ensured that I had a good backup copy) I changed the D: to C:, save the changes and things worked just fine.

Good Luck,


JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
Another possibility may be:

create a subdirectory d on drive c: (boot drive)
and then issue subst to create the CD ROM Drive Letter

for cd drive d:, do the following

c:
md \d
subst d: c:\d

if it works fine, then put these 3 lines in a batch file and run this at boot time. You have to reassign the CD-Drive letter to another drive letter, which you do through operationg system.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top