Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My compiled .dll makes the game crash every time I press escape #10

Open
FIocker opened this issue May 2, 2017 · 2 comments
Open

My compiled .dll makes the game crash every time I press escape #10

FIocker opened this issue May 2, 2017 · 2 comments

Comments

@FIocker
Copy link

FIocker commented May 2, 2017

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

@jankowskib
Copy link
Owner

jankowskib commented May 26, 2017

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,",

@pedr0machad0
Copy link

you can use build.h from another release, or just do a
#define __BUILDNO__ 0000
in stdafx.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants