User forums > Using Code::Blocks

why application can not find wxmsw28u_gcc_cb.dll?

<< < (2/3) > >>

surefire:
Code::Blocks how to decide it should link to wxmsw28u_gcc_cb.dll other than  wxmsw28u_gcc_custom.dll?

devilsclaw:
you have to compile that dll as a lib instead.. and tell the linker to link against it. then its code will be inside or your program.

Biplab:
First, I gave a confusing answer last time. Sorry for that.


--- Quote from: surefire on April 01, 2007, 06:42:39 am ---Code::Blocks how to decide it should link to wxmsw28u_gcc_cb.dll other than  wxmsw28u_gcc_custom.dll?

--- End quote ---

You need to link your app against proper import library. In this case, I believe you are linking against a different import library.

When you create a dll an import library is created. If you link your app against that import library. The app will ask for that specific dll. If you supply a different dll to it, it may refuse. This is what is happening with you.

surefire:
thanks to all you , my question has been solved.

Master Lexx:
I am new to this. So how can I compile wxwidgets as lib so I don't need this 50 MB wxmsw28ud_gcc_custom.dll ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version