|
-
Aug 28th, 2001, 11:02 AM
#1
Thread Starter
Hyperactive Member
Environment vs. EXE
I have a program that is producing a Windows Illegal Operation error in itself when executing a certain line of code.
When I run the program in the environment, the variables contain the right numbers and the program executes properly.
Then I compile and run the stand-alone EXE and when it runs this exact operation I get a Windows Illegal Operation Error. The program caused a fault in itself at registers etc. etc.
Anyone know why it works flawlessly in the environment, but errors when run as a stand alone????
Any leads or information would be helpful and greatly appreciated...
thanks!
"If I had known it was going to be that kinda party, I would have stuck my disk in the mash potatos!"
-
Aug 28th, 2001, 11:42 AM
#2
Frenzied Member
Just a thought, but if you unchecked any options in the advanced optomizations in the compile options, check them again. That may be the problem...
You just proved that sig advertisements work.
-
Aug 28th, 2001, 03:14 PM
#3
Thread Starter
Hyperactive Member
Thanks for the info. I am not multithreading. There is however and STOP statement in one part of my code, but this code is not executed at anytime when the error occurs.
Also, it seems that the error is occuring when using the CALL statement. I put a break where it was faulting and stepped over that line... but it crapped out the same way when it hit another CALL statement.
thanks again...
any help appreciated!!!
"If I had known it was going to be that kinda party, I would have stuck my disk in the mash potatos!"
-
Aug 28th, 2001, 03:17 PM
#4
Frenzied Member
-
Aug 28th, 2001, 04:01 PM
#5
Thread Starter
Hyperactive Member
I am calling another public sub.. like so:
Call Circular
the other one it crapped out on when I stepped over the above one was this:
Call frmMain.CleanUp
thanks again...
"If I had known it was going to be that kinda party, I would have stuck my disk in the mash potatos!"
-
Aug 28th, 2001, 04:12 PM
#6
Frenzied Member
Try erasing CALL and just writing the sub name.
ex:
Circular
or
frmMain.Whatever
-
Aug 28th, 2001, 04:35 PM
#7
Thread Starter
Hyperactive Member
i'll try it... thanks again!!
"If I had known it was going to be that kinda party, I would have stuck my disk in the mash potatos!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|