PDA

View Full Version : Big trouble with FILE module



Petr Schreiber
19-03-2007, 10:48
Hi Roberto,

I have serious problem here :(

Try to make EXE from following script:


Uses "FILE"
FILE_LOAD("")


When I will execute it it will say "FILE_LOAD is unknown keyword".
If I run this script from thinAir it works ok,
but in thinBundled EXE it doesn't work.

Bye,
Petr

P.S. Sure I added the module to thinBundle module list. I have problem with script which uses TBGL, UI, OS and FILE.
All modules except FILE are running ok, but when I attempt to FILE_LOAD it crashes with RTE.

RobertoBianchi
19-03-2007, 13:42
Hi Petr,

I try to replicate the problem but I'm not able understand the trouble.
Did you run the executable from a different folder than the BUNDLE EXTRACTION FOLDER?
Please try to run the attached program that runs the following script and let me know.


Uses "FILE"
FILE_LOAD("")
msgbox 0, "Hi"

Ciao,
Roberto

ErosOlmi
19-03-2007, 14:22
Petr,

it was my fault. I've talked with Roberto and found that the automatic process we have to create a thinBasic distribution was not compiling thinBundle in the correct way. I'm amending the procedure and update current thinBasic again.

Sorry.
Eros

Petr Schreiber
19-03-2007, 20:34
Hi Eros,

no problem as my "victim" does have thinBASIC installed :D
I was just wondering why it was wrong just with this module.

Bye,
Petr