Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Metalib 5.0 SDK 3rd party dll problem
Message
De
04/08/2006 21:13:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Metalib 5.0 SDK 3rd party dll problem
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01143139
Message ID:
01143139
Vues:
86
Hello,

I just registered the Metalib 5.0 SDK personal version. This is for use on a small personal project that converts stock price information to a common standard format (Metastock).

I am using VFP v 9.0 sp1 and I can instantiate a metalib object but referencing a method of the object generates the following error:

"OLE error code 0x8002801d: Library not registered."

I have registered the library with regsvr32 and this does not fix the problem. You can see it in the object browser just fine.

code snippet
oMetalib = CREATEOBJECT("Metalib.MLWriter") && works fine and gives a reference
cFolder = [All Indexes]
cDir = ADDBS("c:\metastock\"+ALLTRIM(cFolder))
oMetalib.CreateDirectory(cDir)    && this method call produces the error
Web research turned up a KB article about COM servers written in VFP 6, but I do not believe that applies.

any help is appreciated.
Jim Newsom
IT Director, ICG Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform