Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access class method in .net dll from VFP9
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01311979
Message ID:
01312050
Views:
24
I created the .tlb myself and in the object explorer, I can see the standard methods:

AddRef
GetDsOfNames
GetTypeInfo
...

I don't see the methods I need to access...


>>Sheesh, when I try to open the .dll, it returns "The selected file is either invalid or not a type library" and it doesn't show up in the COM libraries list. I thought the registry entries showed that it was registered correctly for a .net COM component...
>>
>
>Is there a TLB file in the same directory as the DLL? If so, you could open that instead. If not, you can tell REGASM to generate one for you (at least I think this will work) using the /tlb:Filename switch.
.·*´¨)
.·`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