Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ISAPI dll with StarDocs hangs on SignUP
#11
(08-29-2022, 01:04 AM)Alexandre Machado Wrote: I wonder if Startdocs requires COM... That is the only possible explanation

The Isapi dll has in ServerController Cominitialization set to normal.
The question is: why does the login to stardocs fail if done in ServerController.OnCreate, and works ok where done in the Form.OnCreate?
I can leave it there but want to know what is going on. In the exe works ok in the ServerController.OnCreate, in the isapi does not. 
Thanks for the reply.
Best regards,
Alex
Reply
#12
The problem of using it in OnCreate is that every form instance created will go through that process. Is that what you want?

The ISAPI application doesn't do any COM initialization because IIS infrastructure supposedly does that. However, I can't guarantee that all Windows versions behave the same regarding the main and the secondary threads of the process that loads the ISAPI dll.

I would need to test. However it would be valuable to get from the StarDocs developers what are the requirements
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)