Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Declaring a variabel of type class
How do I declare a variabel of the type ref to a
class. I have a ActiveX control which returns a ref
(pointer) to a class like this :
Thisform.GetClient(0, Class_variabel)
The Getclient function returns a pointer but i guess
it has to be defined/declared before use or ????
I have tried the following : (tried a lot but this is my last attempt)
Class_variabel = ""
Thisform.GetClient(0, @Class_varibel)
with a error :
OLE error code 0x80020005 : Incorrect type
I'm really in the dark here cause I don't have my books
a the present location where I'm at (s...).
Regards
Novo Nordisk A/S
Denmark
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement