error "The stub received bad data" while calling CreateInstance function
-
Hai friends, I am get an error "The stub received bad data" while calling CreateInstance function. But some times its working. I am using a COM Exe as server. I am using a regular dll to call the interface functions of COM Server. I am getting this error in dll.I had registered the COM Exe using regerver. OS installed : WindowsXP Service Pack 2 Platform : VC++6.0 Service Pack 6 Can anybody help me to solve? With regards, appoos
Known is a drop, unknown is an ocean
-
Hai friends, I am get an error "The stub received bad data" while calling CreateInstance function. But some times its working. I am using a COM Exe as server. I am using a regular dll to call the interface functions of COM Server. I am getting this error in dll.I had registered the COM Exe using regerver. OS installed : WindowsXP Service Pack 2 Platform : VC++6.0 Service Pack 6 Can anybody help me to solve? With regards, appoos
Known is a drop, unknown is an ocean
Hello, 1. Have you initialized all your variables inside com server? Some memory garbage can cause the problem 2. It can be some timing problem with initialization. Try to play with some delays (just use Sleep(…)) inside constructor and FinalConstruct() method of your exe com server. Regards,