Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing a class inside a dll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Subclassing a class inside a dll
Divers
Thread ID:
00759049
Message ID:
00759049
Vues:
61
Hi,

I have this DLL Standard.dll (that has a tlb file - ConStandard.tlb), I have to instantiate some classes that are defined inside it. I've got and examle in VB.....

1st: Go to Project -> References and check "Palm ComStandard 1.0 Type Library" and "Palm ComDirect 1.0 Type Library".

the code is something like this

Dim pDbQuery As New PDDatabaseQuery
Dim pmemo As PDRecordAdapter

How can I do the same thing with VFP? I am using VFP 7 and the only thing I could do was make intellisense show the components of ConDirect.dll (PDDirectLib) and ConStandard.dll (PDStanrdardLib).

I tryed

DEFINE CLASS PleaseWork AS PDStandardLib.PDAddressDbHHRecordAdapter

but it did not work .......

I am tryng to develop a Palm conduit with VFP, all examples are VB-made, and it is said that any COM compliant language can be used to develop conduits ..... so I'll do it with VFP. ;o)

Please, help! I can not find the right way .....

Thanks, ;o)
Like Frank said: "I did it... MY WAY!"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform