Forum > Operating Systems

what is Erro Code 0xc000007b ?

<< < (2/3) > >>

Thaddy:
The latter is not true. It can be caused if the image or one of the components used (dll, ocx) has insufficient rights to run. That would make it an invalid image for user mode context.
To debug, read this tech blog:
https://blogs.msdn.microsoft.com/dsvc/2017/09/20/diagnosing-status_invalid_image_format-c000007b-errors/

But I give you that this is not immediately obvious from the MSDN entry itself. MS uses it sometimes as a kind of catch-all, even if their own messages have more descriptive alternatives.
This information is from Microsoft tech support itself. Their solution - in our case - was to advise to add a proper manifest.

This error is basically one that appears if it happens to propagate first.

A complete list is here: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55 but note my remarks, that can also be found on msdn.
It is well within the interpretation of invalid image. Although I think that is not the case here. I also suspect bitness mix-up.

440bx:

--- Quote from: Thaddy on July 30, 2019, 08:16:12 am ---It can be caused if the image or one of the components used (dll, ocx) has insufficient rights to run. That would make it an invalid image for user mode context.

--- End quote ---
Do you have an article from a credible source to support that statement ? ... if you do, I'd like to read it.

Thaddy:
I have many, but start here https://getalltech.com/how-to-fix-error-code-0xc000007b-windows-7-64-bit/ which is a quite reputable third party source.
Or this: https://errorcodespro.com/fix-error-code-0xc000007b-windows-7-10/
I will look up the msdn entries related. See also the msdn blog.

440bx:
I do have to give you credit for providing some links that support what you stated.

BosseB:
Found this when searching for an explanation to the erroir code I am getting when building then running the examples from this github IPC project, which uses a unit provided with FPC itself.

I have started a thread on using IPC communication on this forum. The replies steered me to the GitHub project linked above.

So I retrieved the project and built its target dll and then the demo-lazarus projects with a simple client and a server.
All using Lazarus 2.2.4/Fpc 3.2.2 on Windows 10 x64.

No matter what I do I get the error 0xc000007b when I try to start the server but not the client, both using the same dll compiled as step 1.

I wonder if there was a solution to this problem found in this thread?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version