I created a Unit Operation (MixerSplitter ) in Visual Studio without ATL and registered it using the command shell and regsvr32. When adding this unit operation to a flowsheet in COFE, the behaviour changes depending on if I select 'Enable Logging' in COLTT 2.2 or not.
In case I DO select 'Enable Logging', I can add my unit operation, connect streams, the unit validates, and at last the flowsheet fails during the calculation (COFE error message: "Solve failed:failed to solve unit UnitOperation_2: calculate failed for unit UnitOperation_2: PH flash calculation failed: CalcEquilibrium failed: CalcEquilibrium failed: CalcEquilibrium failed:Invalid flash specification: Unsupported flash specification 2").
When I DO NOT select 'Enable Logging' and try to add my unit operation, COFE32 immediately crashes without any error message.
Is there an explanation for this change in behaviour?
What can I learn from this regarding my implementation of the unit operation?
If it helps investigating, I can provide COLTT log files, make a desktop video, deliver the dll or even send the source code (MS Visual Studio project).