Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODeLoader
Message
From
10/01/2000 12:54:22
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00315463
Message ID:
00315602
Views:
21
>Kevin,
>
>Can createobj ever return a logical value? I don't think so, but the first wait window is telling me that the type is 'L'. Even more curious is that everything runs fine in debug but not in the exe. Maybe I should re-install Foxpro? I am going to try re-installing the Framework first.
>
>
>

>*---------------------------------------------------
>*--- If a data environment class has been specified,
>*--- instantiate the class.
>*---------------------------------------------------
>IF !EMPTY(This.cDataEnvironment)
> This.oDataEnvironment = CREATEOBJECT(This.cDataEnvironment)
> wait wind "The type is " + TYPE('This.oDataEnvironment')
> llRetVal = (TYPE('This.oDataEnvironment') == 'O')
> IF llRetVal
> Wait wind "Success"
> ELSE
> Wait wind "Failure"
> endif
>ENDIF
>


Kevin,

I re-installed the framework and traced the code to hell and back, but I cannot explain why the gosh-darn thing fails in the compiled exe but not in debug. There just does not seem to be any logical explanation. The dataevnrionment opens my cursor, but oDataEnvironment is not being created. Something is returning false, but I can't figure out what. I think I'm about to pull my hair out and break down in tears.
Previous
Reply
Map
View

Click here to load this message in the networking platform