- Posts: 15
- Thank you received: 2
- Forum
- CodeTyphon Studio
- CT Platforms Development
- [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
×
CodeTyphon Platforms (Win, GTK2/3, QT4/5, Cocoa, etc) Development, discussions and problems
Question [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
- chulwoong
-
Topic Author
- Offline
- New Member
-
Less
More
1 year 7 months ago #13463
by chulwoong
[bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error. was created by chulwoong
If I call
inStr := InputBox('Error Test','Please type any string..');
then it raised an exception error.
I checked CT 6.6 and 6.8. I experience the same exception error.
inStr := InputBox('Error Test','Please type any string..');
then it raised an exception error.
I checked CT 6.6 and 6.8. I experience the same exception error.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 7 months ago - 1 year 7 months ago #13464
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
Thanks Sir
InputBox function has 3 input const ACaption, APrompt, ADefault
unit Dialogs
....
function InputBox(const ACaption, APrompt, ADefault : String) : String;
....
so the correct code is :
inStr :=:= InputBox('Error Test','Please type any string..','DEFAULT INPUT OR NOTHING');
InputBox function has 3 input const ACaption, APrompt, ADefault
unit Dialogs
....
function InputBox(const ACaption, APrompt, ADefault : String) : String;
....
so the correct code is :
inStr :=:= InputBox('Error Test','Please type any string..','DEFAULT INPUT OR NOTHING');
PilotLogic Architect and Core Programmer
Last edit: 1 year 7 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- chulwoong
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 2
1 year 7 months ago #13468
by chulwoong
Replied by chulwoong on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
For the Win32 Build and Linux build, my codes don't raise the exception error. It only happens with the build for the raspberry pi 1. why is that?
Thanks in advance.
Thanks in advance.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 7 months ago #13469
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
unit Dialogs is common to ALL OSes
the same and InputBox function
the same and InputBox function
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- chulwoong
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 2
1 year 5 months ago #13600
by chulwoong
Replied by chulwoong on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
This is my code.
procedure TForm1.Button1Click(Sender: TObject);
var str : String;
begin
str := InputBox('Input Test', 'Type your string!', 'Test');
ShowMessage(str);
end;
I tried arm-linux-RapberryPi compiler when I made the environment. And this is output.
I tried arm-linux compiler when I made the environment. And this is the output.
Any suggestions?
procedure TForm1.Button1Click(Sender: TObject);
var str : String;
begin
str := InputBox('Input Test', 'Type your string!', 'Test');
ShowMessage(str);
end;
I tried arm-linux-RapberryPi compiler when I made the environment. And this is output.
I tried arm-linux compiler when I made the environment. And this is the output.
Any suggestions?
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 5 months ago #13601
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
Thanks Sir
your CT version ?
your CT version ?
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- chulwoong
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 2
1 year 5 months ago - 1 year 5 months ago #13624
by chulwoong
Replied by chulwoong on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
I was building for the raspberry pi and using 6.8, 6.7, 6.6 and 6.5.
I saw this at 6.8, 6.7 and 6.6.
I saw this at 6.8, 6.7 and 6.6.
Last edit: 1 year 5 months ago by chulwoong.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 year 5 months ago - 1 year 5 months ago #13625
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
PilotLogic Architect and Core Programmer
Attachments:
Last edit: 1 year 5 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- chulwoong
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 2
1 year 5 months ago #13626
by chulwoong
Replied by chulwoong on topic [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.
It looks like older raspberry-pi is not supported.
Good to know and I will upgrade my system to the raspberry-pi3.
Thanks.
Good to know and I will upgrade my system to the raspberry-pi3.
Thanks.
Please Log in or Create an account to join the conversation.