Dear Adrian, Thank you for the code sample at http://www.ida.liu.se/~adrpo/omc/corba/ which helped me to get started. To make it easier to use on non-Windows platforms, you might want to add the idl file. Here is what I did on Mac OS X; please feel free to use this information as you want. - Create the following file omc_communication.idl in openmodelica-cygwin: interface OmcCommunication { string sendExpression( in string expr); string sendClass( in string model); }; - If you haven't yet, install Apple development tools (Xcode etc.) - If you haven't yet, install OpenModelica with dependencies with MacPorts, in particular mico in /opt/local - Add /opt/local/bin to current path, e.g. export PATH=$PATH:/opt/local/bin - Compile the idl file: idl omc_communication.idl g++ -c omc_communication.cc -I/opt/local/include -I. - Compile corbacomm: g++ -c corbacomm.cpp -I/opt/local/include g++ -o corbacomm corbacomm.o omc_communication.o g++ -o corbacomm corbacomm.o omc_communication.o \ -L/opt/local/lib -lmico2.3.12 - Run omc (we assume here that we're in the root directory of OpenModelica): export OPENMODELICAHOME=`pwd` export OPENMODELICALIBRARY=$OPENMODELICAHOME/ModelicaLibrary omc +d=interactiveCorba - Run corbacomm, e.g. corbacomm file:///tmp/openmodelica.$USER.objid "help()" Best regards, Yves ____________________________________________________________ Dr. Yves Piguet, CEO yves.piguet@... Calerga Sarl http://www.calerga.com 35, av. de la Chabliere Home of Sysquake CH 1004 Lausanne # Sysquake 4.0 released! #