I am getting an exception while running a NXOpen exe which i have developed. The code runs fine in my system. I just switched systems recently and this piece of code stopped working.
Even a simple initialize script also throws this error. Below is the exception screen shot.
I have checked the below cases and all are set properly.
I am still not able to figure out why its failing.
Any suggestions would be really helpful.
Solved! Go to Solution.
As you probably know, it is a documented behavior that you can only call UF_initialize() one time in an external program. If you are only calling it once in your main program, then you might look to see if you are calling into any other .DLLs that might be trying to call it. Do you have anything that loads at startup - such as a UDO .DLL?
Note that UF_UGMGR_initialize() (or its wrapper) also counts as a call to UF_initialize().
If you can't find it, please log an IR with GTAC and supply the problematic code, so we can investigate thoroughly. Thanks!