Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi
I have a sample code in VB6 that I have to convert in VFP6, I am now starting to use com objects and I have no experience
The code use stats.dll (com dll)
The VB6 code is
Set odat=CreateObject("stats.head")
Set orow=CreateObject("stats.data")
odat.GetInfo orow
I convert in
odat=CreateObject("stats.head")
orow=CreateObject("stats.data")
odat.GetInfo(orow)
The code must return a new line from a file every time that is called the function GetInfo.
The problems is that the code in VB6 works in VFP6 do not. Can be the problem in how I call GetInfo
Thank you in advance.
Luigi
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