Back to my problem:

i found out that adding: Application.Initialize avoids the access violation but introduces a bounds check error. Anyway Delphi works without the need to add Application.Initialize so it must be possible.

I've already compared the constructor Application.Create and found out, that Delphi does not create a handle if it is a library. In LCL this part looks quite different. Also after a search on the forum I found out, that in Delphi the "Application" of the host is used (or at least its handle) instead of creating a new Application.

Just let me know if anyone knows more,

    Christian

Reply via email to