Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program runs OK in W10 Pro but not in Home

Status
Not open for further replies.

AlanJT

Programmer
Aug 11, 2020
7
0
0
GB
I created a few programs using gfortran in Windows 10 Pro, where they work well, but when I transferred the .exe files to my W10 Home laptop they all failed to start. I've tried a few ideas, such as compatibility with earlier Windows versions, but no success.

When I tried to run one of my programs (Chat.exe) the following message appeaared:

Chat.exe - Application Error
The application was unable to start correctly (0xc000007b).
Click OK to close the application.

I had no option but to comply!

I opened the Event Viewer (I had to Google how to do it) but I didn't understand what I saw. However, I right-clicked the most recent entry in the list and found the following information:

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{C2F03A33-21F5-47FA-B4BB-156362A2F239} and APPID{316CDED5-E4AE-4B15-9113-7055D84DCC97} to the user DESKTOP-71CBE0F\alant SID (S-1-5-21-3699571922-1049258911-776565558-1001) from address LocalHost (Using LRPC) running in the application container Microsoft.Windows.ShellExperienceHost_10.0.19041.423_neutral_neutral_cw5n1h2txyewy SID (S-1-15-2-155514346-2573954481-755741238-1654018636-1233331829-3075935687-2861478708). This security permission can be modified using the Component Services administrative tool.

From this I think it is telling me that some aspect of my devcelopment machine is set to a value that makes it incompatible with my laptop, but maybe someone will tell me otherwise. If anyone needs more information, please give me detailed instructions as I am not too familiar with the inner workings of Windows.

The message mentions the Component Services administrative tool. How do I access that and how should I use it? Would I need to use it on my development machine or the laptop?

I'd appreciate whatever help someone could give me.
 
Are both machines the same architecture - both 32 or 64 bit.

Does it use any DLLs? On your source machine, pop up a cmd prompt and unset the path

set path=

Then run your program - does it work?
If it doesn't work, pop up another cmd prompt and see what is on your path - is it pointing to any gnu libraries.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top