|
Post by larrybtoys on Apr 20, 2024 20:03:07 GMT 1
I am writing a new game and when I compile the program which runs fine in the interpreter I get this error. I have the GfaWin23.ocx in the folder the program is getting run from, other compiled programs still run fine and I even tried rebooting the computer and re-compiling the game but still get the error. Please help...TIA Attachments:
|
|
|
Post by dragonjim on Apr 21, 2024 1:26:04 GMT 1
Have you got any Iif statements in your program? If so, check that the second and third parameters do NOT contain functions. This can cause errors when compiling.
|
|
|
Post by larrybtoys on Apr 21, 2024 2:20:37 GMT 1
I will look into that however the compiler runs fine with no errors but the error occurs when I try and run the .EXE
|
|
|
Post by (X) on Apr 21, 2024 3:42:29 GMT 1
Does your code compile and run OK on another PC?
|
|
|
Post by dragonjim on Apr 21, 2024 10:05:47 GMT 1
I will look into that however the compiler runs fine with no errors but the error occurs when I try and run the .EXE Try putting $ManifestOff at the head of he code and compiling again. If error doesn't re-occur with this EXE then your problem may be with your manifest file.
|
|
|
Post by larrybtoys on Apr 21, 2024 12:57:11 GMT 1
It did not run on another PC either. All my other games ran fine on both PCs. I also tried reinstalling GB32 and compiling other games and all worked fine. This morning I had an epiphany right when I woke up (this is common for me). I titled the game Roll & Deal XX.EXE. When I changed the & to the word AND all worked as it should. Crisis over until the next weird thing happens.
|
|
|
Post by (X) on Apr 21, 2024 13:39:52 GMT 1
Yesterday...
I thought of mentioning the &. Honest!
( but then I checked with BING first and it said it was fine.)
Today...
So, I created a "Hello World!" app and included an '&' in the filename...
Compile & Run...
Ah! The 'Side-by-Side Error' appears!
I tried renaming an existing .exe file to include an '&'...
For example: FarnBenchmark.exe to FarnBenchmark & Copy.exe
and this does indeed still work.
Conclusion:
Don't use '&' in the filename while compiling with GB32, you can rename the exe filename later if you want.
This is a worthy Did You Know if I ever did see one!
|
|
|
Post by larrybtoys on Apr 21, 2024 13:58:53 GMT 1
I think just to be safe in the future I will stay away from any of those type of characters in file names. Finding this was a bit exhausting.
|
|
Yaphette
New Member
“GFA-BASIC: My Tool for Unraveling Extraterrestrial Mysteries”
Posts: 3
|
Post by Yaphette on Apr 21, 2024 14:37:07 GMT 1
I was just talking with Xavier and he agreed to let me produce the Did You Know video for this. I will post here soon. I hope you like it.
DID YOU KNOW #13 : GB32 AMPERSAND CONFLICT...
|
|