rem: config.CharacterSet = charSetMBCS; 
add:  if(wizard.FindSymbol("WTL_USE_UNICODE")) config.CharacterSet = charSetUnicode; else config.CharacterSet = charSetMBCS;  
context: function AddConfigurations(proj, strProjectName){	try	{		var nCntr;		for(nCntr = 0; nCntr < nNumConfigs; nCntr++)		{			// Check if it's Debug configuration			var bDebug = false;			if(astrConfigName[nCntr].search("Debug") != -1)				bDebug = true;			// General settings			var config = proj.Object.Configurations(astrConfigName[nCntr]);			config.CharacterSet = charSetMBCS;			if(bDebug)			{				config.IntermediateDirectory = 'Debug';				config.OutputDirectory = 'Debug';				config.ATLMinimizesCRunTimeLibraryUsage = false;			}			else			{				config.IntermediateDirectory = 'Release';				config.OutputDirectory = 'Release';				config.ATLMinimizesCRunTimeLibraryUsage = true;			}			if(wizard.FindSymbol("WTL_USE_VIEW") && wizard.FindSymbol("WTL_COMBO_VIEW_TYPE") == "WTL_VIEWTYPE_HTML")				config.UseOfATL = useATLDynamic;			// Compiler settings			var CLTool = config.Tools('VCCLCompilerTool');			CLTool.UsePrecompiledHeader = pchUseUsingSpecific;			CLTool.WarningLevel = warningLevel_3;			if(bDebug)			{				CLTool.RuntimeLibrary = rtMultiThreadedDebug;				CLTool.MinimalRebuild = true;				CLTool.DebugInformationFormat = debugEditAndContinue;				CLTool.BasicRuntimeChecks = runtimeBasicCheckAll;				CLTool.Optimization = optimizeDisabled;			}			else			{				CLTool.RuntimeLibrary = rtMultiThreaded;				CLTool.ExceptionHandling = false;				CLTool.DebugInformationFormat = debugDisabled;			}			var strDefines = GetPlatformDefine(config);			strDefines += "_WINDOWS;STRICT;";			if(bDebug)				strDefines += "_DEBUG";			else				strDefines += "NDEBUG";			CLTool.PreprocessorDefinitions = strDefines;			// Linker settings			var LinkTool = config.Tools('VCLinkerTool');			LinkTool.SubSystem = subSystemWindows;			LinkTool.TargetMachine = machineX86;			if(bDebug)			{				LinkTool.LinkIncremental = linkIncrementalYes;				LinkTool.GenerateDebugInformation = true;			}			else			{				LinkTool.LinkIncremental = linkIncrementalNo;			}			// Resource settings			var RCTool = config.Tools("VCResourceCompilerTool");			RCTool.Culture = rcEnglishUS;			RCTool.AdditionalIncludeDirectories = "$(IntDir)";			if(bDebug)				RCTool.PreprocessorDefinitions = "_DEBUG";			else				RCTool.PreprocessorDefinitions = "NDEBUG";			// MIDL settings			var MidlTool = config.Tools("VCMidlTool");			MidlTool.MkTypLibCompatible = false;			if(IsPlatformWin32(config))				MidlTool.TargetEnvironment = midlTargetWin32;			if(bDebug)				MidlTool.PreprocessorDefinitions = "_DEBUG";			else				MidlTool.PreprocessorDefinitions = "NDEBUG";			MidlTool.HeaderFileName = strProjectName + ".h";			MidlTool.InterfaceIdentifierFileName = strProjectName + "_i.c";			MidlTool.ProxyFileName = strProjectName + "_p.c";			MidlTool.GenerateStublessProxies = true;			MidlTool.TypeLibraryName = "$(IntDir)/" + strProjectName + ".tlb";			MidlTool.DLLDataFileName = "";			// Post-build settings			if(wizard.FindSymbol('WTL_COM_SERVER'))			{				var PostBuildTool = config.Tools("VCPostBuildEventTool");				PostBuildTool.Description = "Performing registration...";				PostBuildTool.CommandLine = "\"$(TargetPath)\" /RegServer";			}		}	}	catch(e)	{		throw e;	}}
meta: 2863	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2863/54f2b444234a743462a61bd5a45b68a2bed1234d/default.js/clean/wtl/Wizards/WTLApp70/Scripts/1033/default.js