Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How statically link lcc compiled DLL with Microsoft Visual C++?

73 views
Skip to first unread message

slav...@gmail.com

unread,
Feb 12, 2008, 8:18:14 AM2/12/08
to
I think it might be procedure looks like used than link VC++ compiled
DLL with lcc (pedump + buildlib) but with another tools. Unfortunately
I did not find any information about.

Friedrich Dominicus

unread,
Feb 12, 2008, 11:35:34 AM2/12/08
to
"slav...@gmail.com" <slav...@gmail.com> writes:

Something does not fit the picture. You do not link a DLL statically
to a system. What you might want is building a static library and link
against it, that is easy done. Just build the static library with
lcc-win32 and then just add the static library to the link stage of
the MSVC project.

Regards
Friedrich

--
Please remove just-for-news- to reply via e-mail.

Message has been deleted

slav...@gmail.com

unread,
Mar 4, 2008, 10:13:47 AM3/4/08
to
On 12 фев, 17:35, Friedrich Dominicus <just-for-news-fr...@q-software-
solutions.de> wrote:

I mean implicitly link to a lcc compiled DLL. I don't have source
code, I only have a header, DLL and .lib file. But linking with MSVC++
using that .lib file is impossible.

Friedrich Dominicus

unread,
Mar 5, 2008, 12:26:35 AM3/5/08
to
"slav...@gmail.com" <slav...@gmail.com> writes:


>
> I mean implicitly link to a lcc compiled DLL. I don't have source
> code, I only have a header, DLL and .lib file. But linking with MSVC++
> using that .lib file is impossible.

I see that is something completly different. The DLL was compiled with
lcc-win32 and you know like to use it, but you do not have access to
the sources. Then you have to use LoadLibrary and GetProcAddress to
fetch out the functions you like to call. You just have to see that
you use the proper name from the DLLs you can check the names with the
pedump utilitiy.

0 new messages