thomas you wrote this when replying to a quey from someone else .
- Your extension manager code will get called/initialized for EVERY server task loading (main server, router, agent manager, etc.), so if you want it only for the “main server”, check if the calling process is “server.exe”; otherwise get out.
i’m using the c api in c++
this would probably explain why i can see my code being initiazed multiple times on the server console and could never figure out why - i started with the extension manager sample c program and modified that
can anyone explain how i check the calling process to limit the initilization in c++?
and should i be limiting this to server.exe or router.exe (as it only deals with EM_NSFNOTEUPDATEMAILBOX)
source code can be found here if you need more info
thanks