catastrophic-failure

COM method call returns Catastrophic Failure

Note: Pass BSTR variable to COM method, HRESULT return is 8000FFFF Previous calls with interface pointer, was successful: HRESULT is 0 Execution, inside Visual Studio succeeds, outside fails - release and debug Illustration: const char *simFile; simFile = new char; //omitted _bstr_t simFileToOpen(simFile); BSTR raw_sim_Open = simFil...

COM method call returns Catastrophic Failure when BSTR is passed

Revised from previous question Note: Pass BSTR variable to COM method, HRESULT return is 8000FFFF Previous calls with interface pointer, was successful: HRESULT is 0 Execution, inside Visual Studio succeeds, outside fails - release and debug Illustration: BSTR raw_sim_Open = SysAllocString (L"c:\\example.S8"); hresult = pis8->raw_...

How do I restore this script after a hardware failure?

Hi there, I know this is a bit generic, but I'm sure you'll understand my explanation. Here is the situation: The following code is executed every 10 minutes. Variable "var_x" is always read/written to an external text file when its refereed to. if ( var_x != 1 ) { var_x = 1; // // here is where the main body of the script ...

WCF Catastrophic Failure

Hi, I've got a real lemon on my hands. I hope someone who has the same problem or know how to fix it could point me in the right direction. The Setup I'm trying to create a WCF data service that uses an ADO Entity Framework model to retrieve data from the DB. I've added the WCF service reference and all seems fine. I have two sets of ...