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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I self-extract in XP?

Status
Not open for further replies.

queue1114

Programmer
Mar 4, 2005
1
US
I had built a self extracting program some years ago in the windows 95 environment. That file still works on all windows environments, but when I re-compile it in the XP environment, I now get an I/O error "32" when it attmpts to open itself using the "reset" function. This is a shared violation. I never had this problem in earlier versions of windows. How do i get around this problem?

Q.
 
You need to make sure you are opening the file for read-only (FileMode:=0). Earlier versions of the OS were satisfied by your not writting to a file in r/o use, but ME and later make you first promise not to write to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top