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.
Can You send to me the source that runs correctly on linux?
Btw, I'm try with delphi.

--
Melchiorre

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to