Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

hx+win32+fpc 2.4.0 vs loadlibrary+dll (DOSX)

posted by Khusraw(R) E-mail, Bucharest, Romania, 04.01.2010, 13:51

> > 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 :(.

Doesn't it have to do with the new implementation of TRUE in FPC?


Complete thread:

Back to the forum
Board view  Mix view
15277 Postings in 1373 Threads, 253 registered users, 13 users online (0 registered, 13 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum