[go: up one dir, main page]

Menu

#222 DWSIM.Thermodynamics C++

5.6
closed
2019-03-13
2019-03-13
Manivelan
No
Hi
Following code i typed in c++/cli it is working fine except last.

-----------------------START-----------------------------------
T = 373.15;//K
P = 101325;//Pa
array<String^>^ gcomp = gcnew array<String^>{"n-Hexane", "n-Octane"};
array<double^>^ comp = gcnew array<double^>{ 0.5,0.5 };
int a = 0;

** array < String^,2 >^ result2 = calc.PTFlash(prpp, a, P, T, gcomp, comp);
----------------------------------------END--------------------------------------------------
Following code from VB.net it working fine. This same code i used in c++/cli above i highlighted i don't know how to assign result2 variable. Please help ASAP
-------------------VB.net------------------
** object[,] result2 = dtlc.PTFlash(prpp, 0, P, T, new string[] { "Water","Ethanol"}, new double[] {0.5, 0.5 });

-------------------VB.net------------------

Discussion

  • Daniel Medeiros

    Daniel Medeiros - 2019-03-13
    • status: open --> closed
    • assigned_to: Daniel Medeiros
     
  • Daniel Medeiros

    Daniel Medeiros - 2019-03-13

    Please use the developer forums, this is not the place to ask questions, but to report bugs.

     
  • Manivelan

    Manivelan - 2019-03-13

    Sorry realy i don't know where is developer forums please the give link