Home > Back-end >  Delphi to switch between the threads DLL
Delphi to switch between the threads DLL

Time:09-25

Delphi development client main program, calling a DLL [form], and a thread in the DLL, and then open the client in another DLL [form], thread DLL, then cut back to kai is an error, error content is as follows:
Project mainform. Exe raised exception class EAccessViolation with message 'Access violation at address 4013 d258 module in' vcl60. BPL '. Read of address 00000004 '. Process stopped. Use Step or Run to continue.

CodePudding user response:

The great spirit guide

CodePudding user response:

No one's help

CodePudding user response:

The reason is too complex, the building Lord himself

CodePudding user response:

VCL itself does not support multi-threading, you can't direct operation in a thread VCL object properties, such as need to use SendMessage methods to pass

CodePudding user response:

Threads and DLL are two concepts, how to switch?
  • Related