Call this function code is: the network RunAnalysis (" zz ", "vc call", "SS", FALSE, FALSE);
Tracking in function source code is
Cstrings IDE_Doc: : RunAnalysis (LPCTSTR sOwner, LPCTSTR sDescription, LPCTSTR sAnalysisCode, short shtHeatTransfer, short shtComponentInteraction)
{
Cstrings result;
The static BYTE parms []=
VTS_BSTR VTS_BSTR VTS_BSTR VTS_I2 VTS_I2;
InvokeHelper (0 x9, DISPATCH_METHOD, VT_BSTR (void *) & amp; The result, parms,
SOwner sDescription, sAnalysisCode shtHeatTransfer, shtComponentInteraction);
return result;
}
Under debug output for:
Thread 'Win32 threads (0 x88c) have withdrawn, the return value is zero (0 x0),
"Dll_ss. Exe:" loaded "ImageAtBase0x10050000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x8440000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x10050000
""Dll_ss. Exe:" loaded "ImageAtBase0x5bcb0000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x8500000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x5bcb0000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Flowmaster Analysis. FluidProperties. DLL", not using the debug information generated binaries,
"Dll_ss. Exe:" loaded "ImageAtBase0x5bca0000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x8540000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x5bca0000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Flowmaster. External FluidProperties. DLL", not using the debug information generated binaries,
"Dll_ss. Exe:" loaded "ImageAtBase0x5bc90000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x8550000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x5bc90000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Flowmaster Scripting. DLL", not using the debug information generated binaries,
"Dll_ss. Exe:" loaded "ImageAtBase0x5bc70000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x8560000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x5bc70000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Flowmaster LibraryAccess. DLL", not using the debug information generated binaries,
Thread 'Win32 threads (0 x1310) have withdrawn, the return value is zero (0 x0),
(here to perform and 30 seconds to jump)
"Dll_ss. Exe:" loaded "ImageAtBase0x5b9e0000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0xd240000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x5b9e0000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Flowmaster Analysis. The Models. The DLL", not using the debug information generated binaries,
"Dll_ss. Exe:" loaded "ImageAtBase0x5b9b0000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x6380000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x5b9b0000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Flowmaster Analysis. The Controllers. The DLL", not using the debug information generated binaries,
"Dll_ss. Exe:" loaded "ImageAtBase0x6630000", not any symbol,
"Dll_ss. Exe:" loaded "ImageAtBase0x6660000", not any symbol,
"Dll_ss. Exe:" unloaded "ImageAtBase0x6630000
""Dll_ss. Exe:" loaded "C: \ Program Files \ (x86) Flowmaster \ FlowmasterV7 \ Interop MSScriptControl. DLL", not using the debug information generated binaries,
"Dll_ss. Exe:" loaded "C: \ Windows \ SysWOW64 \ msscript ocx"
"Dll_ss. Exe:" loaded "C: \ Windows \ SysWOW64 \ vbscript DLL"
Tracking in
//make the call
SCODE sc=m_lpDispatch - & gt; Invoke (dwDispID IID_NULL, 0, wFlags,
& Dispparams pvarResult, & amp; ExcepInfo, & amp; NArgErr);
Is mainly the function call takes a long time, and whether the compiler can repay an unhandled exception COleDispatchException
According to my previous experience the teacher, the process should be as long as a second or two, but I like to perform a speed is too slow,
Due to frequent calls in your code, so definitely not reality, excuse me everybody, know that this is what reason, thank you very much,
CodePudding user response:
Excuse me what reason is this? Got several days do not have what idea, interface is encapsulated couldn't open to see what's inside, is what needs to be set in the software, or VS what you need to import or use the OLE controls Settings? Hope have the relevant experience of the comrades to give directionsCodePudding user response:
Interfaces are packaged can not open the COleDispatchDriver is where come of?Exception must be taken down and report to the user (for example, lets users choose to retry or cancel), abnormal contains messages also help in the diagnosis of the reason,
CodePudding user response:
Capture COleDispatchException, see whether there is an error message,Or output parameters passed to control the provider to help analysis