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

GPF in module USER.EXE - I NEED HELP

Status
Not open for further replies.

elingan

Technical User
Feb 21, 2000
2
CO
I have a aplication created in Windows 95 with VB 6.0 and this run perfectly when execute the file SARABRANCH.EXE (this is the name of file), but when I work in Windows 98 with VB6 and after execute file SARABRACH.EXE show the nex error:<br>

--------------------------------------------<br>

SARABRACH.EXE general protection fault in module USER.EXE ********* and diferent memory addres<br>

--------------------------------------------<br>

Please, HELP ME as soon as posible<br>

Thanks <br>

Eduardo.
 
Eduardo,<br>
Your problem is that between Win95 and Win98 there is a major difference in where the OS system files execute in memory. You wrote your application in Win95, using VB6, inherently setting it to use a specific memory address to execute in. When you port the application to Win98, User.exe is using that memory address that your VB6 application wishes to use. Thus you get a GPF error. You will have to rewrite the application in Win98 to get around this problem, or try debugging the application to find where it actually accesses the memory address in question and attempt to point it to another memory address.<br>
<br>
Hope this helps!<br>
<br>
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top