For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Environment Variables under Windows

Anonymous's picture
Forums: 

I've tried to get rid of all Environment Variables by changing GetEnv method and OSD_Environment object (need to recompile TKMath.dll and TKernell.dll) by replacing the call to Win32 GetEnvironment method by a registry call HKEY_LOCAL_MACHINE/Software/OpenCascade/4.0/CASROOT for ex
HKEY_LOCAL_MACHINE/Software/OpenCascade/5.0/CASROOT for ex

This allow you to have two application running with different versions of OpenCascade. This is necessary to allow our customer to work with an old version or when developping to switch from one library to another one. This is also easier to manage a setup programm

It seems that these Environment Variables have nearly no effect if I suppress them, ie our application will not crash.

My question is :
Are these Environment Variables mandatory ? Which one are and when ?