Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whats wrong in this code to generate C0..05
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Whats wrong in this code to generate C0..05
Miscellaneous
Thread ID:
00815271
Message ID:
00815271
Views:
36
Hi all

In my app class Init():
	IF THIS.lMinToSysTray
		SET LIBRARY TO bbsystray.fll ADDITIVE

		_SCREEN.ADDPROPERTY("oSH")
		_SCREEN.oSH = CREATEOBJECT("ScreenHook")
	ENDIF
In the app class Destroy()
IF THIS.lMinToSysTray
	_SCREEN.oSH = .NULL.

	RELEASE _SCREEN.oSH

	RELEASE LIBRARY bbsystray.fll
ENDIF
When this code is executed based on .T. of the flag on exiting the application I generate a C0..05 but when this code is not executed (.F.) then no errors are generated.

So I guess something is wrong with this code.

What am I doing wrong. Please advise.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform