Dear Experts
First of all sorry for this strange question, but please keep in mind I’m a completely noob in Web developing. In this situation I have to give a hand to Web developer to use some special algorithms which I can provide only in W32.
My idea was/is to support a W32 DLL which can be called by the Web Part. So far so good but if I think more about this, I stick completely.
Assume I support a W32 DLL with a method
"char* DoRequest(char* XMLUTF8Data)"
receiving the input as XMLUTF8Data(RQST= "DoThis" or RQST= "DoThat") and returning the result also as XMLUTF8Data.
Still, so far so good. But assume now my DoRequest needs several minutes to process certain request. So I cannot block the Web Part for several minutes. Also I like to give the Web Part the chance at least to poll the current progress (I know polling is bad, but I have no other idea at the moment).
Therefore next idea: Ok Web Part gives me a unique "Transaction ID" for a DoRequest(RQST= "DoThis", TID= "xyz") which needs long processing time and my DoRequest returns immediately. Web Part can afterwards poll the progress with DoRequest(RQST= "ProgressDoThis", TID= "xyz"). But to hold a list of pending transactions I need to be sure that always one and the same W32 DLL Instance will be called. How can I guarantee this? And also always the same DLL instance means process parallel requests I have to organize by myself... Or do I have to go the harder way and pass all requests to a process?
My feeling is, I’m completely on a wrong way / wrong design. Can anybody give me an input in which direction I have to go?
Thank you very much in advance.
Regards
N.B: Web Server is MS- IIS
What I have tried:
Read a lot of documents about Web stuff (WebServices, IIS and lot more) but I am flooded by all the Information and don't find a clear way :(