Al Boldi wrote:
melchiorre caruso wrote:
Al Boldi wrote:
So it's either an fpc or windows issue.
Can you statically link it on windows, and see if it make a difference?
I have statically linked library to application with this results
Library.MainBlock MainThreadID = 3496
Library.MainBlock CurrentThreadID = 3496
Library.CreateMyThread MainThreadID = 3496
Library.CreateMyThread CurrentThreadID = 3496
Thread MainThreadID = 3496
Thread MainThreadID = 3852
on windows, the static and dynamic link have the same result.
Sure, the threadIDs are ok, but you probably have a problem with the windows
specific implementation of synchronize. As I am not on windows, maybe
somebody from the fpc team can help out here.
With delphi my example does not work.
If you send to me the code that works with linux,
I can try; I installed debian also.
Thanks!
--
Melchiorre
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives