Sign in to follow this  

[C/Win32] DLLs with no LIBs

This topic is 3629 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can you use functions from DLLs that didn't provide LIBs? I've been googling this for quite a while now. The only answer I got was to export DEF files from the DLLs, then convert them to LIBs. I've been using lib.exe, def2lib, makedef, and a whole bunch of other programs like that to accomplish this, and they are all full of bugs and don't work. I'm using VC2008 if that makes a difference. Any help is appreciated.

Share this post


Link to post
Share on other sites
Quote:
Original post by F-Kop
Is there a way to do it without changing or adding any code?
You don't need to change the DLL code at all, just the EXE.

What exactly are you trying to achieve? If the functions are exported from the DLL as mangled names, you can at least get the function signature, but if they're exported as C functions, you'll need to know it. What DLL(s)?

Share this post


Link to post
Share on other sites

This topic is 3629 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this