This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Engineadapter problem with PressureEngineRunner sample

Hello,

I'm new with waterObjects.net and I'm trying to run the samples provided in order to learn how can I achieve what I need to do with my WaterCAD model. Unfortunately I suffering lots of problems with almost all of them.

In particular I have the same problem as the one on this previous post (EngineAdapter FileNotFoundException problem) where appears "module not found" problem. But, I did all the suggested actions without luck.

This is my output.

The thread 0x4320 has exited with code 0 (0x0).
Excepción no controlada: System.IO.FileNotFoundException: No se puede encontrar el módulo especificado. (Excepción de HRESULT: 0x8007007E)
   en WaterObjects.NET.PressureEngineRunner.PressureEngineRunnerForm.RunEngine()
   en WaterObjects.NET.PressureEngineRunner.PressureEngineRunnerForm.buttonRun_Click(Object sender, EventArgs e) en C:\Projectes\Taigua\WaterObjects_Samples\WaterObjects.NET.PressureEngineRunner\Development\WaterObjects.NET.PressureEngineRunner\PressureEngineRunnerForm.cs:línea 318
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   en WaterObjects.NET.PressureEngineRunner.PressureEngineRunnerForm.Main() en C:\Projectes\Taigua\WaterObjects_Samples\WaterObjects.NET.PressureEngineRunner\Development\WaterObjects.NET.PressureEngineRunner\PressureEngineRunnerForm.cs:línea 79
The program '[22892] WaterObjects.NET.PressureEngineRunner.exe' has exited with code -532459699 (0xe0434f4d).

Can anyone help me with this?

Or alternative, can someone provide a simple sample example with what I'm trying to do?

My goal is Open and Compute a WaterCAD model. Read some results, modify/update the demand base parameter on a certains demand nodes and compute it again.

My versions are:

WaterCAD: 10.02.03.06 64-bit.

WaterObjects: wonetsdk10000001en.msi

Visual studio community 2019

Thank you in advance

Juli