Crash to desktop, with recurring error code in .dmp file

I would recommend copying the _NO_DEBUG_HEAP=1 setting because the VS Debug heap slows down debugging and can obscure certain errors (while possibly revealing others) – but those Python errors shouldn't occur either way. My command line argument for loading the mod assumes that there's a copy of CivilizationIV.ini in the same folder as Civ4BeyondSword.exe (and that that ini file loads the mod). This setup allows making other debug-friendly settings in the ini that'll only apply when debugging. Would be simpler not to copy the ini and to just use mod=... instead of ini=... in VS. In any case, the VS debug config does not affect how the DLL is compiled, so, if the DLL is not behaving as expected when loading the mod from the Advanced menu (without involving VS), then something else has to be the cause. Is the source code from my post or from dave_uk's (third attachment)? I guess either of those should work. I've only seen your linker output. If you do a full rebuild (Ctrl+Alt+F7), is there also output stating that each translation unit is being compiled?
Code:
1>  Building source list
1>  Running fastdep
1>  _precompile.cpp
1>  BetterBTSAI.cpp
(etc.)
 
Here's my VS output from a rebuild using the project and source files that I had uploaded. I'm also attaching the resulting DLL. Does this one work in lieu of dave_uk's? (When attempting to load the mod via "Advanced" or through a shortcut, i.e. no VS, no debugger.)
Spoiler :
Code:
1>------ Build started: Project: CvGameCoreDLL, Configuration: Debug-fast Win32 ------
1>  Building source list
1>  Running fastdep
1>  _precompile.cpp
1>  BetterBTSAI.cpp
1>  CvArea.cpp
1>  CvArtFileMgr.cpp
... etc. etc. ...
1>  CyTeam.cpp
1>  CyTeamInterface.cpp
1>  CyUnit.cpp
1>  CyUnitInterface1.cpp
1>  FAssert.cpp
1>  FDialogTemplate.cpp
1>  Linking DLL
1>     Creating library temp_files\Debug\CvGameCoreDLL.lib and object temp_files\Debug\CvGameCoreDLL.exp
1>  	COPY "temp_files\Debug\CvGameCoreDLL.dll" "Debug\CvGameCoreDLL.dll"
1>          1 file(s) copied.
1>  	COPY "Debug\CvGameCoreDLL.dll" "C:\Program Files (x86)\Sid Meier's Civilization 4\Beyond the Sword\Mods\LoR\Assets\."
1>          1 file(s) copied.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
 

Attachments

  • CvGameCoreDLL.zip
    3.7 MB · Views: 18
They could probably be trimmed down further, but it's hard to say e.g. which headers exactly the DLL (indirectly) includes. The two folders can be placed anywhere, so long as the PSDK and TOOLKIT variables in Makefile.settings are set accordingly. If no errors occur during compilation, then this part is probably working correctly.
 
OK, well previously I was having no errors up to F7.
I tried using dave uk's source code with no success, and now having reverted to using the files in leoreth's thread, I'm getting this
Spoiler :

1>------ Build started: Project: CvGameCoreDLL, Configuration: Debug Win32 ------
1> Building source list
1> Running fastdep
1> 'C:\Program' is not recognized as an internal or external command,
1> operable program or batch file.
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Microsoft Visual C++ 2010 Express - ENU\bin\cl.exe' : return code '0x1'
1> Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "set TARGET=Debug
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake source_list /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake fastdep /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake dll /NOLOGO" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I was doing OK earlier but have messed things up.
 
I would recommend copying the _NO_DEBUG_HEAP=1 setting because the VS Debug heap slows down debugging and can obscure certain errors (while possibly revealing others) – but those Python errors shouldn't occur either way. My command line argument for loading the mod assumes that there's a copy of CivilizationIV.ini in the same folder as Civ4BeyondSword.exe (and that that ini file loads the mod). This setup allows making other debug-friendly settings in the ini that'll only apply when debugging. Would be simpler not to copy the ini and to just use mod=... instead of ini=... in VS. In any case, the VS debug config does not affect how the DLL is compiled, so, if the DLL is not behaving as expected when loading the mod from the Advanced menu (without involving VS), then something else has to be the cause. Is the source code from my post or from dave_uk's (third attachment)? I guess either of those should work. I've only seen your linker output. If you do a full rebuild (Ctrl+Alt+F7), is there also output stating that each translation unit is being compiled?
Code:
1>  Building source list
1>  Running fastdep
1>  _precompile.cpp
1>  BetterBTSAI.cpp
(etc.)
I'm using mod=
I'm using the source code from BTS SDK develop in the Leoreth thread.
 
[...] having reverted to using the files in leoreth's thread
A DLL compiled from the unmodified BtS source won't be compatible with the other LoR assets. But, to take a step back, you could compile a debug DLL using Leoreth's files and then see if that works in a mod that only consists of an Assets folder with the debug DLL inside. Looking at that latest error message, the cl.exe in the TOOLKIT should be used, not the one that comes with VS. Though I'm not sure if that's what's causing the error.
 
Starting from scratch now.
Spoiler :

1>------ Build started: Project: CvGameCoreDLL, Configuration: Debug Win32 ------
1>
1> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1>makefile(220): fatal error U1050: Target "" not supported. Supported targets: Debug Release Assert Profile
1> Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "nmake Debug" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Makefile.settings
Spoiler :

TOOLKIT=C:\Program Files (x86)\Civ4SDK\Microsoft Visual C++ Toolkit 2003
PSDK=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
CIV4_PATH=C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
YOURMOD=C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Lor Mod
YOURLOGS=C:\Users\new laptop\Documents\My Games\Beyond the Sword\Logs

I think the problem is there ^
 
Seems that the TARGET variable isn't getting set. The vcxproj file should be responsible for that. Can also review that in VS. The "build command line" should say something like this:
Spoiler :

debug-config.jpg

The error message comes from the Civ Makefile, so, clearly, the correct makefile gets processed. But perhaps you've created a new vcxproj?
Your output also says that The command "nmake Debug" exited with code 2. I see no such command in Leoreth's vcxproj.
 
Seems that the TARGET variable isn't getting set. The vcxproj file should be responsible for that. Can also review that in VS. The "build command line" should say something like this:The error message comes from the Civ Makefile, so, clearly, the correct makefile gets processed. But perhaps you've created a new vcxproj?
Your output also says that The command "nmake Debug" exited with code 2. I see no such command in Leoreth's vcxproj.
I was using dave uk's source.
Trying again now with Leoreth CvGameCoreDLL folder in the mod folder.
What do I need in makefile.settings ? Previously you mentioned having the source files(CvGameCoreDLL folder) as the CIV4 PATH location, but I've been using C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
 
I was using dave uk's source.
Trying again now with Leoreth CvGameCoreDLL folder in the mod folder.
Ah, I see. Then it appears that you were combining dave_uk's vcxproj file (which does specify a "nmake Debug" build command) with a more recent Makefile (Leoreth's, Nightinggale's or mine). So that can't work; the project files (everything I placed in the project folder in my upload) can't generally be mixed and matched. (And a DLL compiled from Leoreth's DLL source code is only going to work with a mod that hasn't modified the original DLL source.)
What do I need in makefile.settings ? Previously you mentioned having the source files(CvGameCoreDLL folder) as the CIV4 PATH location, but I've been using C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
Needs to be the location of Boost-1.32.0 and Python24. In a fresh installation of BtS, that's normally
C:\Program Files (x86)\Sid Meier's Civilization 4\Beyond the Sword\CvGameCoreDLL
(Those two libraries and the BtS source code get placed there by the BtS installer only so that DLL modders can use them; moving them to a different location causes no problems.) I think the Makefile will also look for libraries in the local working directory. Since Leoreth's source includes copies of Boost and Python 2.4, I guess the CIV4_PATH variable won't really matter.
 
Ah, I see. Then it appears that you were combining dave_uk's vcxproj file (which does specify a "nmake Debug" build command) with a more recent Makefile (Leoreth's, Nightinggale's or mine). So that can't work; the project files (everything I placed in the project folder in my upload) can't generally be mixed and matched. (And a DLL compiled from Leoreth's DLL source code is only going to work with a mod that hasn't modified the original DLL source.)
Needs to be the location of Boost-1.32.0 and Python24. In a fresh installation of BtS, that's normally
C:\Program Files (x86)\Sid Meier's Civilization 4\Beyond the Sword\CvGameCoreDLL
(Those two libraries and the BtS source code get placed there by the BtS installer only so that DLL modders can use them; moving them to a different location causes no problems.) I think the Makefile will also look for libraries in the local working directory. Since Leoreth's source includes copies of Boost and Python 2.4, I guess the CIV4_PATH variable won't really matter.
I think I have the makefile settings ok now.
It's attempting to compile but failing with cannot open afxres.h
Spoiler :

1>------ Build started: Project: CvGameCoreDLL, Configuration: Debug Win32 ------
1> Building source list
1> Running fastdep
1> _precompile.cpp
1> CvArea.cpp
1> CvArtFileMgr.cpp
.... etc .... etc ....
1> CyUnitInterface1.cpp
1> FAssert.cpp
1> FDialogTemplate.cpp
1> "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe" /Fotemp_files\Debug\CvGameCoreDLL.res /I"Boost-1.32.0/include" /I"Python24/include" /I"C:\Program Files (x86)\Civ4SDK\Microsoft Visual C++ Toolkit 2003/include" /I"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A/Include" /I"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A/Include/mfc" CvGameCoreDLL.rc
1> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
1>
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1>
1>CvGameCoreDLL.rc(10): fatal error RC1015: cannot open include file 'afxres.h'.
1>
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe"' : return code '0x1'
1> Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "set TARGET=Debug
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake source_list /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake fastdep /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake dll /NOLOGO" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Feels a bit more promising than yesterday.
 
Leoreth's CvGameCoreDLL.rc does attempt to include afxres.h, and I can't find that header in v7.0A of the PSDK. v6.0 has it in a subfolder Include\mfc, but that subfolder doesn't exist in v7.0A. You could try replacing
#include "afxres.h"​
with
#include <windows.h>​
in CvGameCoreDLL.rc or set the PSDK variable to the path of v6.0 (if you still have that one from the dependencies that I had uploaded). Or just removing CvGameCoreDLL.rc should also work. rc.exe merely writes some metadata to the DLL file, so this whole step is dispensable. All that being said, I don't understand why no one else has been getting this error with Leoreth's files.
 
OK, doing much better now. F7 works after fixing makefile settings.
F5 loads the game and mod, but because the DLL has been replaced I'm getting the Python exceptions again
Sorry, this is big.
Spoiler :

'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\apphelp.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\AcLayers.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\win32u.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\gdi32full.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\msvcp_win.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ucrtbase.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\bcrypt.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\mpr.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\sfc.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\winspool.drv', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\sfc_os.dll', Cannot find or open the PDB file
FTH: (8420): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\SortWindows61.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\boost_python-vc71-mt-1_32.dll', Binary was not built with debug information.
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\binkw32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\zlib1.dll', Binary was not built with debug information.
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\zlib1.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\msvcp71.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\python24.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\advapi32.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\advapi32.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\msvcr71.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\hapdbg.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\d3dx9_33.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\hapdbg.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mss32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\winmmbase.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\zlib1.dll', Binary was not built with debug information.
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\hapdbg.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\umpdc.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\gameux.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\gameux.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\windows.storage.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\wldp.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\SHCore.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\profapi.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\propsys.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\linkinfo.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ntshrui.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\srvcli.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\cscapi.dll', Cannot find or open the PDB file
DLL Load:Mods\LoR Mod\Assets\CvGameCoreDLL.dll
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Lor Mod\Assets\CvGameCoreDLL.dll', Symbols loaded.
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Lor Mod\Assets\CvGameCoreDLL.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Lor Mod\Assets\CvGameCoreDLL.dll', Symbols loaded.
DLL_PROCESS_ATTACH
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\msxml3.dll', Cannot find or open the PDB file
LoadCivXml (xml\GameInfo/CIV4PlayerOptionInfos.xml)
LoadCivXml (xml\GameInfo/CIV4GraphicOptionInfos.xml)
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\wtsapi32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\winsta.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.19041.1110_none_c0da534e38c01f4d\comctl32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ntmarta.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\WinTypes.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\WinTypes.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\TextShaping.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssmp3.asi', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssmp3.asi'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssmp3.asi', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssvoice.asi', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssvoice.asi'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssvoice.asi', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdolby.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdolby.flt'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdolby.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssds3d.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssds3d.flt'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssds3d.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdsp.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdsp.flt'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdsp.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msseax.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msseax.flt'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msseax.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msssrs.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msssrs.flt'
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msssrs.flt', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\AudioSes.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x18a4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf68) has exited with code 0 (0x0).
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\Windows.UI.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\WindowManagementAPI.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\InputHost.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\twinapi.appcore.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\twinapi.appcore.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\twinapi.appcore.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\avrt.dll', Cannot find or open the PDB file
Python Extension Module - CyEnumsPythonInterface
Python Extension Module - CyGamePythonInterface
Python Extension Module - CyRandomPythonInterface
Python Extension Module - CyTeamPythonInterface
Python Extension Module - CyAreaPythonInterface
Python Extension Module - CyStructsPythonInterface1
Python Extension Module - CyMapPythonInterface
Python Extension Module - CyMapGeneratorPythonInterface
Python Extension Module - CySelectionGroupInterface
Python Extension Module - CyArtFileMgrPythonInterface
Python Extension Module - CyTextMgr
Python Extension Module - CyInfoPythonInterface1
Python Extension Module - CyInfoPythonInterface2
Python Extension Module - CyInfoPythonInterface3
Python Extension Module - CyReplayInterface
Python Extension Module - CyGameCoreUtilsPythonInterface
Python Extension Module - CyCityPythonInterface1
Python Extension Module - CyPlayerPythonInterface1
Python Extension Module - CyPlayerPythonInterface2
Python Extension Module - CyUnitPythonInterface1
Python Extension Module - CyPlotPythonInterface1
Python Extension Module - CyGlobalContextPythonInterface1
Python Extension Module - CyGlobalContextPythonInterface2
Python Extension Module - CyGlobalContextPythonInterface3
Python Extension Module - CyGlobalContextPythonInterface1
LoadCivXml (xml\GlobalDefines.xml)
LoadCivXml (xml\GlobalDefinesAlt.xml)
LoadCivXml (xml\PythonCallbackDefines.xml)
LoadCivXml (xml\text\civ4gametextinfos.xml)
LoadCivXml (xml\text\civ4gametextchanged_bts.xml)
LoadCivXml (xml\text\moreciv4lerts options.xml)
LoadCivXml (xml\text\advancedcombatodds_civ4gametext.xml)
LoadCivXml (xml\text\shortcuts_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_bts_fourthroundtranslation.xml)
LoadCivXml (xml\text\revutils_civ4gametext.xml)
LoadCivXml (xml\text\advanced combat odds options.xml)
LoadCivXml (xml\text\bugoptions_revoultiongametext.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_concepts.xml)
LoadCivXml (xml\text\traitspedia_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_cities_bts.xml)
LoadCivXml (xml\text\civ4gametext_newwonders.xml)
LoadCivXml (xml\text\bug options screen.xml)
LoadCivXml (xml\text\civ4gametext_help.xml)
LoadCivXml (xml\text\bughints_civ4gametext.xml)
LoadCivXml (xml\text\unit naming.xml)
LoadCivXml (xml\text\civ4diplomacytext.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_buildingsprojects.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_bts.xml)
LoadCivXml (xml\text\mapfinder_civ4gametext.xml)
LoadCivXml (xml\text\unit naming options.xml)
LoadCivXml (xml\text\hiddenattitudes_civ4gametext.xml)
LoadCivXml (xml\text\better espionage options.xml)
LoadCivXml (xml\text\lor_newtext.xml)
LoadCivXml (xml\text\sioux_civ4gametext.xml)
LoadCivXml (xml\text\aiautoplay_civ4gametext.xml)
LoadCivXml (xml\text\globalwarmingtextinfos.xml)
LoadCivXml (xml\text\autolog_civ4gametext.xml)
LoadCivXml (xml\text\autolog options.xml)
LoadCivXml (xml\text\civ4gametextinfos_cities.xml)
LoadCivXml (xml\text\sentryactions_civ4gametext.xml)
LoadCivXml (xml\text\buffy options.xml)
LoadCivXml (xml\text\hiawatha_civ4gametext.xml)
LoadCivXml (xml\text\buffy_civ4gametext.xml)
LoadCivXml (xml\text\custdomadv_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_revdcm.xml)
LoadCivXml (xml\text\civ4gametext_diplomacytext_bts.xml)
LoadCivXml (xml\text\civ4lerts options.xml)
LoadCivXml (xml\text\iroquois_civ4gametext.xml)
LoadCivXml (xml\text\revolutiondlltext_civ4gametext.xml)
LoadCivXml (xml\text\barbarianciv_civ4gametext.xml)
LoadCivXml (xml\text\bull misc hovers options.xml)
LoadCivXml (xml\text\text_vietnammod.xml)
LoadCivXml (xml\text\civ4gametext_warlords_civ4changed.xml)
LoadCivXml (xml\text\civ4gametext_bts.xml)
LoadCivXml (xml\text\civ4gametext_warlords_changed.xml)
LoadCivXml (xml\text\colors_civ4gametext.xml)
LoadCivXml (xml\text\eventsigns options.xml)
LoadCivXml (xml\text\revtraittag_civ4gametextinfos.xml)
LoadCivXml (xml\text\dynamiccivnames_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametextinfos_objects.xml)
LoadCivXml (xml\text\revdcmoptionstab.xml)
LoadCivXml (xml\text\civ4gametext_warlords_civilopedia.xml)
LoadCivXml (xml\text\bug core options.xml)
LoadCivXml (xml\text\civ4gametext_warlords_strategy.xml)
LoadCivXml (xml\text\governorworkers_civ4gametext.xml)
LoadCivXml (xml\text\bugoptions_revdcmgametext.xml)
LoadCivXml (xml\text\bug advisors options.xml)
LoadCivXml (xml\text\revolutiontext_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_strategy.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_techs.xml)
LoadCivXml (xml\text\strategyoverlay_civ4gametext.xml)
LoadCivXml (xml\text\techwindow options.xml)
LoadCivXml (xml\text\civ4gametext_events_bts.xml)
LoadCivXml (xml\text\civ4gametext_warlords.xml)
LoadCivXml (xml\text\civ4gametext_misc1.xml)
LoadCivXml (xml\text\strategy2_civ4gametext.xml)
LoadCivXml (xml\text\not just another game clock options.xml)
LoadCivXml (xml\text\bug main interface options.xml)
LoadCivXml (xml\text\bull_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametextinfos_greatpeople.xml)
LoadCivXml (xml\text\civ4gametext_objects_bts.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_civicsreligion.xml)
LoadCivXml (xml\text\moreciv4lerts_civ4gametext.xml)
LoadCivXml (xml\text\custdomadv options.xml)
LoadCivXml (xml\text\heini_additional_gametext.xml)
LoadCivXml (xml\text\civ4gametext_wolfshanze.xml)
LoadCivXml (xml\text\civ4plotlistenhancementsinfo.xml)
LoadCivXml (xml\text\civ4gametext_unofficialpatch.xml)
LoadCivXml (xml\text\inquisitor_civ4gametext.xml)
LoadCivXml (xml\text\position_of_score_civ4gametext.xml)
LoadCivXml (xml\text\reminder options.xml)
LoadCivXml (xml\text\civ4gametext_new.xml)
LoadCivXml (xml\text\revdcmhints_civ4gametext.xml)
LoadCivXml (xml\text\bug_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_bts_patchtext.xml)
LoadCivXml (xml\text\revhelptext_civ4gametext.xml)
LoadCivXml (xml\text\civ4lerts_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_lorleaders.xml)
LoadCivXml (xml\text\leonardos_workshop_civ4gametext.xml)
LoadCivXml (xml\text\misc text.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_civleaders.xml)
LoadCivXml (xml\text\mapfinder options.xml)
LoadCivXml (xml\text\eventsigns_civ4gametext.xml)
LoadCivXml (xml\text\strategy1_civ4gametext.xml)
LoadCivXml (xml\text\plot list enhancements options.xml)
LoadCivXml (xml\text\advanced scoreboard options.xml)
LoadCivXml (xml\text\sevopedia_civ4gametext.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_units.xml)
LoadCivXml (xml\text\civ4gametext_warlords_objects.xml)
LoadCivXml (xml\text\civ4gametext_dcm.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_bonuses.xml)
LoadCivXml (xml\text\revolution_init_civ4gametext.xml)
LoadCivXml (xml\text\bug city screen options.xml)
LoadCivXml (xml\text\civ4gametext_warlords_diplomacy.xml)
LoadCivXml (xml\text\civ4gametext_bts_fixed.xml)
LoadCivXml (xml\text\revolutionscreentext_civ4gametext.xml)
LoadCivXml (xml\text\woc_civ4gametextinfos.xml)
LoadCivXml (xml\text\bull actions options.xml)
LoadCivXml (xml\text\spymod_civ4gametextinfos.xml)
LoadCivXml (xml\text\bull city bar options.xml)
LoadCivXml (xml\text\civ4diplomacytext_lor_leaders.xml)
LoadCivXml (xml\text\civ4gametext_betterbtsai.xml)
LoadCivXml (xml\text\woc_civ4gametext_objects_bts.xml)
LoadCivXml (xml\text\autosave options.xml)
LoadCivXml (xml\text\civ4gametext_sham.xml)
LoadCivXml (xml\text\strategy overlay options.xml)
LoadCivXml (xml\text\civ4gametextchanged_bts.xml)
LoadCivXml (xml\text\civ4gametext_bts_fourthroundtranslation.xml)
LoadCivXml (xml\text\civ4gametext_bts_patchtext.xml)
LoadCivXml (xml\text\civ4gametext_cities_bts.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_bts.xml)
LoadCivXml (xml\text\civ4gametext_bts_fixed.xml)
LoadCivXml (xml\text\civ4gametext_diplomacytext_bts.xml)
LoadCivXml (xml\text\civ4gametext_bts.xml)
LoadCivXml (xml\text\civ4gametext_events_bts.xml)
LoadCivXml (xml\text\civ4gametext_objects_bts.xml)
LoadCivXml (xml\text\civ4gametext_warlords_diplomacy.xml)
LoadCivXml (xml\text\civ4gametext_warlords_civ4changed.xml)
LoadCivXml (xml\text\civ4gametext_warlords.xml)
LoadCivXml (xml\text\civ4gametext_warlords_changed.xml)
LoadCivXml (xml\text\civ4gametext_warlords_objects.xml)
LoadCivXml (xml\text\civ4gametext_warlords_civilopedia.xml)
LoadCivXml (xml\text\civ4gametext_warlords_strategy.xml)
LoadCivXml (xml\text\civ4gametextinfos.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_concepts.xml)
LoadCivXml (xml\text\civ4gametext_help.xml)
LoadCivXml (xml\text\civ4diplomacytext.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_buildingsprojects.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_units.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_bonuses.xml)
LoadCivXml (xml\text\civ4gametextinfos_cities.xml)
LoadCivXml (xml\text\civ4gametextinfos_objects.xml)
LoadCivXml (xml\text\civ4gametext_strategy.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_techs.xml)
LoadCivXml (xml\text\civ4gametext_misc1.xml)
LoadCivXml (xml\text\civ4gametextinfos_greatpeople.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_civicsreligion.xml)
LoadCivXml (xml\text\civ4gametext_new.xml)
LoadCivXml (xml\text\civ4gametext_civilopedia_civleaders.xml)
LoadCivXml (xml/GlobalTypes.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Interface.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Movie.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Misc.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Unit.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Building.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Civilization.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Leaderhead.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Bonus.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Improvement.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Terrain.xml)
LoadCivXml (xml\Art/CIV4ArtDefines_Feature.xml)
LoadCivXml (xml\BasicInfos/CIV4BasicInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4NewConceptInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4CityTabInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4CalendarInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4SeasonInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4MonthInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4DenialInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4InvisibleInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4UnitCombatInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4DomainInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4UnitAIInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4AttitudeInfos.xml)
LoadCivXml (xml\BasicInfos/CIV4MemoryInfos.xml)
LoadCivXml (xml\GameInfo/CIV4GameSpeedInfo.xml)
LoadCivXml (xml\GameInfo/CIV4TurnTimerInfo.xml)
LoadCivXml (xml\GameInfo/CIV4WorldInfo.xml)
LoadCivXml (xml\GameInfo/CIV4ClimateInfo.xml)
LoadCivXml (xml\GameInfo/CIV4SeaLevelInfo.xml)
LoadCivXml (xml\Interface/CIV4AdvisorInfos.xml)
LoadCivXml (xml\Terrain/CIV4TerrainInfos.xml)
LoadCivXml (xml\GameInfo/CIV4EraInfos.xml)
LoadCivXml (xml\Units/CIV4UnitClassInfos.xml)
LoadCivXml (xml\GameInfo/CIV4SpecialistInfos.xml)
LoadCivXml (xml\GameInfo/CIV4VoteSourceInfos.xml)
LoadCivXml (xml\Technologies/CIV4TechInfos.xml)
LoadCivXml (xml\Terrain/Civ4FeatureInfos.xml)
LoadCivXml (xml\GameInfo/CIV4ReligionInfo.xml)
LoadCivXml (xml\Units/CIV4AnimationInfos.xml)
LoadCivXml (xml\Units/CIV4AnimationPathInfos.xml)
LoadCivXml (xml\Units/CIV4PromotionInfos.xml)
LoadCivXml (xml\Civilizations/CIV4TraitInfos.xml)
LoadCivXml (xml\GameInfo/CIV4GoodyInfo.xml)
LoadCivXml (xml\GameInfo/CIV4HandicapInfo.xml)
LoadCivXml (xml\GameInfo/CIV4CursorInfo.xml)
LoadCivXml (xml\GameInfo/CIV4CivicOptionInfos.xml)
LoadCivXml (xml\GameInfo/CIV4UpkeepInfo.xml)
LoadCivXml (xml\GameInfo/CIV4HurryInfo.xml)
LoadCivXml (xml\Buildings/CIV4SpecialBuildingInfos.xml)
LoadCivXml (xml\GameInfo/CIV4CultureLevelInfo.xml)
LoadCivXml (xml\Terrain/CIV4BonusClassInfos.xml)
LoadCivXml (xml\GameInfo/CIV4VictoryInfo.xml)
LoadCivXml (xml\Terrain/CIV4BonusInfos.xml)
LoadCivXml (xml\GameInfo/CIV4CorporationInfo.xml)
LoadCivXml (xml\Misc/Civ4RouteInfos.xml)
LoadCivXml (xml\Terrain/CIV4ImprovementInfos.xml)
LoadCivXml (xml\Buildings/CIV4BuildingClassInfos.xml)
LoadCivXml (xml\Buildings/CIV4BuildingInfos.xml)
LoadCivXml (xml\Units/CIV4SpecialUnitInfos.xml)
LoadCivXml (xml\GameInfo/CIV4ProjectInfo.xml)
LoadCivXml (xml\GameInfo/CIV4CivicInfos.xml)
LoadCivXml (xml\Civilizations/CIV4LeaderHeadInfos.xml)
LoadCivXml (xml\Interface/CIV4ColorVals.xml)
LoadCivXml (xml\Interface/CIV4PlayerColorInfos.xml)
LoadCivXml (xml\Misc/CIV4EffectInfos.xml)
LoadCivXml (xml\Units/CIV4EntityEventInfos.xml)
LoadCivXml (xml\Units/CIV4BuildInfos.xml)
LoadCivXml (xml\Units/CIV4UnitInfos.xml)
LoadCivXml (xml\Civilizations/CIV4UnitArtStyleTypeInfos.xml)
LoadCivXml (xml\Civilizations/CIV4CivilizationInfos.xml)
LoadCivXml (xml\GameInfo/CIV4Hints.xml)
LoadCivXml (xml\Art/CIV4MainMenus.xml)
LoadCivXml (xml\Interface/CIV4SlideShowInfos.xml)
LoadCivXml (xml\Interface/CIV4SlideShowRandomInfos.xml)
LoadCivXml (xml\Interface/CIV4WorldPickerInfos.xml)
LoadCivXml (xml\Interface/Civ4SpaceShipInfos.xml)
LoadCivXml (xml\Terrain/CIV4YieldInfos.xml)
LoadCivXml (xml\GameInfo/CIV4CommerceInfo.xml)
LoadCivXml (xml\GameInfo/CIV4GameOptionInfos.xml)
LoadCivXml (xml\GameInfo/CIV4MPOptionInfos.xml)
LoadCivXml (xml\GameInfo/CIV4ForceControlInfos.xml)
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\aticfx32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiu9pag.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdag.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\dbghelp.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdva.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\amdihk32.dll', Binary was not built with debug information.
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\amdihk32.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdva.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\dbghelp.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdag.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiu9pag.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\aticfx32.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\DXCore.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\dwmapi.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\d3d9.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\aticfx32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiu9pag.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdag.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\dbghelp.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdva.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\amdihk32.dll', Binary was not built with debug information.
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\amdihk32.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdva.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\dbghelp.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdag.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiu9pag.dll'
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\aticfx32.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\aticfx32.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiu9pag.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdag.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\dbghelp.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\System32\DriverStore\FileRepository\u0359560.inf_amd64_e9aea143c12eff0e\B358570\atiumdva.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\amdihk32.dll', Binary was not built with debug information.
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\d3dx9_31.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\d3dx9_31.dll'
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\d3dx9_31.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\cryptsp.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\rsaenh.dll', Cannot find or open the PDB file
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
First-chance exception at 0x75e0cc12 in Civ4BeyondSword.exe: 0x0000071A: The remote procedure call was cancelled.
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\wtsapi32.dll'
First-chance exception at 0x75c51cec in Civ4BeyondSword.exe: 0xC000000D: An invalid parameter was passed to a service or function.
The thread 'Miles Stream' (0x1308) has exited with code 0 (0x0).
'Civ4BeyondSword.exe': Unloaded 'C:\Windows\SysWOW64\avrt.dll'
The thread 'Win32 Thread' (0x1a68) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x744) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x10d0) has exited with code 0 (0x0).
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssmp3.asi'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssvoice.asi'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdolby.flt'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssds3d.flt'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\mssdsp.flt'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msseax.flt'
'Civ4BeyondSword.exe': Unloaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Miles\win32\msssrs.flt'
The thread 'Miles Timer' (0x1328) has exited with code 0 (0x0).
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\psapi.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x14b0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x221c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x228c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x19e0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf2c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x20e0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1850) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x19d8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1560) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x458) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x2254) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x9cc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x704) has exited with code 0 (0x0).
DLL_PROCESS_DETACH
'Civ4BeyondSword.exe': Loaded 'C:\Windows\SysWOW64\netutils.dll', Cannot find or open the PDB file
The program '[8420] Civ4BeyondSword.exe: Native' has exited with code 0 (0x0).


Same result as yesterday https://forums.civfanatics.com/thre...g-error-code-in-dmp-file.679216/post-16346339
 
Output looks good:
Code:
DLL Load:Mods\LoR Mod\Assets\CvGameCoreDLL.dll
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Lor Mod\Assets\CvGameCoreDLL.dll',
Symbols loaded.
Those are all the symbols we need.

Python errors is not good. Your partial compiler output (in your afxres.h post) doesn't include BetterBTSAI.cpp, so, apparently, you've compiled the original BtS source code linked in Leoreth's thread. The resulting DLL should be compatible with any mod that doesn't have a custom DLL, but, for running LoR or any mod based on LoR, you'd need to compile the source code of that particular mod.
 
Output looks good:
Code:
DLL Load:Mods\LoR Mod\Assets\CvGameCoreDLL.dll
'Civ4BeyondSword.exe': Loaded 'C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Lor Mod\Assets\CvGameCoreDLL.dll',
Symbols loaded.
Those are all the symbols we need.

Python errors is not good. Your partial compiler output (in your afxres.h post) doesn't include BetterBTSAI.cpp, so, apparently, you've compiled the original BtS source code linked in Leoreth's thread. The resulting DLL should be compatible with any mod that doesn't have a custom DLL, but, for running LoR or any mod based on LoR, you'd need to compile the source code of that particular mod.
I could try with dave uk's source code?
 
Yes. Question is whether you should kick out his project files (the vcxproj, makefile, CvGameCoreDLL.rc, not sure what else he has in there) and replace them with Leoreth's or try using dave_uk's files (i.e. setting the PSDK etc. paths in his makefile). The files I had uploaded had already replaced dave_uk's project files with more recent ones, but that somehow hadn't worked out for you.

You could also try, just as a test, placing the DLL you have now in a new "empty" mod (just with an Assets folder for the DLL) and then load that mod (via mod=Mods\MyMod or so in the VS debug config) with the debugger attached.
 
Yes. Question is whether you should kick out his project files (the vcxproj, makefile, CvGameCoreDLL.rc, not sure what else he has in there) and replace them with Leoreth's or try using dave_uk's files (i.e. setting the PSDK etc. paths in his makefile). The files I had uploaded had already replaced dave_uk's project files with more recent ones, but that somehow hadn't worked out for you.

You could also try, just as a test, placing the DLL you have now in a new "empty" mod (just with an Assets folder for the DLL) and then load that mod (via mod=Mods\MyMod or so in the VS debug config) with the debugger attached.
OK, I'll try your first suggestion first.
I'll have a good look at the files and see what similarities and differences I can see.
Regarding the second suggestion, surely the DLL compiled is only relevant to the Assets and source it's compiled with? Leading me to think that I need a working DLL compiled with dave uk's source and Assets?
If I can get the dave uk assets etc compiled, I'll be able to get the game working with VS.
Gonna have to try all this later on today, but many, many thanks for your help so far.
 
Regarding the second suggestion, surely the DLL compiled is only relevant to the Assets and source it's compiled with? Leading me to think that I need a working DLL compiled with dave uk's source and Assets?
By "assets" I mean any file that the game loads from an "Assets" folder. The compiled DLL would be one such file, the other assets are mostly XML and Python files and artwork. None of those enter into the DLL. The DLL is only compiled from the C++ source code (.h, .cpp files), and that source code itself is not loaded by the game at all. So, to compile a DLL for dave_uk's mod you'd only need his C++ sources (and external libraries such as Boost and a build system - "project files" - that tells the compiler where the sources and libraries are located and for integration with the IDE; all this isn't specific to a particular mod - though some large mods include additional libraries). The interaction between the DLL and the XML and Python assets only happens at run time, once the mod is loaded.
Gonna have to try all this later on today, but many, many thanks for your help so far.
I generally don't give up unless the other person does. This has probably already been more trouble than it's worth, but we couldn't really have known that upfront. And it's mostly been your trouble. (And I've learned a few small things, or at least have come closer to understanding them.)
 
This has probably already been more trouble than it's worth,
No, not at all. I'm determined to get to the bottom of this and get my game working. I'm learning stuff along the way.
Python errors is not good. Your partial compiler output (in your afxres.h post) doesn't include BetterBTSAI.cpp, so, apparently, you've compiled the original BtS source code linked in Leoreth's thread.
I've been having a look at the files that Visual Studio uses. dave uk's CvGameCoreDLL.vcxproj does not have BetterBTSAI.cpp in the include or compile. The list of files is almost identical to Leoreth's. dave uk's source has a <ClCompile Include="CvTextScreens.cpp" /> and a <ClCompile Include="_precompile.cpp" /> and a <ResourceCompile Include="CvGameCoreDLL.rc" /> which Leoreth's doesn't,.
Question is whether you should kick out his project files (the vcxproj, makefile, CvGameCoreDLL.rc, not sure what else he has in there) and replace them with Leoreth's or try using dave_uk's files (i.e. setting the PSDK etc. paths in his makefile).
At this point, I'm going to just make methodical changes to dave uk source files, but not sure where to start.
 
Top Bottom