Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create DLL from Session and show existing method
Message
 
 
To
25/02/2009 08:04:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01384014
Message ID:
01384022
Views:
91
This message has been marked as the solution to the initial question of the thread.
If you want to see intrinsic PEMs, don't use Session class.

>
>I am creating dll based on the Session Class.
>I don't wont use custom class and use Hidden keyword.
>I want the ability to show AddProperty which is exist in the vfp session class, but after compiling to dll, only custom PEM are available.
>I know If I change the name of AddProperty to something else such as AddProp, I will see AddProp.
>
>Is there away to show AddProperty?
>
>
>Define Class Printer as Session OLEPUBLIC
>    Function Myfunc && This function is appearing
>    Return "OK"
>    Function AddProperty(ObjectName as Object,PropertyName as String,Value as Variant) && this function is not
>		This.AddProperty(ObjectName,PropertyName,Value)
>    EndFunc 
>EndDefine
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform