Home > Back-end >  Interface was locked
Interface was locked

Time:10-01

I wrote a small program, includes a TListView, TListView displays the D set of files, drag and drop a TListItem outward from the TListView to the resource manager can realize the function of the copy, but found a problem, if the copy of the file is too large, the interface will be locked (because there is no end of replication), cannot operation, how to break?

CodePudding user response:

This see you how did you write the code that is called system functions or their implementation?

CodePudding user response:

Will feign death multithreading, the main thread,

CodePudding user response:

reference 1st floor KFRGHT response:
this see you how did you write the code that is called system functions or their implementation?


Implementation is to drag and drop with OLE, IDataObject, IDropSource that a few interface, there are other implementation scheme? In the,

Is indeed a thread problem, still need to implement or IDataObjectSyncCapability IAsyncOperation interface,

CodePudding user response:

In multithreaded processing should be able to solve
  • Related