Hi Przemek
Przemysław Czerpak wrote: > > If you have harbour.dll then you can link it with your application > by adding two parameters: > -L<path_to_harbour_dll> -lharbour > MinGW linker can take any DLL and create import library on the fly. > It has also some extensions, i.e. if DLL does not contain any exported > symbols but it has not striped symbol table then it can convert all > public symbols to exported ones. > Ok. This worked as -Le:\mylibs -leztwain3 ( without extension, it is a .dll ) and receive a tons of unresolved externals like hbeztwain.o:hbeztwain.c:(.text+0x6b3): undefined reference to `twain_autoclickbut...@4' hbeztwain.o:hbeztwain.c:(.text+0x6d3): undefined reference to `twain_setimagereadytime...@4' hbeztwain.o:hbeztwain.c:(.text+0x74d): undefined reference to `twain_getextendedinfofr...@24' hbeztwain.o:hbeztwain.c:(.text+0x7d6): undefined reference to `twain_extendedinfostr...@8' hbeztwain.o:hbeztwain.c:(.text+0x84e): undefined reference to `twain_getextendedinfostr...@16' hbeztwain.o:hbeztwain.c:(.text+0x8a6): undefined reference to `twain_extendedinfofl...@8' hbeztwain.o:hbeztwain.c:(.text+0x8e6): undefined reference to `twain_extendedinfo...@8' hbeztwain.o:hbeztwain.c:(.text+0x913): undefined reference to `twain_extendedinfoitemt...@4' hbeztwain.o:hbeztwain.c:(.text+0x943): undefined reference to `twain_extendedinfoitemco...@4' hbeztwain.o:hbeztwain.c:(.text+0x983): undefined reference to `twain_isextendedinfoenab...@4' hbeztwain.o:hbeztwain.c:(.text+0x9c6): undefined reference to `twain_enableextendedi...@8' and like. Whereas in my wrappers I call these functions without "@4" etc suffix. What's that? Regards Pritpal Bedi -- View this message in context: http://old.nabble.com/MINGW---Dll-to-Lib---Command-Syntax-tp26221154p26224627.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
