Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COMCodebook App Crashes on Win98 SE
Message
From
08/09/2002 13:31:36
 
 
To
08/09/2002 11:36:22
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Miscellaneous
Thread ID:
00698033
Message ID:
00698049
Views:
14
Try releasing loResourceMgr before setting it to NULL.

COM Codebook applications do not require MTS/COM+.

FYI, you can install MTS on a Win98 machine. It is installed by running the NT4 Option Pack. (yes, you read that correctly).


>Hi to all
>
>I have created a COMCodebook Application in VFP7&SP1 on my WinXP Pro machine.
>
>Then i have installed the application in my client machine (PC with Win98 SE), run it, the application crashes.
>
>After i did some searching and testing in the clients machine i found out that the application crashes every time i set a object variable to .NULL.:
>
>***************************
>* MAIN.PRG
>***************************
>AppObject = CreateObject("CApplication")
>.
>
>
>***************************
>* Application Object Class
>***************************
>DEFINE CLASS CApplication AS Session
> Patients = .NULL.
>
> Procedure Init()
> Local loResourceMgr As CashResourceMgr.Patient
>
> loResourceMgr = CreateObject("CashResourceMgr.Patient")
> This.Patients = loResourceMgr.GetProxy()
> loResourceMgr = .NULL. * <-------- C5 error
> EndProc
>ENDDEFINE
>
>Thanks for any advise
>
>PS. Can COMCodebook components run under Win98 SE or only under MTS/COM+?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform