CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Environment variable in CCM+ (https://www.cfd-online.com/Forums/star-ccm/126246-environment-variable-ccm.html)

crevoise November 12, 2013 04:29

Environment variable in CCM+
 
Hello

I wish to call some user code dll (let call it example.dll) that I placed in a repertory with a path defined by the environment variable PATH.

In Tools>UserCode, I tried several way to call this path, without success:
$(PATH)/example.dll
%PATH%/example.dll
%PATH/example.dll
With such way of calling the dll, in the Propertoes panel, I am getting the notification: Language: unknown

If I am putting the full path, without using the environment variable, the dll is found (and language report 'C')

Does anyone has a clue on how to use in a proper way the environment variable definition?

Thank a lot


All times are GMT -4. The time now is 02:18.