Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set intellisense of an object in a DLL
Message
De
10/09/2003 09:56:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to set intellisense of an object in a DLL
Divers
Thread ID:
00827831
Message ID:
00827831
Vues:
56
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform