Okay, I know this has been hashed through with the USE DFPORT possibility, but I just compiled up my code which had been using IFPORT and found some really weird results without USE IFPORT. The idea was to compile the app I have using strictly USE ***, ONLY clauses. The app is a QuickWin application with a few Windows API calls interspersed and the getting of an environment variable on the front end.
Diligently I went through the code and found clauses along the lines of
USE Strawberry
and commented them out. I then let the VS compiler/linker catch all my missing references. The code is compiled with IMPLICIT NONE everywhere. In doing this the compiler/linker never found the missing reference to GETENV. Thus it was not "missing" at all, but I am unsure what it found because it certainly did not work. The program hung very early in the INITIALSETTINGS call (QuickWin) and never pulled its way out. Very strange.