Not really a problem, just a question.
I have a procedure which really needs to be done in a thread (to prevent the app from 'hanging'), and I want this in a DLL so I can easily update it if required. But should I create the thread from within the DLL, (my app calls the dll) or is it better to create a thread in my app which calls the DLL function?
In the end it will probably be the simplest, most obvious thing that I was doing wrong...
I have a procedure which really needs to be done in a thread (to prevent the app from 'hanging'), and I want this in a DLL so I can easily update it if required. But should I create the thread from within the DLL, (my app calls the dll) or is it better to create a thread in my app which calls the DLL function?
In the end it will probably be the simplest, most obvious thing that I was doing wrong...