Com interface call takes delay in returning
-
Hai, I am using two COM server Exe's with MFC support. In my working environment a MFC application will call the COM interface of my COM server 1. And my COM server 1 calls the interface of my COM server 2( This application has a window ). On entering the interface call of COM server 2, i had logged that information into a file. I had also logged the information while exiting that interface call from COM server 2. In COM server 1, I had put a log just after this interface call (Interface call to COM server 2 ) Issue :- While analysing the log i had found that the interface call of COM server 2 is returned ( By analysing the IN and OUT log that is logged in COM server 2 ). But the log i had put in COM server 1 just after this interface call is not logged. But if I clicked on the window of COM server 2 or MFC application. The log that is put after the interface log is logged. Can anybody help me? Regards, appoos
Known is a drop, unknown is an ocean
-
Hai, I am using two COM server Exe's with MFC support. In my working environment a MFC application will call the COM interface of my COM server 1. And my COM server 1 calls the interface of my COM server 2( This application has a window ). On entering the interface call of COM server 2, i had logged that information into a file. I had also logged the information while exiting that interface call from COM server 2. In COM server 1, I had put a log just after this interface call (Interface call to COM server 2 ) Issue :- While analysing the log i had found that the interface call of COM server 2 is returned ( By analysing the IN and OUT log that is logged in COM server 2 ). But the log i had put in COM server 1 just after this interface call is not logged. But if I clicked on the window of COM server 2 or MFC application. The log that is put after the interface log is logged. Can anybody help me? Regards, appoos
Known is a drop, unknown is an ocean
appoos wrote:
Issue :- While analysing the log i had found that the interface call of COM server 2 is returned ( By analysing the IN and OUT log that is logged in COM server 2 ). But the log i had put in COM server 1 just after this interface call is not logged. But if I clicked on the window of COM server 2 or MFC application. The log that is put after the interface log is logged. Can anybody help me?
Are you sure that the log function you use on COM server one produces instant results? It's a common practice to just store information untill the right occasion comes up to complete the write. I would also look at how the call between the COM servers works. Their might be some problem in that. Nathan