Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Metalib 5.0 SDK 3rd party dll problem
Message
From
04/08/2006 21:13:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Metalib 5.0 SDK 3rd party dll problem
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01143139
Message ID:
01143139
Views:
85
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.
Next
Reply
Map
View

Click here to load this message in the networking platform