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")
cFolder = [All Indexes]
cDir = ADDBS("c:\metastock\"+ALLTRIM(cFolder))
oMetalib.CreateDirectory(cDir)
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.