View Single Post
  #1  
Old 06-24-2005, 01:52 PM
OT_Builder OT_Builder is online now
Registered User
 
Join Date: 06-24-2005
Posts: 2
INCLUDE environment variable is different in VisualBuild

When building a VS.NET 2003 project in VB Pro 5.7 IDE that references #include "MSADO15.dll", it fails. If I build that project f
from VS.NET 2003 IDE environment, it succeeds.

If I build the project from the command line using the same command line commands (devenv.com) that VB Pro appears to use, it also succeeds. It is only failing from within the VB Pro IDE saying it can't find msado15.dll. It makes me suspicious that somehow the VB Pro process is changing the environment variables.

The difference is the INCLUDE environment variable. I have configured VS.NET 2003 to dump the environment to the buildlog.htm file. When it is built from VB Pro IDE, that htm file shows a different INCLUDE environment variable (one that doesn't contain c:\program files\common files\system\ado") than the HTM would show if built from within the VS.NET 2003 IDE or from the command line executing devenv.com which does include c:\program files\common files\system\ado.

Any thoughts on how this could happen?
Reply With Quote