D2Ex2
D2Ex2 copied to clipboard
My compiled .dll makes the game crash every time I press escape
Throwing a UNHANDLED EXCEPTION error (c0000005) every time I'm ingame and press escape
Compiled under VS2015 with the v140 toolset and the Release 1.13d config
had to remove the build.h include and BUILDNO mentions because i couldn't find them in the git source
other than that everything is left at default including the stdAfx flags
here's the .dll https://mega.nz/#!ULhF3CbK!BaKucJSshk_YaJlZtVQ5Tu2b0AOUBjDN8bWnrA2fLcQ
here's the crashlog https://pastebin.com/rpJ82s3Y
other peoples' D2Ex2.dlls i found floating about work just fine
edit: seems to be related to not using D2EX_MINIMALRES and it having a problem with enumerating all my systems resolutions
If you had removed that line
https://github.com/lolet/D2Ex2/blob/4aa2418628069a6d43b1261e1a85e6979b247bf8/ExOptions.cpp#L338
, __BUILDNO__, __DATE__, __TIME__,
You probably forgot about string formatting few lines above
ExScreen::DrawTextEx(2, 10, 5, 0, 5, "D2Ex2/Build %s%d.%s.%s.%s,",
you can use build.h from another release, or just do a
#define __BUILDNO__ 0000
in stdafx.h