Once upon a time, [email protected] said: > Does anybody have an idea what the reason could be? Perhaps: since you call the function from an `arbitrary thread`, can I assume this thread is not a `native freepascal` thread? If so, then your problem probably lies in the fact that the TLS for exception handling etc is not yet initialized.
I suggest that you have a look at http://wiki.freepascal.org/Multithreaded_Application_Tutorial#External_threads Hope it helps... -- Ewald _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
