Hello,
I'm working in Visual C++ on .NET and trying to implement a bckgroundworker to write files to the harddisk. It's sort of a performance test.
The problem I currently have is calling the Invoke() methods on my Listbox items to insert text into them from the backgroundthrea d.
I've tried various ways to get it done, but I'm still stuck, everytime getting a different error message.
Right now I have the following code:
I'm a bit clueless what the correct call is to inserting text in my listbox.
I'm working in Visual C++ on .NET and trying to implement a bckgroundworker to write files to the harddisk. It's sort of a performance test.
The problem I currently have is calling the Invoke() methods on my Listbox items to insert text into them from the backgroundthrea d.
I've tried various ways to get it done, but I'm still stuck, everytime getting a different error message.
Right now I have the following code:
Code:
mLogger->Invoke(mLogger->Items->Add, "Background thread started.");