Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all 2504 articles
Browse latest View live

FireMonkey C++ Components problem for non-english Text (e.g. Arabic)

$
0
0

Hi, I've a question in FireMonkey C++ in developing apps on iOS device (version 10.2.1). My problem is, when I set a non-english message (e.g. Arabic) on Text property of TButton component, it dose not shown in run time on iPhone device! This problem is existed on another components such as TListBox (TListBoxItem) or TMenu or ... . How I can solve this problem? Another question is, how I can create/open/read/write a file on iOS root app. All methods I've used, it is failed or not permitted.  Thx a lot Ghader  


FireMonkey iOS TWebBrowser, User Interface, how coupling between C++/Delphi variables/function to HTML/JavaScript tags

$
0
0

Dear Specialists

I FireMonkey C++ developer and I have to use HTMl/JavaScript/jQuery/CSS for User Interface in my app on iOS.

1. How I can couple the C++/Delphi variables/function to HTML/JavaScript tags?

2. Is there a real sample codes (C++ or Delphi) for this goal?

3. Are there any book/ebook in this object? 

Regards

Ghader

 

 

FireMonkey iOS app TWebBrowser, how transfer/attach html/text file with iOS app to iOS device

$
0
0

Dear Specialist,

I'm an FireMonkey C++ developer. I'm developing iOS app with TWebBrowser component. 

When I call WebBrowser->Navigate, I have to set a html file (e.g. Index.html). So how I can transfer this html file with my iOS app to call it in run time on iOS device? I must attach some html files with my iOS app to call them in run time on iOS device.

 

Best Regards

Ghader

For C++builder 10.2.2 Tokyo

$
0
0

Where can I get PAServer19.0.pkg version:10.2.1.10? Thanks.

FireMonkey C++, how read input data from TWebBrowser?

$
0
0

Dear Specialists,

I'm FireMonkey C++ developer on iOS paltform and I've some questions:

1. How I can read input data from a TWebBrowser. In other word, when a customer enter data in Input Text of HTML file that loaded from TWebBrowser, how I can read the customer data and set them FMX visiual components such as TEdit?

2. Is TWebBrowser support  HTML5?

3. Is TWebBrowser support  jQuery?

4. Is TWebBrowser support  CSS?

5. I've developed a Web Application on Windows by using MS IIS. Is there any solution on iOS for using Web Application facilities?

Please help me

Regards

Ghader

Where is the free Marco Cantù's book?

$
0
0

When I purchased Delphi Tokyo there was a link to download free a Marco Cantù's book.
I decided to do it later, but now I can't find it anymore?

Where I can download it?

New ISO FIle - delphicbuilder10_2_2_2004.iso

$
0
0

Hi.

If You install Delphi 10.2.2 from ISO file delphicbuilder10_2_2_2004.iso  You do not get dcc32.exe in Program Files (x86)\Embarcadero\Studio\19.0\bin\

Only Web Install has it.

 

Please correct that.

Regards

Adam

main progam file gets deleted

$
0
0

I have installed the latest Delphi 10.2. and after programming and adding a couple of units, I save the program and log back into the application the next day and my main program file has been wiped clean... my unit files are intact. This has happened to me three times. Has anyone else had this issue? Thanks


10.2 Debugger not showing values of variables

$
0
0

By hovering over a variable in a breakpoint the debugger shows me the same as in design-time.

What I'd like to see is the value of the variable as in preceding versions. Is this a bug or a setting I have to configure?

(by explicitly asking for it with Ctrl F7 I get the value)

 

Unlink static library, linker64 -unable to open file

$
0
0

Hi there,

compiling my 64bit project, I get a linker error -'unable to open file' from .lib file. The file is there and the folder included in the project.

I reckon it might be a corrupt .ilb file, so I want to get it out from my project. How do I find out, which file or unit refers to it?

The library is "pvdevice64.lib" by pleoras EBUS SDK.

Thanks!!

René

bds.exe does not terminate and stays running

$
0
0

upgraded to 10.2.2 and bds.exe does not terminate when you exit ide.

Amazon s3 getbucket not working

$
0
0

I have a small command line application to upload/download/list items in S3 buckets until X7 everything worked just fine However, in 10.2, with exactly the same authentication, it works for upload/download but not for listing (getbucket) TAmazonStorageService returns "Forbidden - The request signature we calculated does not match the signature you provided. Check your key and signing method. (SignatureDoesNotMatch)Date=Wed, 03 Jan 2018 19:55:38 GMT" however the Key and the User are exsactly the same that are accepted when uploading/downloading what is going on? here is my code:

 

program AwsCL;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils,
  System.Classes,
  Data.Cloud.CloudAPI,
  Data.Cloud.AmazonAPI,
  utilities in '..\..\del_files\utilities.pas',
  ConfigUnit in '..\ALM\ConfigUnit.pas';

var
   AmazonConnectionInfo: TAmazonConnectionInfo;
   AmazonStorage       : TAmazonStorageService;
   s                   : TFileStream;
   AmazonInfo          : TCloudResponseInfo;
   Bucket,Path,LocalPath : Unicodestring;
   filename              : Unicodestring;
   content               : TBytes;
   AWSparam              : Unicodestring;
   AWSParamList          : TStringList;
   AWSResult             : TAmazonBucketResult;
   i,totcount,rp         : integer;
   firstname             : Unicodestring;
   failed                : boolean;

begin
  try
   AmazonInfo:=TCloudResponseInfo.Create;
   AmazonConnectionInfo:=TAmazonConnectionInfo.Create(nil);
    { TODO -oUser -cConsole Main : Insert code here }
    AmazonConnectionInfo.AccountName:=ConfigParams.Values['user'];
    AmazonConnectionInfo.AccountKey:=ConfigParams.Values['password'];
    //AmazonConnectionInfo.Protocol:='HTTPS';
    writeln(AmazonConnectionInfo.AccountName,AmazonConnectionInfo.AccountKey);
    writeln(AmazonConnectionInfo.StorageEndpoint);
    writeln(AmazonConnectionInfo.UseDefaultEndpoints);
    writeln(AmazonConnectionInfo.RequestProxyHost);
    Bucket:=ConfigParams.Values['DefBucket'];
    Path:=ConfigParams.Values['DefFolder'];
    if path[length(path)]<>'/' then path:=path+'/';
    localPath:=ConfigParams.Values['DefDirectory']; if localpath[length(localpath)]<>'\' then localpath:=localpath+'\';
    filename:=replacedate(paramlist.values['file']);
    if paramlist.Values['bucket']<>'' then
      bucket:=lowercase(paramlist.Values['bucket']);
    if lowercase(paramlist.Values['command']) ='upload' then
      begin
       s:=TFileStream.Create(localpath+filename,fmOpenRead);
       setlength(content,s.Size);
       s.ReadBuffer(pointer(content)^,s.size);
//       for I := 0 to s.Size-1 do
//         write(content[i]);

       writeln('tamaño=',s.Size);
       amazonStorage:=TAmazonStorageService.Create(AmazonConnectionInfo);
       rp:=0;
       repeat
        try
        failed:=false;
        AmazonStorage.UploadObject(bucket,path+filename,content,TRUE,nil,nil,amzbaPublicRead,AmazonInfo);
        except
          failed:=true;
        end;
        inc(rp)
       until (rp=3) or ((amazonInfo.StatusCode=200) and not(failed));
       writeln('UPLOAD ',path+uppercase(filename),amazonInfo.StatusMessage,' ',amazonInfo.StatusCode, 'tries=',rp);
       s.Free;
      end
    else
    if lowercase(paramlist.Values['command']) ='download' then
    begin
      s:=TFileStream.Create(localpath+filename,fmOpenWrite+fmCreate);
      amazonStorage:=TAmazonStorageService.Create(AmazonConnectionInfo);
      amazonStorage.GetObject(bucket,path+filename,s,amazonInfo);
       writeln('DOWNLOAD',amazonInfo.StatusMessage);
      s.free;
    end
    else
    if lowercase(paramlist.Values['command']) ='list' then
    begin
      AWSParamList:=TStringList.Create;
      Split(paramlist.Values['filter'],';',AWSParamList);
//      writeln(AWSParamList.Text);
//    s:=TFileStream.Create(localpath+filename,fmOpenWrite+fmCreate);
      AmazonConnectionInfo.StorageEndpoint:='s3.amazonaws.com';
      AmazonConnectionInfo.UseDefaultEndpoints:=false;
      writeln(AmazonConnectionInfo.StorageURL(bucket));
      amazonStorage:=TAmazonStorageService.Create(AmazonConnectionInfo);
      firstname:='';
      totcount:=0;
      repeat
       AWSParamList.Values['marker']:=firstname;
       //AWSParamList.Values['delimiter']:='/';
       AWSResult:=amazonStorage.GetBucket(bucket,AWSParamList,amazonInfo);
       writeln(amazoninfo.StatusMessage,amazoninfo.Headers.Text);
//       writeln(awsresult.name);
       if awsresult.Objects.Count>0 then
       begin
         for I := 0 to awsresult.Objects.Count-1 do
          writeln(awsresult.Objects[i].Name);
         firstname:=awsresult.Objects[AWSResult.Objects.count-1].name;
       end;
      until awsresult.Objects.Count=0;
       writeln('Total Files: ',totcount,' ',amazonInfo.StatusMessage);
       writeln(paramlist.Text);
//      for I := 0 to awsparamlist.count-1 do
//        writeln(awsparamlist[i]);
    end;
  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;
end.

When will RSP-19525 correction come out

$
0
0

When will the patch for the problem reported in RSP-19525 to version 10.2.2?

DElphi 10.2 Tokio Professional

$
0
0

I try to create FireMonkey UI Application, with Grid Style, or Split Style. When I creat project instantly obtain Application violation ... on "fmx250.blp". 

How can I fix that?

interbase install / repair

$
0
0

Installed 10.2.2 , then i manually went to the programs and features and removed the IE7 .  Ran the repair using the iso install to get a fresh install of the interbase and no Ibconsole or IBMgr program.

 

services shows XE7 GDS_DB is running....

 

Thanks...


how to compile a modification that I made in the source code of Delphi Tokyo 10.2.

$
0
0

Hello everyone,

I want to know how to compile a modification that I made in the source code of Delphi Tokyo 10.2.

I add a function in the unit: FireDAC.Comp.Client.pas, but so that I can use my modification and use the Debug I need to recompile the source.

Can someone explain to me how to do it?

Thank you in advance for your answers.

Rad Studio Price

$
0
0

Rad studio tokyo has a price tag about 7000 USD in Turkey, is this normal? 
(I don't mean it does not worth, but we mortals first develop then earn money) ;)

IDE takes 18 minutes to load!

$
0
0

I use RAD Studio XE2 and since installing Appmethod 1.17, it now takes 18 minutes, yes, 18 minutes to launch the IDE.

The splash screen shows, shows the different languages' c++ builder, Delphi are added, then proceeds to list all sorts of things, until, after a few seconds the message All design time packages loaded and then it sits, makes itself a cup of tea, lets the tea go cold and then drinks it, then washes the cup and saucer. Then after 18 minutes have elapsed, the IDE is presented!

This is the same now for Appmethod or RAD Studio XE2

 

I tried launching them with just one IDE language, e.g. Just C++ Builder, and no luck, still 18n minutes.

So, I removed Appmethod 1.17 hoping it would cure the ridiculous delay, but no, RAD Studio still takes 18 mins

Appmethod 1.17 re-installed again (best part of a working day to remove and install) but still, delay in launching either XE2 or Appmethod remains.

I have had to train myself to never close the IDE once open, or I remote connect from home before setting off to the office to start the IDE so it is waiting for me when I get to work, rather than me waiting for it!

 

Any ideas what the heck it is doing for so long? It used to be ready to code in less than 30 secs.

 

FireDac : Using Sequences in SQL Server

$
0
0

Hi,

I have a database on SQL Server and I don't want to use IDENTITY because the value is returned after the POST.

I would prefer to use SEQUENCES to get the value immediately.Unfortunately, the list of SEQUENCES is not displayed on the TFDQuery.

How can I use SQL Server SEQUENCE like FireDac generators?

Thank you in advance.  

 

How to use a combobox in a master-detail relationship?

$
0
0

I have a master detail relationship between two datasets. Also I have a form where the user fills data to be inserted into/updated from the master table. I'd like to allow the user to select an item from the detail table and insert its id into the master table. When I'm using master-detail relationship that is available, that filters the items in the combobox. And I want the user to choose from all the items. If I break the relationship between the two datasets, I have all the items in the combobox, but there are no binding from the combobox to the master table.

So my question is how to use a combobox to choose a record from a dataset and then insert its id in a foreign key field from another table using livebindings?

Viewing all 2504 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>