Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using COM object
Message
From
07/06/2009 12:05:59
 
 
To
07/06/2009 11:51:19
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01404188
Message ID:
01404235
Views:
39
>hi there,
>the getappname() line returns the error
>
>
>thanks

Look at Rick's notes on late binding (it doesn't matter whether or not it's a dotnet com dll):

http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp
http://www.west-wind.com/presentations/dotnetfromVfp/DotNetFromVfp_MultiThreading.asp

I interface with a com dll that uses late binding and I can still see the methods and props in the object explorer. Have you browsed to the associated .tlb file on the hard drive and loaded it in the VFP Object browser? Is the .tlb file located in the same directory as the .dll you registered? Look at the /tlb switch with the regasm command if necessary.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform