Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set intellisense of an object in a DLL
Message
From
10/09/2003 09:56:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to set intellisense of an object in a DLL
Miscellaneous
Thread ID:
00827831
Message ID:
00827831
Views:
58
Hi all,

How do I make intellisense work in this scenario. Assume that the DLL is already registered.
* MTDLL file: MyDLL.dll
define class myClasses as session olepublic
   * add object err as exception  && does not work on a session class
   err = null
   proc init
      this.err = createobject('exception')
   endproc
   func Class1()
      try
         error(1)
      catch to this.err
      finally
      endtry
   endfunc
enddefine

* Implementation:
o = createobject('MyDLL.myClasses')
o.Class1()
? o.err.Errorno  && err does not trigger intellisense!
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform