Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release Class successfully
Message
From
01/03/2002 08:35:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Release Class successfully
Miscellaneous
Thread ID:
00626915
Message ID:
00626915
Views:
44
Hello,

I try to do the following:
lcDefFile = FORCEEXT(SYS(2015), "PRG")
*
TEXT TO lcDefineClass TEXTMERGE NOSHOW
	DEFINE CLASS PreviewWindow AS Form
		SHOWWINDOW = 1
		DESKTOP = .T.
	ENDDEFINE
ENDTEXT
STRTOFILE(lcDefineClass, lcDefFile)
*
loPreviewWindow = NEWOBJECT("PreviewWindow", lcDefFile)
loPreviewWindow.SHOW()
*-- some work done here			
*-- Here I need to find the proper way to close the
*-- references.
*-- I try to get rid of the outstanding references but
*-- this does not work.
RELEASE loPreviewWindow
*-- This will give an error: Procedure file ... not found.
*-- RELEASE CLASSLIB (FORCEEXT(lcDefFile, "FXP"))
ERASE (lcDefFile)
*-- The next one gives an error, Outstanding references...
ERASE (FORCEEXT(lcDefFile, "FXP"))
Can somebody help me here?
Christian Isberner
Software Consultant
Next
Reply
Map
View

Click here to load this message in the networking platform