Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-05

Demo threads.pp can't run

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zhong Wang

Hello, everybody

I installed the latest CVS snapshot of fpc, and tested the threads.pp. It
compiled but when running give the following message:

This binary has no thread support compiled in.
Recompile the application with a thread-driver in the program uses clause.
Runtime error 232 at $0804AE5B
$0804AE5B
$0804AE84
$0804AB0F
$0804AAD3
$08059144
$08081396
$08081403
$080480B0

What's the matter? Can anyone help me?
Thank you so much,
Yours,

_________________________________________________________ Do You Yahoo!?
嫌邮箱太小?雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html

Zhong Wang

Ok, I found the email about this problem.

Threads can be supported with two points:
1. {$THREADING ON}
2. cthreads be the first unit to use

Next time I should search in the mailing list before ask.

BTW, the test program in CVS threads.pp can't work because the above problem. It's should be upgraded.

Yours,

_________________________________________________________ Do You Yahoo!?
嫌邮箱太小?雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html