Hello,
got strange error, fatal error: Internal error: 'Access violation' at 0x00007ff72fa2ab4e.
I removed everything unnecessary from the project, but when compiling the function "int exec(PUNICODE_STRING name)" , I get this error.
The code you attached is not valid.
Please post the correct code that cause the problem.
correct code don't crashes IDE
Hi bitcoin,
I tried the code package you posted. I think maybe you took too much out.
It does not compile at all and has many error messages. I add one missing header file
but still too much is missing to troubleshoot.
As posted it does not compile, but does not crash the IDE either.
Maybe re-post with a bit more code left in?
John Z
Example was extracted from C++ code ?
Without those structs, can't test, if optimization fails.
nebet_test.c(27): error #2048: Undeclared identifier 'USER_STACK' (did you mean: ?).
nebet_test.c(29): error #2152: Unknown member 'StackReserve' of 'SECTION_IMAGE_INFORMATION (aka struct _SECTION_IMAGE_INFORMATION)' (did you mean: Reserved?).
nebet_test.c(34): error #2152: Unknown member 'StackCommit' of 'SECTION_IMAGE_INFORMATION (aka struct _SECTION_IMAGE_INFORMATION)' (did you mean: CheckSum?).
nebet_test.c(52): error #2152: Unknown member 'EntryPoint' of 'SECTION_IMAGE_INFORMATION (aka struct _SECTION_IMAGE_INFORMATION)' (did you mean: ZeroBits?).
Vergilius project (https://www.vergiliusproject.com/kernels/x64/Windows%208.1%20%7C%202012R2/Update%201/_SECTION_IMAGE_INFORMATION)
Hi bitcoin,
maybe somewhere in your code you have something alike to the following:
https://forum.pellesc.de/index.php?topic=10180.msg35039#msg35039 (https://forum.pellesc.de/index.php?topic=10180.msg35039#msg35039)
Hello!
I can post correct code , but its dont crashes IDE. I was surprised that these are not ordinary compiler / linker errors, but 'Access violation'. I thought maybe there was some internal mistake in PellesC itself. And yes, the code was copied from C++ .. moreover, the code is from windows 2000.
Hi Bitcoin,
Sympathize with your situation, but the code as posted so far just does not crash my IDE.
See attached results -
Perhaps a re-install of Pelles C should be tried?
John Z
Quote from: John Z on August 21, 2022, 04:35:56 PM
but the code as posted so far just does not crash my IDE.
This is very good! So, maybe this is my local bug.