Discovered even more about this crash. I have included a zip file containing the contents of everything you need. It has 3 projects: one which causes the crash, one which doesn't, and another that compiles successfully.
http://dl.dropbox.com/u/1032339/v8-lib.zip
When you unzip the file, place /include, /src, v8.dll, and v8.lib in C:/v8-lib on your hard drive.
Place the contents of _place_contents_in_Loading_World_folder in EsenthelEngineSDK/Tutorials - Esenthel Script/Loading World.
The first application includes the V8 library, whereas the second does not.
--------------------
Differences between the 3 projects:
I didn't realize I was including the headers from the wrong folder (from /src instead of /include of the V8 library) when I first tried using Code Editor before switching to Visual Studio. The
only way I can reproduce the crash is by using the headers from /src. This is the only difference between the (crash) and (no crash) projects.
I discovered how to successfully include the library: you have to include the header files using
relative paths instead of full paths in order to eliminate the "static keyword" error. (
This is a bug, no?) This is the only difference between the (no crash) and (compiles) projects.
--------------------
If you load the (crash) project into Code Editor, then switch from the first application to the second and press Build, it will crash. Now, this project uses the wrong headers (from /src instead of /include, as I said earlier). I suppose this has to do with why it is crashing..? I know they're the wrong header files, but still, I don't believe it should cause a crash.