Dear JonY,
> OK, so linking and running works if done without delay loading? If so,
> it might be a bug in the delay loading code.
Ok. Would you help me to solve it in the source code if it is so?
> For the linker command, show both.
Ok. Here you go:
1) This is the linker command used when compiling my library (Only one version,
as everything different eg gendef / dlltool will happend after this command):
g++ -mthreads -shared
-Wl,--out-implib,c:\Home\Administrator\Documents\PQRRS\PQRRS\Debug\libRELibrary.a
-o ..\..\PQRRS\Debug\RELibrary.dll object_script.RELibrary.Debug
-L"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\lib"
-LC:/Home/Administrator/Documents/PQRRS/PQRRS/ThirdParty/win32/lib -llept.dll
-ltesseract.dll -lzbar.dll -lQtScriptd4 -lQtGuid4 -lQtCored4
2a) This is the link command used for my binary when linking against the
vanilla libRELibrary.a:
g++ -mthreads -shared
-Wl,--out-implib,c:\Home\Administrator\Documents\PQRRS\PQRRS\Debug\libSCLibrary.a
-o ..\..\PQRRS\Debug\SCLibrary.dll object_script.SCLibrary.Debug
-L"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\lib"
-LC:/Home/Administrator/Documents/PQRRS/PQRRS/Debug -lRELibrary -lQtGuid4
-lQtCored4
2b) This is the link command used for my binary when linking against the
delay-loaded libRELibrary.delayed.a:
g++ -mthreads -shared
-Wl,--out-implib,c:\Home\Administrator\Documents\PQRRS\PQRRS\Debug\libSCLibrary.a
-o ..\..\PQRRS\Debug\SCLibrary.dll object_script.SCLibrary.Debug
-L"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\lib"
-LC:/Home/Administrator/Documents/PQRRS/PQRRS/Debug -lRELibrary.delayed
-lQtGuid4 -lQtCored4
JonY, in the case of a bug on delayload, what can i do to help solve it? i
won't be able to post a minimal example reproducing the code, as my project is
confidential, however i would gladly open a RFB port on my router if anyone
needs.
Pierre.
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public