From: Earnie <ea...@us...> - 2010-05-27 11:21:42
|
relet wrote: > > Dear all, > > I was trying to use methods from a .dll (which I currently have only in > binary form, either as .dll or .lib) in my code. To that aim, I have tried > to either include the dll in the linking process directly, or to create a > helper library using pexports and dlltool. I must be making some trivial > error somewhere, and would be glad if you could help me out. > Just use the dll as the library you don't need the import file. gcc -L /path/to/foo.dll bar.o -l foo -c bar.exe -- Earnie -- http://www.for-my-kids.com |