Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Error
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
COM Error
Miscellaneous
Thread ID:
00562326
Message ID:
00562326
Views:
52
Hi all

I have created a olepublic COM DLL which works as predicted on my development PC.
However when I install, register and try to run it on another PC I get the following message:

OLE error code 0x80029c4a: Error loading type library/DLL.


There is no code in the Init event, the DLL is used to create a new record in a VFP Application from Visual Basic.

There are a number of properties such as Path, Company, Address1 etc which are first populated and then a WriteNew method which should create the new record.
The error happenens on the second line :

loCris=createobject('crisdll.crisrec')
loCris.path='c:\develop\cris\data\'
loCris.company='ASK Technology Limited'
loCris.add1='3050 Lakedrive'
loCris.add2='Citywest Digital Park'
loCris.add3='Saggart'
loCris.add4='Co. Dublin, Ireland'
loCris.prefix='Mr'
loCris.first='Kevin'
loCris.last='Delaney'

loCris.writenew



Also tried this example http://fox.wikis.com/wc.dll?Wiki~COMComponentExample and had problems.

Please help!!!!!!!!
Kevin Delaney
Financial Systems Manager
CPL Solutions Ltd

83 Merrion Square, Dublin 2, Ireland.
e: kevin.delaney@cpl.ie w: www.cpl.ie
p: +353 1 482-5368
Next
Reply
Map
View

Click here to load this message in the networking platform