my server programm is ole automation server.
my client logon with attachdispatch.
when i call a function from a worker thread like
myserver.doanything i receive an error.
did anybody no why and how i have to prgramm this
function call.
Printable View
my server programm is ole automation server.
my client logon with attachdispatch.
when i call a function from a worker thread like
myserver.doanything i receive an error.
did anybody no why and how i have to prgramm this
function call.
Hi,
Are you initializing Ole within your worker thread? You may need to call OleInitialize or AfxOleInit() from your thread if you are not doing so. Can you tell us the error message you are getting?
Regards,
Renga.
thanks Renga
can you send me a piece of code in which you initialize Ole in the thread function.