Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Problem with a message box

Hi my name is Alberto , I'm new to this forum...
I'm still developing to a tapi service proveder in visual c++. This tapi service provider is a static library that is executed in svchost.exe and I want to pop up a message box when this tsp is called from a tapi application as outlook. How can I do?
I try to create a my CDialog or to use the afxMessageBox but don't go.

Please help me!!Thanks!! :confused:
[438 byte] By [Castello] at [2007-11-11 7:55:13]
# 1 Re: Problem with a message box
When you create the service in the Service Control Manager (SCM) you have to specify that your service is an interactive services by specifying the SERVICE_INTERACTIVE_PROCESS flag in the service type. Note, there is a global registry key that allows windows to disable all interactive services. Search MSDN for the article 'Interactive Services' under the DLLs, Process & Threads documents.

Cheers,
Mike
marsigme at 2007-11-11 21:01:43 >
# 2 Re: Problem with a message box
Ok...thanks I try with this! :rolleyes:...I hope that will go
Castello at 2007-11-11 21:02:49 >
# 3 Re: Problem with a message box
I tried and it works!!! :D Thanks a lot
Castello at 2007-11-11 21:03:48 >