Home > Back-end >  Pray god to solve cxGrid multithreading abnormal imported images
Pray god to solve cxGrid multithreading abnormal imported images

Time:01-28

The great god, I am now delphi7 + cxgridDBTableView, SQL query commodity information, and then in the first column import local commodity information of images, each query article 60 goods record, import a maximum of 60 tickets local picture, but without the aid of multithreading, pictures have to wait a few seconds to import finished, with Application. ProcessMessages; Will be stuck, after using multithreading, images can be instant all import and display, but always appear the Access violation at address XXXXXXXXXX mistake, use the try the except can't catch caught with the WaitForSingleObject also useless, a great god, please advice, thank you!!!
  • Related