The application was unable to start correctly (0xc000007b)

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

The application was unable to start correctly (0xc000007b)

Post by vagblad »

Hello all,

We are getting this error when running an application under windows 10. Tested on 3 different pcs. It's an old dos app compiled with HMG to run under windows. Runs fine on Windows Server 2012.
Any idea what might be the problem. I tried googling it and says that it might be a problem with VC++ packages. Downloaded and installed them but the problem still persists.

Thanks in advance for any help!
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: The application was unable to start correctly (0xc000007b)

Post by Rathinagiri »

Can you create a simple example and share here?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: The application was unable to start correctly (0xc000007b)

Post by dragancesu »

User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: The application was unable to start correctly (0xc000007b)

Post by vagblad »

dragancesu wrote: Tue May 18, 2021 3:03 pm how to fix on win 10 https://www.youtube.com/watch?v=kzYbDPxdMbo
Thank you Dragan. The link helped. I downloaded the "All in one runtimes" zip https://www.techpowerup.com/download/vi ... l-in-one/
I then installed all the x64 packages (although i had most of them already installed except the 2005 and 2008 version) and nothing happened still same error. After that i installed the x86 packages and the program is now working perfectly.
That was on a x64 version of Windows 10 by the way. I am a bit confused why the x86 packages seemed to fix the issue.

Anyway though it worked and thank you for your help. Thanks to Rathi as well for the interest
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
Claudio Ricardo
Posts: 367
Joined: Tue Oct 27, 2020 3:38 am
DBs Used: DBF, MySQL, MariaDB
Location: Bs. As. - Argentina

Re: The application was unable to start correctly (0xc000007b)

Post by Claudio Ricardo »

Hi Vagblad...
This is because your program is compiled for 32 bits (x86)
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: The application was unable to start correctly (0xc000007b)

Post by vagblad »

Claudio Ricardo wrote: Wed May 19, 2021 8:51 pm Hi Vagblad...
This is because your program is compiled for 32 bits (x86)
Indeed that is true but the same thing does not happen with Minigui Extended. Thats why i was a bit surprised. But what you say makes sense of course. Thank you.
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
martingz
Posts: 395
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: The application was unable to start correctly (0xc000007b)

Post by martingz »

Typically you'll see this error is because there's a mixing of 32-bit and 64-bit versions of Windows or applications

I think you use a mixed lib 32 and 64 bits
Post Reply