NO

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

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #30 on: December 11, 2024, 01:11:21 PM »
I concur with TimoVJL,

Compiled without error.  Program ran and made the window.  Pelles C v12.

I'll try V11 shortly.....

John Z

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #31 on: December 11, 2024, 01:11:57 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
I use Swedish in the code but not specific Swedish characters.

I tested your program, it worked fine, no errors at all!
Maybe I should go back to the original code to open a window. I use essentially the same code but embedded in a different code.
I'm guessing that between v10 and v11 something has changed so that some code in my files is not working correctly.
The strange thing is that it always works the second time I click "Run".

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #32 on: December 11, 2024, 01:15:03 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.
I use Comodo. I get the same error when I turn off Comodo.

If the code works for you, maybe v11 is at fault.
I would like to update to v12, but then I get English text. Is it also available in Swedish?

Offline alderman2

  • Member
  • *
  • Posts: 61
    • Xmag
Re: Error code: -1073741819
« Reply #33 on: December 11, 2024, 01:17:09 PM »
I concur with TimoVJL,

Compiled without error.  Program ran and made the window.  Pelles C v12.

I'll try V11 shortly.....

John Z
Glad my code works, must be wrong with me then or v11.
I'm going away for a while now, I'll be back tonight.

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #34 on: December 11, 2024, 01:24:34 PM »
I think that Timo is right
Stop your antivirus
run your program it must run at the first time

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

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #35 on: December 11, 2024, 01:27:10 PM »

Glad my code works, must be wrong with me then or v11.
I'm going away for a while now, I'll be back tonight.

Works in V11 - Compiles, and runs.

Good news - and bad news .... looking like install or system issue.

John Z

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2114
Re: Error code: -1073741819
« Reply #36 on: December 11, 2024, 01:38:20 PM »
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Offline John Z

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

The strange thing is that it always works the second time I click "Run".

Can you clarify this?  When you "click RUN" the second time does Pelle C show it is again compiling the program before it 'runs' or does the exe just run?  Just want to be sure.

After the first "run" which appears to fail have you looked into the project directory to see if a new .exe was actually still created?


After clicking 'RUN" second time can you go into the project directory, and click the exe and it runs?

John Z

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #38 on: December 11, 2024, 01:49:43 PM »
Avast proceeds like this.
You launch your program, it analyze it and very often it kills the program
If no virus detected the second time it runs.


I have a problem with asm language and avast it deletes my program after link.
--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #39 on: December 11, 2024, 02:00:46 PM »
I would like to update to v12, but then I get English text. Is it also available in Swedish?

Yes Version 12 supports Swedish. Click "Additional Translations" during setup.

John Z

Offline iwrbc

  • Member
  • *
  • Posts: 22
Re: Error code: -1073741819
« Reply #40 on: December 11, 2024, 02:25:46 PM »
Hi, just to let you know: this morning I updated my Windows version (11 Home, 24H2) and now I get exactly this error. I changed nothing in the program I was working on. I also ran the test of Alderman; in the 'release' compilation mode I do NOT get the error, but in the 'debug' compilation mode I do. So now instead of pushing F5 just once, I now need to do it for every source file. It is not a big problem, but a bit annoying.

My virusscanner does not detect anything in my program so that is not the issue. Virusscanner was worried about the mall.exe of Alderman.
Wilko
« Last Edit: December 11, 2024, 02:29:03 PM by iwrbc »

Offline John Z

  • Member
  • *
  • Posts: 920
Re: Error code: -1073741819
« Reply #41 on: December 11, 2024, 02:28:56 PM »
Hi iwrbc,

Can you try again after disabling ALL ADD-INs?  Could you also try the Hello project I attached previously, maybe turn on DEBUG for it too??

John Z

@ Alderman2
 Are you on windows 24H2 (which is now rolling out to all users)
I'm on 23H2 currently.
« Last Edit: December 11, 2024, 02:37:58 PM by John Z »

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #42 on: December 11, 2024, 02:37:10 PM »
I have read bad news about this update
--------------------------------
Kenavo

Offline iwrbc

  • Member
  • *
  • Posts: 22
Re: Error code: -1073741819
« Reply #43 on: December 11, 2024, 02:38:07 PM »
Thanks for your response. When I disable all add-ins, the error persists. Also after restarting. Using Pelles C V11, by the way.
Wilko

Offline HellOfMice

  • Member
  • *
  • Posts: 203
  • Never be pleased, always improve
Re: Error code: -1073741819
« Reply #44 on: December 11, 2024, 02:39:50 PM »
And you disable the virus scanner?
--------------------------------
Kenavo