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 E-mail, Bucharest, Romania, 04.01.2010, 14:25

> http://wiki.freepascal.org/User_Changes_2.4.0#Byte.2FWord.2FLong.2FQwordbool_types
>
> This one? But, in such case, who is right — HX, WinAPI or FPC?

Be aware that various compilers for different programming languages have different definitions for TRUE (AFAIK FALSE is always 0). So it is better to check for 1 or -1 when it is the case, instead of TRUE. Certainly not your fault, but they missed it.

---
Glory to God for all things

 

Complete thread:

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