Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing an object in another COM EXE
Message
De
15/08/2007 11:06:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/08/2007 10:58:35
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01248250
Message ID:
01248253
Vues:
31
>I created a COM EXE that has a non-visual form, an OLE object on the form (WinSock) which references a class in the project (_GDIPlus). What would be the syntax to reference the OLE properties from another EXE? I tried the code below, but it gives an error that it can't find the class (is an OLE a class?).
>
>
>loMyCom = createobject('MyEXE.MyForm.MyOleObject')
>
loMyCom = createobject('MyEXE.MyForm')
loWSock = loMyCom.myOleObject
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform