ShellExecute + Hypermesh
Altair Forum User
Altair Employee
I'm writing a small program to invoke the hypermesh.
I'm trying to invoke hw.exe like following:
hInst = ShellExecute(NULL,
//Open parameter
NULL,
//Name of the application
TEXT('C:\\Program Files\\Altair\\12.0\\hm\\bin\\win64\\hmopengl.exe'),
//Command line parameters passed to the application
NULL,
NULL,
SW_SHOWNORMAL
);
ShellExecute is used to open the given application.
When I do this, I'm getting some licensing error message saying 'unable to read altair_lic.dat' where as if I double click the exe it is working fine.
Can somebody let me know what is the issue?
0
Answers
-
Hi,
Please paste the license file in required location. Please refer below link for Hyperworks Licensing queries.
http://forum.altairhyperworks.com/index.php?/forum/50-hyperworks-licensing/
Regards
Rahul R
0