Information générale
Catégorie:
Programmation Orientée Object
>>I want to create a simple .dll from VFP 6.0. All I want is a property I can set containing the name and path of a .dbc file. And a method to pack it. (I'm testing something)
>>
>>I've never made a .dll before, but I've found how to create it (olepublic I think) I created a simple container with the property and method, put it in a project and compiled as a .dll
>>
>>I want to call it from VB, but I'm not sure what to do next? Any help would be appreciated.
>>
>>Robert
>
>When you compiled your .DLL with olepublic set VFP should have registered the COM for you. All you need to do now is call it from VB with
>SET ox = CREATEOBJECT("yourcom")
How simple, I'll try it. Thanks.
Précédent
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