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.
 
There is a call to the User .DLL file in your program. <br>
The User.dll file in '98 is different than in '95.<br>
Not sure what it is but you have to find out<br>
If your program must run in both then you will have to add <br>
You need to find out what the difference is in Win '98.<br>
This is done with the #IF statement<br>
here is an example from Help<br>
Now it reference th MAC but the idea is same<br>
<br>
' If Mac evaluates as true, do the statements following the #If.<br>
#If Mac Then <br>
'. Place exclusively Mac statements here.<br>
'.<br>
'.<br>
' Otherwise, if it is a 32-bit Windows program, do this:<br>
#ElseIf Win32 Then <br>
'. Place exclusively 32-bit Windows statements here.<br>
'.<br>
'.<br>
' Otherwise, if it is neither, do this:<br>
#Else<br>
'. Place other platform statements here.<br>
'.<br>
'.<br>
#End If<br>
<br>
<br>
<br>
<br>
<br>
<p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>
 
As a first step - you might like to try compiling it on w98. <p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top