[fpc-pascal] Error on closing application when using a library.

fredvs fiens at hotmail.com
Thu Mar 30 23:47:04 CEST 2017


One of my application use libgcc_s_dw2-1.dll.
Sadly, on Wndows 10 I've got "Runtime Error!", when closing the program.

The dll is working but this appends if libgcc_s_dw2-1.dll is static or
dynamically loaded.

This is the message after closing the error-panel:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files (x86)\myprog.exe
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information.

Googling did not help.

I have tested with others pre-compiled libgcc_s_dw2-1.dll but same error
message wen closing the application.

PS: On win7, winxp, wine ---> no problems.
PS2: Aaaargh win10.

Thanks for light.


Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Error-on-closing-application-when-using-a-library-tp5728045.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list