Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Build Slowdown by "Automatically Linking" Collapse All
Subject Author Date
Gregor Jasny Mar 13, 2007 - 2:30 AM


I’ve got the impression that automatically linking the ProfUIs dll slows down the compilation process. Is it really necessary to do this with every object file? I’m using the ProfUIS263md configuration.


Technical Support Mar 13, 2007 - 9:01 AM

The best way to include Prof-UIS is to do this in StdAfx.h. Please make sure that precompiled headers are used in all the .cpp files and StdAfx.cpp generates a precompiled header database. If this is not configured correctly, Prof-UIS.h will be included the same number of times as the StdAfx.h file and the files in your project will be compiled slowly. You can easily check if the precompiled headers are used: "Automatically linking ..." should appear only once. Otherwise, it will appear each time a source file is compiled.