In general, there are 2 different ways to link FLUENT with VC++. In both methods, we need to add fluent to system path which can be easilly done via executing "setenv.exe" which is in FLUENT installation folder.
1) non-permanent method:
In this method, we need to launch FLUENT by VC++ command prompt (which can be found in tools folder of VC++) by simply typing fluent.
In this method, we have to launch FLUENT in this manner whenever we want to compile a UDF....