Click here to Skip to main content
15,916,188 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All

do you have any Idea regarding finding of the entry point for a COM API to access its functions.
i am using the following code in a C# project


[DllImport("C:\\Program Files\\Readsoft\\FORMS\\Bin\\Interop.VWRUNTIMELib.dll")]
public static extern string OnAppStart();

when i use this function it Gives me Error that
unable to find Entry point OnAppStart() for DLL "C:\\Program Files\\Readsoft\\FORMS\\Bin\\Interop.VWRUNTIMELib.dll"

please guide me that how i can funcd the entry point for this or if you have any other suggestion....

thanks & Regards
Suresh KHarod
Posted

You could find all exported functions using this tool[^] :)
 
Share this answer
 
If it's a COM DLL, why not just add a reference like you would for a .Net Assembly?

To me this seems a far safer and easier way of accessing the API (unless you have a specific aim in mind).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900