RemedyBG » Forums » PE header is invalid
davidoro
3 posts
#17332 PE header is invalid
5 months, 2 weeks ago Edited by davidoro on Feb. 4, 2019, 1:34 a.m. Reason: Initial post

Hi there,

I tried to run my executable with remedy but I got this error:



Am I doing something wrong?
mmozeiko
Mārtiņš Možeiko
1944 posts / 1 project
#17333 PE header is invalid
5 months, 2 weeks ago

I believe this is reported here: https://remedybg.handmade.network...ums/t/3669-remedybg_0.1.4.0#17326

Check that you are building 64-bit executable as 32-bit one is not supported.
davidoro
3 posts
#17353 PE header is invalid
5 months, 2 weeks ago

Whoops, that's exactly it. Compiling with 64bit flag fixed it.

Thanks!
x13pixels
125 posts / 1 project

None

#17366 PE header is invalid
5 months, 2 weeks ago

The upcoming release has a more sensible error message for this. Thanks for answering Mārtiņš.
TheMole
2 posts
#17382 PE header is invalid
5 months, 2 weeks ago

Hi there,
I also just got this message trying to debug a project at work. Will RemedyBG support 32bit debugging some day?
x13pixels
125 posts / 1 project

None

#17384 PE header is invalid
5 months, 2 weeks ago

At least not in the near term. It would be like writing another debugger, essentially.