Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Supercls error with AExecutant?
Message
 
To
25/11/2002 17:01:05
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00726690
Message ID:
00726882
Views:
19
This message has been marked as the solution to the initial question of the thread.
Hi Chris,

this behaviour is ok :)

Many properties and members of kexecutant are protected, so they are not exposed through the COM interface, when the Executant is compiled into a COM server. Since the Class, Parentclass, etc. properties are protected, Supercls cannot access them from the outside and throws these errors.

If you want to avoid these errors, you can make these properties public, but then they are accesible via COM. If you want to avoid that, you can create a wrapper session class that only exposes the properties and methods that should be accesible (there are only a few). This also has the advantage, that you can use strong typing for the COM interface.

Regards,
Armin

>I was chasing through code and wound up in Aexecutant in Aexecutant.vcx. When I clicked on the Supercls toolbar to edit parent code, it threw a series of errors before responding with the "Superclass code can not be found." wait window.
>
>The messages were:
>Property CLASS not found / Error 1734 / method RefreshObject
>Property PARENTCLASS not found / Error 1734 / method RefreshObject
>Property BASECLASS not found / Error 1734 / method EditSuperClassMethod
>Property READMETHOD not found / Error 1734 / method RefreshParams
>Property BASECLASS not found / Error 1734 / method EditSuperClassMethod
>
>I tried looking through the Supercls code, but the headache that led me to this point is keeping it from making sense. Can anyone confirm this error and explain it to me?
>
>Chris.

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform