hx+win32+fpc 2.4.0 vs loadlibrary+dll (DOSX)
> I ran your test app under a debugger. AFAICS the problem is that your
> dll's DllMain function ( sometimes also called LibMain ) returns -1. HX's
> DPMILD32 expects this function to return 1 on success.
As I understand from Google, there's no way to set up returning 1 from DllMain in FPC :(.
---
% uname -a
Linux eternity 3.0.1-pf #1 SMP PREEMPT Fri Aug 5 21:45:05 EEST 2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz GenuineIntel GNU/Linux
Complete thread:
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 02.01.2010, 13:29
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - marcov, 02.01.2010, 21:21
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 02.01.2010, 22:11
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Rugxulo, 02.01.2010, 23:23
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 03.01.2010, 11:33
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Rugxulo, 03.01.2010, 15:12
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 03.01.2010, 22:46
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Rugxulo, 03.01.2010, 15:12
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 03.01.2010, 11:33
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Rugxulo, 02.01.2010, 23:23
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 02.01.2010, 22:11
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Japheth, 04.01.2010, 10:02
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 12:01
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Khusraw, 04.01.2010, 13:51
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 13:55
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Khusraw, 04.01.2010, 14:25
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 14:31
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Japheth, 04.01.2010, 14:42
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 15:52
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Rugxulo, 06.01.2010, 18:42
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 15:52
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Japheth, 04.01.2010, 14:42
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 14:31
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Khusraw, 04.01.2010, 14:25
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 13:55
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - Khusraw, 04.01.2010, 13:51
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - post-factum, 04.01.2010, 12:01
- hx+win32+fpc 2.4.0 vs loadlibrary+dll - marcov, 02.01.2010, 21:21
Mix view