Search found 29 matches

by ingalime
Wed Sep 09, 2020 6:49 am
Forum: Technical
Topic: How correct
Replies: 5
Views: 1365

Re: How correct

Thanks. But not fully understood. class T: public TThread private: void __fastcall Log(void); protecteded: void __fastcall Execute(); public: __fastcall T(bool CreateSuspended); //cpp void __fastcall T::Execute() { //code Synchronize(Log); } void __fastcall T::Log() { Memo1->Items->Add(L"Log1..."); ...
by ingalime
Sun Sep 06, 2020 3:54 am
Forum: Technical
Topic: How correct
Replies: 5
Views: 1365

Re: How correct

On the other hand, why are you calling ProcessMessages() at all? I want the user not to be able to press the button twice, three times ... Without this line of code Application->ProcessMessages, the button appears to be accessible. My code is taken from this forum: //send Email bool __fastcall Open...
by ingalime
Fri Sep 04, 2020 1:11 am
Forum: News
Topic: Workaround for iOS AppStore 1024x1024 Icon Issue
Replies: 1
Views: 1251

Re: Workaround for iOS AppStore 1024x1024 Icon Issue

It looks like it has been fixed in 10.4.1:
http://docwiki.embarcadero.com/RADStudi ... dio_10.4.1

Issue with deploying apps to AppStoreConnect
by ingalime
Fri Sep 04, 2020 12:58 am
Forum: Technical
Topic: How correct
Replies: 5
Views: 1365

How correct

How much more correct? //FMX project try { SpeedButton1->Enabled = false; Application->ProcessMessages(); //other code } __finally { SpeedButton1->Enabled = true; } or //FMX project SpeedButton1->Enabled = false; Application->ProcessMessages(); try { //other code } __finally { SpeedButton1->Enabled ...
by ingalime
Tue Aug 11, 2020 2:32 am
Forum: Technical
Topic: Alternative to Google Play
Replies: 4
Views: 1986

Alternative to Google Play

Please advise an alternative to Google Play for publishing applications for Android 32 bit.
by ingalime
Wed Sep 19, 2018 6:15 am
Forum: Technical
Topic: TNetHttpClient or...
Replies: 2
Views: 9441

Re: TNetHttpClient or...

I found this information: 1. TIdHttp need for ssl additional files from FTP Indy and for android need Tthread. 2. THttpClient do not need files if use ssl but need also Tthread for android. 3. TNetHttpClient do not need files if use ssl and do not need Tthread because calls are asynchronous. The con...
by ingalime
Fri Sep 14, 2018 5:26 am
Forum: Technical
Topic: TNetHttpClient or...
Replies: 2
Views: 9441

TNetHttpClient or...

Hi.
For android project I need use https (Get).
What is more correct to use TIdHttp or THttpClient or TNetHttpClient?
C++ Builder Tokio.
by ingalime
Thu Mar 01, 2018 5:32 am
Forum: Website
Topic: Download forum
Replies: 2
Views: 16089

Download forum

Hi.
Is it possible to download the contents of this entire forum to the local computer?
by ingalime
Thu Mar 01, 2018 5:26 am
Forum: Technical
Topic: [Android]TFrame create and delete
Replies: 15
Views: 61896

Re: [Android]TFrame create and delete

Hi, rlebeau ! I began to collect the fragments of your code for my white paper. Please check again. C++ Builder Berlin Up2: //h TFrame //*** public: // User declarations __fastcall TFrame1(TComponent* Owner); TNotifyEvent OnButtonClick; //cpp TFrame TFrame1 *Frame1; //-------------------------------...
by ingalime
Thu Feb 22, 2018 4:02 am
Forum: Technical
Topic: [Android]TFrame create and delete
Replies: 15
Views: 61896

Re: [Android]TFrame create and delete

I read this topic. Why can not you just delete TFrame? It will be a critical mistake for android? void __fastcall TFrame1::Button1Click(TObject *Sender) { Frame1->Release(); Frame1 = nullptr; } Or should I must use always TNotifyEvent OnButtonClick for delete TFrame in FMX? void __fastcall TFrame1::...
by ingalime
Thu Nov 30, 2017 3:08 am
Forum: Technical
Topic: Thread and TCP
Replies: 21
Views: 108845

Re: Thread and TCP

Thank you very much for your help and patience. The new code works as expected and if the server is turned ON and OFF. All perfectly! Please check the new version: Main: TFormMenu *FormMenu; TMyConnect * MyConnect = NULL; extern String ip; extern int port; int chek = 0; //---------------------------...
by ingalime
Wed Nov 29, 2017 3:13 am
Forum: Technical
Topic: Thread and TCP
Replies: 21
Views: 108845

Re: Thread and TCP

On Windows everything works as expected. In Android NO. In Android everything works as expected if server ON. If server OFF: segmentation fault 11 See all debug windows on picture. And catch does not work. Application crash if server OFF. :( void __fastcall TMyConnect::Execute() { try { TIdTCPClient...
by ingalime
Wed Nov 29, 2017 2:25 am
Forum: Technical
Topic: Thread and TCP
Replies: 21
Views: 108845

Re: Thread and TCP

You are not using FreeOnTerminate=true anymore, so you are leaking the thread object when it is done running. Many thanks for this remark. Now so: __fastcall TMyConnect::TMyConnect(String AHost, Word APort, TStrings *ALines) : TThread(true), FHost(AHost), FPort(APort) { FreeOnTerminate = true; FLin...
by ingalime
Tue Nov 28, 2017 7:39 am
Forum: Technical
Topic: Thread and TCP
Replies: 21
Views: 108845

Re: Thread and TCP

I think so: Main h __published: void __fastcall SyncShowMessage(); private: //*** Main cpp int chek = 0; //global void __fastcall TFormMenu::SyncShowMessage() { AniIndicator1->Visible = false; chek = 1; ShowMessage(L"Sorry, there is no connection to the server."); } void __fastcall TFormMenu::Thread...