Dev c ошибка 216

1 / 1 / 0

Регистрация: 21.01.2018

Сообщений: 8

1

24.01.2018, 19:44. Показов 5312. Ответов 3


Студворк — интернет-сервис помощи студентам

———————————
Failed to execute «C:Users╒╬╟▀╚═Desktop┴хч√ь*ээ√щ1.exe»:
Error 216: ▌Єр тхЁёш* «%1» эх ёютьхёЄшьр ё тхЁёшхщ Windows, ЁрсюЄр■∙хщ эр ¤Єюь ъ
юья№■ЄхЁх. ╧ЁютхЁ№Єх ётхфхэш* ю ёшёЄхьх, р чрЄхь юсЁрЄшЄхё№ ъ шчфрЄхы■ яЁюуЁрььэ
юую юсхёяхўхэш*.

Для продолжения нажмите любую клавишу . . .

Когда я компилирую, и всё верно, мне выдаёт такую ошибку в консоли. Гуглил, не помогло



0



139 / 67 / 46

Регистрация: 15.10.2015

Сообщений: 308

24.01.2018, 20:03

2

Loshahg, Предоставте код программы.



0



Модератор

Эксперт С++

13319 / 10453 / 6253

Регистрация: 18.12.2011

Сообщений: 27,904

24.01.2018, 20:45

3

Лучший ответ Сообщение было отмечено Loshahg как решение

Решение

Если поменять кодировку, то там написано

Failed to execute «C:UsersХОЗЯИНDesktopБезымянный1.exe»:
Error 216: Эта версия «%1» не совместима с версией Windows, работающей на этом к
омпьютере. Проверьте сведения о системе, а затем обратитесь к издателю программн
ого обеспечения



1



1 / 1 / 0

Регистрация: 21.01.2018

Сообщений: 8

26.01.2018, 14:34

 [ТС]

4

Reavolt, Это не зависит от кода, такая ошибка при любом правильном коде выскакивает. У меня версия 5.11.



1



New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Open

GumpChaos opened this issue

Nov 16, 2020

· 6 comments

Labels

question

Further information is requested

Comments

@GumpChaos

From https://github.com/Embarcadero/Dev-Cpp/releases, and download Embarcadero_Dev-Cpp_6.2_TDM-GCC_9.2_Setup.zip.
Then I installed it successfully on my Windows-10 Education, 32-bit Operating system, x64-based processor.
Then I test it with a very simple Cpp code to calculate the area of a rectangle.
the compilation is also successful. However ,when I press F10 to run it, the systems says:
«failed to execute C:***6.rectangle.exe»:
Error 216:This version of %1 is not compatible with the version of Windows you’re running. Check your computer’s system information and then contact the software publisher.

Do you have any idea about this issue?

Thank you very much!

Gump

@FMXExpress

Post the c++ code or project you used to generate the error?

@FMXExpress

Re-reading it. It sounds like you compiled a 64bit EXE and tried to run it on 32bit Windows. Change to the 32bit compile.

@GumpChaos

Hi FMXExpress,

Here is the code I used:

#include
using namespace std;

int main() {

int a, b;
cin >> a >> b;
cout << 2 * (a + b) << endl;
cout << a * b << endl;
return 0;

}

It is very simple.
I will follow your suggestion to set it to 32-bit compilation. Could you please tell me how to set the 32-bit compilation? This is my first time to use DevC++.
Thank you very much!

Gump

@GumpChaos

@FMXExpress

There is a drop down box at the top that says TDM-GCC 9.2.0 64-Bit Release. Change it to TDM-GCC 9.2.0 32-Bit Release.

@bushrakhalid802

There is a drop down box at the top that says TDM-GCC 9.2.0 64-Bit Release. Change it to TDM-GCC 9.2.0 32-Bit Release.

this didn’t work for me.is there any other way?

Labels

question

Further information is requested

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Closed

yanghaku opened this issue

Oct 20, 2020

· 8 comments

Closed

Runtime Error 216 at 00108F9A

#32

yanghaku opened this issue

Oct 20, 2020

· 8 comments

Comments

@yanghaku

when I try Dev-cpp v6.0, I changed the appearance «windows 10» to «windows classic» and closed the window, this error occurred .

@Tony-LYX

yes,and I remember the error information is «can’t write to the file codetheme.ini»

@FMXExpress

closecrash
Well the good news is I can duplicate the crash.

@pmcgee69

I suspect any change to Windows Classic will do this. I’ve tried 4.

@pmcgee69

There seems to be an issue around one or two unicode strings leaking … length depending on the style.

eg WinClassic to Material Pattens to Glossy … Material Pattens to Glossy to Win10 … Glossy to Win10 to WinClassic …

wc 2 mp 2 gl.pdf
mp 2 gl 2 w10.pdf
gl 2 w10 2 wc.pdf

Edit: this is/was a separate issue around the Environment Options window leaking on close.

@pmcgee69

(I don’t know if this is the place to put this …)
The issue is around the «Windows Classic» option not playing well with the other styles. The repository calls TStyleManager.TrySetStyle() in main, EnviroFrm, and LangFrm. In the last two, calling only if Style /= 0 (Win Classic)
In main, it calls regardless of Style.

MadExcept identifies a null pointer ref if WC loads as the starting style. And the 216 error occurs on exit when changing to WC.

One approach might be to put the same (Style > 0) check in main, and advise the program needs a restart to adopt it.
Or … does it need to be an available option at all? It seems unnecessary to keep it.

mad 1

@pmcgee69

Possible alternative : this demo ( Vcl Styles Utils System Menu (Demo App) ) comes from the vcl-styles-utils author, and is already in the dev-cpp repo at: C:Users…..DocumentsGitHubDev-Cpp-masterSourceVCLvcl-styles-utilsDemos

It includes ‘Windows’ in the list of styles … and works without issue in the demo app.

VCL styles demo

@FMXExpress

I left the «Windows» Style in for people who didn’t want a style. The «Windows» style doesn’t use the style engine at all which is why in the Style select dialog the «Windows» style doesn’t draw the preview styles.

I think maybe this issue is an RTL bug related to a TCheckBox somehow. That VCL Styles Utils demo doesn’t have a TCheckBox in it right? In your error it also lists TCheckListBox.

@pmcgee69

I kinda ripped the code apart trying to figure out the Checkbox thing … but in the end, maybe it has to do with trying to unregister a ‘Windows’ style hook(?), which I’m guessing is illegal (?)

I have made an experimental change to my fork. By adding the sys-menu styles option, and using FormClose to change the form to invisible, and from ‘Windows’ style to another before shutting down, it eliminates the 216 error.

The same FormClose cheat doesn’t work when using the existing EnviroFrm to change styles.
I haven’t changed any icons / images in my version (yet).

——> pmcgee69@bd195df

EnviroFrm uses CheckLst, but I believe I have compiled it with that form fully removed and still got the 216.
SynHighlighterManager says is has a design-time-only checklst … but I also removed all highlighting and still got 216.

Я сохранил файл и успешно связал его, но когда я запускаю его, ввод-вывод запуска показывает:

****----**jGRASP wedge2 error: could not run**

("C:Users\***Documents\***codesuperbowl.exe" ).

**----   error # 216 "(null)".**

----jGRASP: operation complete.****

Как я могу это исправить ?? Я могу запустить другие программы, сохраненные в той же папке.
И я думаю, что с моим кодом все в порядке:

#include <iostream>

int main()
{
const unsigned int TOUCHDOWN=6;
const unsigned int FIELD_GOAL=3;
const unsigned int POINT_AFTER_TOUCHDOWN=1;
const unsigned int SAFETY=2;
std::cout << TOUCHDOWN + FIELD_GOAL + POINT_AFTER_TOUCHDOWN + SAFETY << "n";
std::cout << "Carolina Panthers win" << std::endl;
return 0;
}

-1

Решение

216 — несоответствие типа машины.

Можете ли вы запустить исполняемый файл, дважды щелкнув по нему (снаружи jGRASP)?

0

Другие решения

Других решений пока нет …

          Ошибка Windows 10 System Dev c ++: решение 216

1. Эта ситуация может быть связана с обновлением системы. В этом случае система обновлений перезапускается, чтобы решить эту проблему. 1.
1. Найдите в настройках обновление системы Windows;

2. Щелкните опцию «Центр обновления Windows», чтобы обновить систему;

3. Просто перезагрузите компьютер.

2. Другая ситуация: вы загрузили программное обеспечение, такое как ускорители онлайн-игр. В этом случае удалите соответствующее программное обеспечение и плагины.

Например, «Tencent Online Game Accelerator», найдите соответствующее место на вашем компьютере и удалите его.

  • Deus ex mankind divided произошла ошибка при распаковке
  • Deus ex mankind divided ошибка при запуске приложения 0xc0000142 как исправить
  • Deus ex mankind divided ошибка драйвера дисплея
  • Deus ex mankind divided не запускается на windows 10 ошибка 0xc0000142
  • Deus ex mankind divided выдает ошибку при запуске