Hello,
I just developed a soft using the desketop API in Delphi.
The class "THooks" imported from the winsig.tlb works, I could easily retrieve data in real time during my first tests using the THooks.requestSymbol method and the OnQuoteChanged event... but something quite frustating happened.
While the THooks.RequestSymbol method works well when it is called from a "button event", any call of the same THooks object from any other part of the soft is raising the exception "CoInitialize was not called".
What is this CoInitialize ? I didn't find anything on this in the doc.
Could you help me ?
I just developed a soft using the desketop API in Delphi.
The class "THooks" imported from the winsig.tlb works, I could easily retrieve data in real time during my first tests using the THooks.requestSymbol method and the OnQuoteChanged event... but something quite frustating happened.
While the THooks.RequestSymbol method works well when it is called from a "button event", any call of the same THooks object from any other part of the soft is raising the exception "CoInitialize was not called".
What is this CoInitialize ? I didn't find anything on this in the doc.
Could you help me ?
Comment