By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Retriving method names or entry points from a Dll file

P: 11
I have some dll file. These are compiled with VC6.
Now I want to create .NET 2.0 wrapper for these dlls. but unfortunately I don't know about the entry points in the dll files. If I could know the entry points, I would have interfaced it with C# by [DllImport] attibute.
Now My question is, How can I retrive the entry points of an arbitary dll file ?
Thanks in advance
Jun 16 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,197
Use GetProcAddress().


Obviously you will also need to use LoadLibrary() and FreeLibrary().
Jun 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.