Balid,
The precompiler actually replaces DBPCompiler.exe. When the IDE calls DBPCompiler, it loads up the precompiler that then loads up a few of my own personal programs that tweak the source code a bit. After the prcompiler is done, it then sends the source on to the real DBPCompiler. The precompiler works fine with both of the stock DBP Compilers, as well as Codesurge.
I would upload the log file but it is huge. Here is the condensed version:
4/2/2011 7:14:37 PM ** Using ReadRegistry - 'Not Found'
4/2/2011 7:14:37 PM ** Using GetSetting - ''
4/2/2011 7:14:37 PM ** Using Registry.LocalMachine.OpenSubKey - 'C:\Program Files (x86)\The Game Creators\Dark Basic Professional Online'
4/2/2011 7:14:37 PM ** Indigo 1.2.0 b4 Trial
4/2/2011 7:14:37 PM ** appPath = C:\Program Files (x86)\Indigo v1.2.0 Beta
4/2/2011 7:14:37 PM ** OS = Microsoft Windows NT 6.1.7601 Service Pack 1,6,1,65536,4
4/2/2011 7:14:37 PM >> Loading keywords data.
4/2/2011 7:14:37 PM --:| DarkBASIC Professional Install Path = C:\Program Files (x86)\The Game Creators\Dark Basic Professional Online
4/2/2011 7:14:37 PM --:| Loading keywords from '\config\Indigo_Keywords.ini' ...
4/2/2011 7:14:37 PM --:| Loaded keywords data into memory, parsing...
4/2/2011 7:14:38 PM --:| Load Lexing
4/2/2011 7:14:38 PM -->> keyWordCased
4/2/2011 7:14:38 PM --<< keyWordCased
4/2/2011 7:14:38 PM -->> keyWordCased
4/2/2011 7:14:38 PM --<< keyWordCased
4/2/2011 7:14:38 PM -->> keyWordCased
4/2/2011 7:14:38 PM --<< keyWordCased
4/2/2011 7:14:38 PM -->> keyWordCased
4/2/2011 7:14:38 PM --<< keyWordCased
4/2/2011 7:14:38 PM -->> keyWordCased
- NOTE: This "keyWordCased" thing apprears another 23,627 times
4/2/2011 7:15:48 PM --:| Time to load keywords: 00:01:11
4/2/2011 7:15:48 PM --:| # of keywords: 3932
4/2/2011 7:15:48 PM << Loading keywords data.
4/2/2011 7:15:48 PM :| DockPanel...
4/2/2011 7:15:49 PM >> reducedResList
4/2/2011 7:15:49 PM << reducedResList
4/2/2011 7:15:49 PM >> ApplyProjectFile
4/2/2011 7:15:50 PM -->> BuildIncludesList
4/2/2011 7:15:50 PM --<< BuildIncludesList
4/2/2011 7:15:50 PM -->> BuildMediaList
4/2/2011 7:15:50 PM --<< BuildMediaList
4/2/2011 7:15:50 PM -->> BuildIconList
4/2/2011 7:15:50 PM --<< BuildIconList
4/2/2011 7:15:50 PM -->> BuildCursorList
4/2/2011 7:15:50 PM --<< BuildCursorList
4/2/2011 7:15:50 PM << ApplyProjectFile
4/2/2011 7:15:50 PM >> BuildPluginList
4/2/2011 7:15:50 PM << BuildPluginList
4/2/2011 7:15:50 PM >> BuildSnippetList
4/2/2011 7:15:50 PM << BuildSnippetList
4/2/2011 7:15:50 PM >> ShowNewForm
4/2/2011 7:15:50 PM -->> LoadCodeControlSettings
4/2/2011 7:15:50 PM ----:| Docking
4/2/2011 7:15:50 PM ----:| Indentation
4/2/2011 7:15:50 PM ----:| Language
4/2/2011 7:15:50 PM ----:| Margins
4/2/2011 7:15:50 PM ----:| Lexing
4/2/2011 7:15:50 PM ---->> updateLexing
4/2/2011 7:15:50 PM ----<< updateLexing
4/2/2011 7:15:50 PM ----:| Coloring
4/2/2011 7:15:50 PM --<< LoadCodeControlSettings
4/2/2011 7:15:50 PM << ShowNewForm
4/2/2011 7:15:51 PM >> 0-Untitled-updateStatusLabels
4/2/2011 7:15:51 PM << 0-Untitled-updateStatusLabels
4/2/2011 7:15:51 PM -->> 0-Untitled-updateStatusLabels
4/2/2011 7:15:51 PM --<< 0-Untitled-updateStatusLabels
4/2/2011 7:15:51 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:15:51 PM << statusBW_RunWorkerCompleted
4/2/2011 7:15:51 PM >> codeControl_TextChanged
4/2/2011 7:15:51 PM << codeControl_TextChanged
4/2/2011 7:16:24 PM >> codeControl_MouseClick
4/2/2011 7:16:24 PM -->> 0-Untitled-updateStatusLabels
4/2/2011 7:16:24 PM --<< 0-Untitled-updateStatusLabels
4/2/2011 7:16:24 PM << codeControl_MouseClick
4/2/2011 7:16:24 PM >> codeControl_MouseUp
4/2/2011 7:16:24 PM << codeControl_MouseUp
4/2/2011 7:16:24 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:16:24 PM << statusBW_RunWorkerCompleted
4/2/2011 7:16:29 PM >> OpenProjectFile
4/2/2011 7:16:29 PM -->> UnloadProject
4/2/2011 7:16:29 PM ---->> ApplyProjectFile
4/2/2011 7:16:29 PM ------>> BuildIncludesList
4/2/2011 7:16:29 PM ------<< BuildIncludesList
4/2/2011 7:16:29 PM ------>> BuildMediaList
4/2/2011 7:16:29 PM ------<< BuildMediaList
4/2/2011 7:16:29 PM ------>> BuildIconList
4/2/2011 7:16:29 PM ------<< BuildIconList
4/2/2011 7:16:29 PM ------>> BuildCursorList
4/2/2011 7:16:29 PM ------<< BuildCursorList
4/2/2011 7:16:29 PM ----<< ApplyProjectFile
4/2/2011 7:16:29 PM --<< UnloadProject
4/2/2011 7:16:29 PM -->> ApplyProjectFile
4/2/2011 7:16:29 PM ---->> BuildIncludesList
4/2/2011 7:16:29 PM ----<< BuildIncludesList
4/2/2011 7:16:29 PM ---->> BuildMediaList
4/2/2011 7:16:29 PM ----<< BuildMediaList
4/2/2011 7:16:29 PM ---->> BuildIconList
4/2/2011 7:16:29 PM ----<< BuildIconList
4/2/2011 7:16:29 PM ---->> BuildCursorList
4/2/2011 7:16:29 PM ----<< BuildCursorList
4/2/2011 7:16:29 PM --<< ApplyProjectFile
4/2/2011 7:16:29 PM -->> sortedWordList
4/2/2011 7:16:29 PM --<< sortedWordList
4/2/2011 7:16:29 PM -->> sortedWordList
4/2/2011 7:16:29 PM --<< sortedWordList
4/2/2011 7:16:29 PM -->> LoadAllIncludeWords
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM ---->> sortedWordList
4/2/2011 7:16:29 PM ----<< sortedWordList
4/2/2011 7:16:29 PM --<< LoadAllIncludeWords
4/2/2011 7:16:29 PM -->> ShowNewForm
4/2/2011 7:16:29 PM ---->> LoadCodeControlSettings
4/2/2011 7:16:29 PM ------:| Docking
4/2/2011 7:16:29 PM ------:| Indentation
4/2/2011 7:16:29 PM ------:| Language
4/2/2011 7:16:29 PM ------:| Margins
4/2/2011 7:16:29 PM ------:| Lexing
4/2/2011 7:16:29 PM ------>> updateLexing
4/2/2011 7:16:29 PM ------<< updateLexing
4/2/2011 7:16:29 PM ------:| Coloring
4/2/2011 7:16:29 PM ----<< LoadCodeControlSettings
4/2/2011 7:16:29 PM --<< ShowNewForm
4/2/2011 7:16:29 PM -->> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:16:29 PM --<< 0-ThirtyOne-updateStatusLabels
4/2/2011 7:16:29 PM << OpenProjectFile
4/2/2011 7:16:29 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:16:29 PM << statusBW_RunWorkerCompleted
4/2/2011 7:16:30 PM >> codeControl_TextChanged
4/2/2011 7:16:30 PM << codeControl_TextChanged
4/2/2011 7:16:30 PM >> sortedWordList
4/2/2011 7:16:30 PM << sortedWordList
4/2/2011 7:16:30 PM >> sortedWordList
4/2/2011 7:16:30 PM << sortedWordList
4/2/2011 7:16:31 PM >> triggerCompile
4/2/2011 7:16:31 PM --:| File to Compile: E:\Dropbox\Game Projects\ThirtyOne New\ThirtyOne.dbpro
4/2/2011 7:16:31 PM -->> getAllSourceCode
4/2/2011 7:16:31 PM --<< getAllSourceCode
4/2/2011 7:16:31 PM --:) Compiling... E:\Dropbox\Game Projects\ThirtyOne New\ThirtyOne.dbpro
4/2/2011 7:16:31 PM << triggerCompile
4/2/2011 7:16:55 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:16:55 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:16:55 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:16:55 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:16:55 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:16:55 PM << statusBW_RunWorkerCompleted
4/2/2011 7:17:01 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:01 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:01 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:17:01 PM << statusBW_RunWorkerCompleted
4/2/2011 7:17:01 PM >> codeControl_MouseClick
4/2/2011 7:17:01 PM -->> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:01 PM --<< 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:01 PM ---->> thisKeyWordInfo(,, fromHover: False)
4/2/2011 7:17:01 PM --<< thisKeyWordInfo []
4/2/2011 7:17:01 PM << statusBW_DoWork
4/2/2011 7:17:01 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:17:01 PM << statusBW_RunWorkerCompleted
4/2/2011 7:17:06 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:06 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:06 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:17:06 PM << statusBW_RunWorkerCompleted
4/2/2011 7:17:07 PM >> triggerCompile
4/2/2011 7:17:07 PM --:| File to Compile: E:\Dropbox\Game Projects\ThirtyOne New\ThirtyOne.dbpro
4/2/2011 7:17:07 PM -->> getAllSourceCode
4/2/2011 7:17:07 PM --<< getAllSourceCode
4/2/2011 7:17:07 PM --:) Compiling... E:\Dropbox\Game Projects\ThirtyOne New\ThirtyOne.dbpro
4/2/2011 7:17:07 PM << triggerCompile
4/2/2011 7:17:40 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:40 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:40 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:40 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:40 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:17:40 PM << statusBW_RunWorkerCompleted
4/2/2011 7:17:40 PM >> thisKeyWordInfo(LoadedProfile,if LoadedProfile.Avatar > 0 then if image exist(L, fromHover: True)
4/2/2011 7:17:40 PM << thisKeyWordInfo [global LoadedProfile as ProfileType
Include: ThirtyOne.dba; Line: 213]
4/2/2011 7:17:43 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:43 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:43 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:17:43 PM << statusBW_RunWorkerCompleted
4/2/2011 7:17:44 PM >> thisKeyWordInfo(function,ILE_LOADED", get ptr to function("ThirtyOne_ProfileLoaded")), fromHover: True)
4/2/2011 7:17:44 PM << thisKeyWordInfo [get ptr to function | Function number | Function name]
4/2/2011 7:17:46 PM >> thisKeyWordInfo(function,OADED", get ptr to function("ThirtyOne_ProfileLoaded")), fromHover: True)
4/2/2011 7:17:46 PM << thisKeyWordInfo [get ptr to function | Function number | Function name]
4/2/2011 7:17:47 PM >> thisKeyWordInfo(function,OADED", get ptr to function("ThirtyOne_ProfileLoaded")), fromHover: True)
4/2/2011 7:17:47 PM << thisKeyWordInfo [get ptr to function | Function number | Function name]
4/2/2011 7:17:50 PM >> triggerCompile
4/2/2011 7:17:50 PM --:| File to Compile: E:\Dropbox\Game Projects\ThirtyOne New\ThirtyOne.dbpro
4/2/2011 7:17:50 PM -->> getAllSourceCode
4/2/2011 7:17:50 PM --<< getAllSourceCode
4/2/2011 7:17:50 PM --:) Compiling... E:\Dropbox\Game Projects\ThirtyOne New\ThirtyOne.dbpro
4/2/2011 7:17:51 PM << triggerCompile
4/2/2011 7:17:58 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:58 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:58 PM -->> thisKeyWordInfo(,, fromHover: False)
4/2/2011 7:17:58 PM --<< thisKeyWordInfo []
4/2/2011 7:17:58 PM << statusBW_DoWork
4/2/2011 7:17:58 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:58 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:17:58 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:17:58 PM << statusBW_RunWorkerCompleted
4/2/2011 7:18:12 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:18:12 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:18:12 PM >> statusBW_DoWork
4/2/2011 7:18:12 PM -->> thisKeyWordInfo(,, fromHover: False)
4/2/2011 7:18:12 PM --<< thisKeyWordInfo []
4/2/2011 7:18:12 PM << statusBW_DoWork
4/2/2011 7:18:13 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:18:13 PM << statusBW_RunWorkerCompleted
4/2/2011 7:20:33 PM >> 0-ThirtyOne-updateStatusLabels
4/2/2011 7:20:33 PM << 0-ThirtyOne-updateStatusLabels
4/2/2011 7:20:33 PM >> statusBW_RunWorkerCompleted
4/2/2011 7:20:33 PM << statusBW_RunWorkerCompleted
4/2/2011 7:20:33 PM >> thisKeyWordInfo(KKLib_D3D_RegisterFont,rial10 = KKLib_D3D_RegisterFont("Arial",10,0,0,0), fromHover: True)
4/2/2011 7:20:33 PM << thisKeyWordInfo [function KKLib_D3D_RegisterFont(Name$,Size,B,I,M)
Include: KKLib-D3D.dba; Line: 86]
I tried compiling twice, then I turned off my AV entirely and tried again with the same result.