NO

Author Topic: Error code: -1073741819  (Read 2384 times)

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #15 on: December 10, 2024, 09:37:01 PM »
Hi Alderman2,

You have misunderstood the version 8 information. Version 8 was the last version where there were separate programs for 32 bit and 64 bit and separate SDKs for each.

Starting in version 9 it was all done in one executable. All versions after 8 are one program to which can make either32 bit or 64 bit programs

When you  started an old v10 program under version 11 or 12 didn’t it ask if it should upgrade the ppj? I think I recall it should.  I notice the one you posted still says v10  Verified no .ppj change version 11 ppj still says version 10.

If all else above fails then find the smallest project that does not work correctly in version 11 zip it and post it.  Running on a different computer can help to see if it is source code, Pelles Install, or something perhaps with your computer.

John Z

Try this Hello_World program on your computer in V11.
« Last Edit: December 10, 2024, 10:03:14 PM by John Z »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2151
Re: Error code: -1073741819
« Reply #16 on: December 10, 2024, 09:56:17 PM »
compile program without optimisatios and without debug info
try to run it alone and in debugger
we like to know what is relevant for searching problem.

this might be real error code:
ffffffffc0000005, The exception code that was not handled

also OllyDbg can give own error messages and point error, if it is in executable
OllyDbg
« Last Edit: December 10, 2024, 10:02:16 PM by TimoVJL »
May the source be with you

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #17 on: December 11, 2024, 11:14:56 AM »
Hi Alderman2,

You have misunderstood the version 8 information. Version 8 was the last version where there were separate programs for 32 bit and 64 bit and separate SDKs for each.

Starting in version 9 it was all done in one executable. All versions after 8 are one program to which can make either32 bit or 64 bit programs

When you  started an old v10 program under version 11 or 12 didn’t it ask if it should upgrade the ppj? I think I recall it should.  I notice the one you posted still says v10  Verified no .ppj change version 11 ppj still says version 10.

If all else above fails then find the smallest project that does not work correctly in version 11 zip it and post it.  Running on a different computer can help to see if it is source code, Pelles Install, or something perhaps with your computer.

John Z

Try this Hello_World program on your computer in V11.
OK!
Thanks for the clarification on the role of the different versions 32bit and 64bit.
I could zip my template that I use to start new programming with. The problem is that I am using my own library of files that do not follow the correct standard. The reason is that I started building the library for my Amiga 500 in 1986. Converted this to PC in 1992 and have since built on the library and is now up to more than 800 functions. I've never had time to convert everything to the correct system. But it has always worked without problems except with 64bit. I have to redo a couple of hundred files there when I switch to 64 bit.
Well, I'll try to separate the files out of the library so it works without the whole library, zip it and upload it here. May take some time though.
Take the opportunity to thank you for your kindness in helping, that is rare these days on the internet.

NOTE:
I'm bad at English but I hope you understand what I write. I can also misunderstand text because of this.

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #18 on: December 11, 2024, 11:17:12 AM »
compile program without optimisatios and without debug info
try to run it alone and in debugger
we like to know what is relevant for searching problem.

this might be real error code:
ffffffffc0000005, The exception code that was not handled

also OllyDbg can give own error messages and point error, if it is in executable
OllyDbg
I used the debug before but stopped because I don't think it worked very well. But I'll give it another chance later.

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #19 on: December 11, 2024, 11:54:10 AM »
I use the debugger for my C and ASM programs it is very useful.
--------------------------------
Kenavo

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #20 on: December 11, 2024, 12:42:50 PM »
OK, I'll try again to use it as soon as I can.

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #21 on: December 11, 2024, 12:45:58 PM »
I used a program, Disk Monitor, which shows pocc.exe crashing:

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #22 on: December 11, 2024, 12:47:34 PM »
Attaching the dump file from Windows:

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #23 on: December 11, 2024, 12:52:02 PM »
Do you know which line or which instruction in your source code make pocc to crash ?
We could verify with our different Windows versions and POCC versions.

--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #24 on: December 11, 2024, 12:57:05 PM »
Take the opportunity to thank you for your kindness in helping, that is rare these days on the internet.

NOTE:
I'm bad at English but I hope you understand what I write. I can also misunderstand text because of this.

Your are welcome - many helpful people here  :),  2nd language or perhaps your 3rd or 4th - you are doing fine!

Please try the project I attached above it will be good to check that Pelles C is working ok with a known good, but simple window program.  If it works it would remove one uncertainty.

A thought -
Since Swedish is native language for you I'm wondering if your code contains Swedish language ?
When you open a source file does the TAB show 'filename' (UTF-8), or perhaps (UTF-16)?  There was a change I believe in support for code pages, I'm not sure when.  Now source code files can have a BOM to identify the encoding.

John Z


Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #25 on: December 11, 2024, 12:57:49 PM »
No, I don't know that!

I am now attaching a template program that I always use as a starting point when I create new programs. It has been adapted to run outside of my library. I include more than necessary to have it in place if I need it. Apologies for not always following the correct standard of C programming.
Unfortunately, my notes are in Swedish, but I hope it still works:

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #26 on: December 11, 2024, 12:59:19 PM »
John wants to learn Swedish!
--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #27 on: December 11, 2024, 01:06:04 PM »
No, I don't know that!

I am now attaching a template program that I always use as a starting point when I create new programs. It has been adapted to run outside of my library. I include more than necessary to have it in place if I need it. Apologies for not always following the correct standard of C programming.
Unfortunately, my notes are in Swedish, but I hope it still works:

Tack!

I've grabbed it and will try it out as best i can.  I'm not very experienced using templates...

John Z

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #28 on: December 11, 2024, 01:08:00 PM »
With this file it is not possible to help you.


Do you need OpenMP?
Do you need all the include files?
Maybe all the include insertion can cause a problem when compiling
--------------------------------
Kenavo

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2151
Re: Error code: -1073741819
« Reply #29 on: December 11, 2024, 01:08:35 PM »
That example didn't have any problems with Pelles C version 12.
What kind of virus scanner is in a your system ?

DeepL can always translate normal text, not always language dialects.
May the source be with you