Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a return value from a FoxPro program
Message
 
 
À
30/04/1999 08:58:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213690
Message ID:
00214191
Vues:
36
Anil,

It really only takes setting the class as OLEPUBLIC

define class MyComServer as custom olepublic
procedure HiThere
return 123
enddef

Build the project as mycom.DLL or mycom.EXE, then instantiate it like any other COM server:

ox = createobject( "mycom.MyComServer" )
? ox.HiThere()

>Sorry, If I am asking a basic question. How can we make a VFP app a COM
>object. Please bear with me as I am new to Wiindows world....
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform