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

Can't load Firemonkey Model3D textures in Start Edition Berlin 10.1

$
0
0

Hi

I try to load "Station.dae" from Your example "ModelViewer" in  Firemonkey Model3D textures on Start Edition Berlin 10.1 Builder and get error: "Load bitmap filed", because there is *.tga file. How solve this problem?

Thanks.

load error

 


'Field not found' errors with FDQuery and LiveBindings

$
0
0

Hello,

Does anyone have any problems with the IDE either showing exceptions or showing "field not found" errors when using LiveBindings? I am using Appmethod 1.15r2 with SQLite database on Android.

I have been struggling with this ever since I've tried the tutorials on livebindings...trying to attach an FDQuery to a TListView. The FDQuery SQL value is set properly (execute button returns correct values), the resulting columns are linked to the TListView Text property and everything seems to work the first time. However if I modify the SQL statement in the FDQuery a bit (but with exactly the same result columns), I get a "column not found" popup error box... and the link doesn't seem to work or disappears in the livebindings screen.

Also, when this happens, I either have to delete the BindSource component and try to relink the fields again .. and sometimes, the error still exists, sometimes it doesn't. Sometimes, it causes an exception in the IDE. In some cases, I close and reopen the project and suddenly I can link them properly again. Problem is, if this "field not found" error appears, I can't even save the project because it doesn't allow it due to this error.

I am attaching a snapshot of this error... you can se that the BindSource has the field name properly set but for some reason, this error keeps popping up. I am also attaching a sample error of the access violation error I get when I change the SQL statement in the FDQuery Editor.

I hope someone can look at this because this is really frustrating! Everytime I have to modify the SQL, I encounter this problem and it's a hit or miss everytime (if it works or not).

Hope there is a solution or a patch or something to fix this... I am seriously thinking of not even using livebindings anymore because of this.

- Gerald

columnnotfound.png

accessviolation.png

64 debugging does not work

$
0
0

I have Delphi XE 10, and have installed / uninstalled it numerous times.   The issue is that I can debug a 32 bit build application, but I cannot debug that SAME application using a 64 bit build.  "Cannot create process ... " is the error message.  The event log shows ... Faulting application name: dbkw64_23_0.exe, version: 230.1508.7.26052, time stamp: 0x55c57a36 Faulting module name: KERNELBASE.dll, version: 6.1.7601.23569, time stamp: 0x57f7c0b4 Exception code: 0x0000192f Nothing else has changed, and I have tried uninstalling, and reinstalling numerous times.  My OS is windows 7 x64 pro.  I have turned off the firewall, disabled antivirus, and a host of other things.  What is the steps to ensure that I  can debug 64 bit applications?

Why can a method in Form1 not "see" a TEdit control?

$
0
0

Can someone tell me why, in the following code, the method 'proceed()' can't "see" the TEdit 'Edit1'? What I have below compiles and runs. But, when one clicks on any of the three buttons, which triggers 'proceed()', I get the message "Access violation at address 004048BD in module 'Project1.exe', Read of address 00000000." The _fastcall methods can "see" 'Edit1' just fine and replace its Text as desired. I've done some debugging, and the method 'proceed()' gets the value of 'lang' just fine. I thought it would help to declare Edit1 as a TEdit, but that didn't help. Thanks in advance. River_Forest ========================= //---------------------------------------------------------------------------#include #pragma hdrstop#include "Unit1.h"//---------------------------------------------------------------------------#pragma package(smart_init)#pragma resource "*.fmx"TForm1 *Form1;TEdit *Edit1;char lang; // lang = 'a' means language is Arabic, etc.void proceed() { if (lang == 'a') Edit1->Text = "Language is Arabic."; if (lang == 'c') Edit1->Text = "Language is Chinese."; if (lang == 'g') Edit1->Text = "Language is German.";}//---------------------------------------------------------------------------__fastcall TForm1::TForm1(TComponent* Owner)    : TForm(Owner){ lang = ' ';}//---------------------------------------------------------------------------void __fastcall TForm1::Button1Click(TObject *Sender){lang = 'a';Edit1->Text = "Language is Arabic.";proceed();}//---------------------------------------------------------------------------void __fastcall TForm1::Button2Click(TObject *Sender){lang = 'c';Edit1->Text = "Language is Chinese.";proceed();}//---------------------------------------------------------------------------void __fastcall TForm1::Button3Click(TObject *Sender){lang = 'g';Edit1->Text = "Language is German.";proceed();}//---------------------------------------------------------------------------

Delphi Berlin Update 2 IDE Insight Search Box Missing

$
0
0

After upgrading to Berlin Update 2, the IDE Insight search box is missing, and toggling the IDE Insight toolbar does nothing. Moreover, Ctrl-. does nothing because the search box is not present to focus. Anyone else experiencing this? Bruce

Just installed C++ Professional Berlin 10.1 Update 2 and nothing works!

$
0
0

Just want to give people a heads up, after installing C++ Builder Berlin 10.1 Professional Update 2, I am unable to compile ANY applications!

Code-rage XI said update is easy, everything should work fine after, err, not here!

None of the third party controls installed in Update 1 remain, you have manually install them again! really great stuff this. 

But the main issue, is a simple one...

C++ Builder 32 bit VCL application requires windows.h which in it's wisdom is looking for a file named winapifamily.h which has simply not been installed in the Update 2, so, basically, I am on install attempt 3 of update 2, after 5 update 1 s to get it working, or, approx 4 working days

Really wish I had stuck with XE2 and save myself not only £1282 for the update but also so far, 4 days of not actaully being able to work, and, not got it working yet!

Delphi Berlin Update 2 installation

$
0
0

Hello all, The instructions for installing Berlin 10.1 updates keep confusing me. With update 1, I was told to first uninstall Berlin 10.1, use the ISO installer in order to keep de settings and 3rd party component libs (registry settings). But I never saw a question to save the settings, so I re-installed it all again. Now I read it all should work with update 2. And I read that still the prior version (update 1) must be uninstalled. Then I read that the installer will ask me to save the settings. What installer? Is this the installer (or 'uninstaller') uninstalling update 1? This would mean I must manually uninstall update one, before starting the Berlin update 2 installer. Or will the Berlin update 2 installer do the uninstalling of update 1 for me at the beginning of the installation process? Also, when starting the update 2 ISO installer. I get 3 options: 1) Upgrade (enter a new license key) 2) Modify 3) Removie I assume I select 1), but I read one would not have to enter a new license key. So what is it: manually uninstall first or simply run the Berlin update 2 installer and wait for instructions?   thanks, regards, Wilfried

Read a string from a stream

$
0
0

i can't read a string from a file stream or from a file then have the position in the file  

 

here is some code i tried 

StreamTry := TFileStream.Create('Key2.txt', fmOpenRead);

 

for I := 1 to 17 do

StreamTry.Readbuffer(Test[i],1);

 

for I := 1 to 17 do

Tryin := Tryin + Test[i].ToHexString;

 

please any help would be great thanks 


insert ESCAPE and F2 into a string

$
0
0

Hello everyone I did an application for writing commands by selecting options. I copy the command to clipboard and paste it in a second application (an UNIX one). When I paste it in UNIX, I need to press ESCAPE key and after F2 for the command to run It would be easier for the final user, to copy the command with the ESCAPE and F2 keys included. Is there any way I can "add" this keys as code when I copy to clipboard? I know for example, #13#10 stands for a new line in Delphi, but what does for ESCAPE and F2?   Thank you in advace. my email is avalosjav@hotmail.com  

BDE Berlin error after install

$
0
0

Hi, I installed Embarcadero Seattle Professional and BDE components and the applications ran correctly, but after upgrading to Berlin Professional and reinstall BDE to Berlin a pops up appear when I execute the application.

 

"Your application is not enabled for use with this driver"

 

I removed anything before reinstall Berlin and use MSSQL Links.

In link http://cc.embarcadero.com/item/30522 appear Berlin 10.1 Professional

This really works in Delphi Berlin Professional ?    

Delphi 10 Seattle Problem

$
0
0

merhaba ben uzun süredir Embracadero Müşterisiyim ama son zamanlarda çok problem yaşamaktayım. benim mac pro işletim sistemine sierra yükledikten sonra, Benim PServer çalışmıyor Ben Delphi 10 Seattle ürününe sahibim. siz MacOs Sierra için PServer desteği sunmalısınız Ücretli olabilir. ama üretmezseniz biz artık Delphi kullanamayacağız. şuanda Berlin güncelleme için param yok param olana kadar bizi mağdur etmemelisiniz.
iyi çalışmalarsi

Anybody knows how to create an "Enhancement module" for 10.1 Berlin's Editor?

$
0
0

Hello,

The IDE's Help mentions "Enhancement modules" that can define keystrokes. I would like to create a custom one, but have searched all of Berlin's Help as well as the Web and could not find HOW to do that. Does anybody have an idea?

Many thanks for your input!

 

Knowledge Base Articles

$
0
0

Installing the RAD studio I get the message "We have detected that your System Path is close to reaching the Windows limit.  We highly recommend visiting our before proceeding". I have searched the website and I cannot find the Knowledge Base or any reference to the System Path.  

boost in c++ 10.1 starter

$
0
0

Hello,

The Feature Matrix states that boost is part of c++ starter Edition. But after Installation there is no boost Folder in include path.
Does it mean that the boost is excluded? Or I miss something.

Thanks,
Vlad

Firebase REST/API

$
0
0

Hello everyone, I have a small sample DB app in firebase that works fine from browser and I wonder where would I find correct info (header? params? etc) to read json data using REST Debugger?

I get "200 OK" when sending request from REST Debugger to several URL from my firebase app but none of them return json objects.

 

Thanks.


convert a website into mobile app

$
0
0

How I can convert a website into mobile app ? what are the steps or what are the components I should use ? I want to use Delphi Berlin

Delphi XE5 FMX on Android 6.0

$
0
0

Hello,

we recently got a new smartphone with Android 6.0 (Samsung Galaxy S6). However we can't run any apps on it that have been developed in Delphi XE5.The apps run just fine on Android 4.4 (SDK 19) and Android 5.1 (SDK 21), butnot on Android 6.0 (SDK 23).

I have tried to compile the .apk in XE5 with SDKs 19, 23 and 25 but the appalways stops immediately upon trying to open it on Android 6.0. Can you please help us with this problem? Attached you can also find the used code for our "test"-application (not even the showMessage('start'); of the FormCreate gets executed)

Thank you in advance,
best regards,
Kevin

unit Unit1;interfaceuses  System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,  FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,  Data.DB, DBAccess, FMX.Objects, FMX.Edit,  FMX.TMSSpeedButton, FMX.Ani, FMX.VirtualKeyboard, FMX.Layouts, FMX.Memo,  FMX.TMSEdit;

type  TForm1 = class(TForm)
Button1: TButton;   
Button2: TButton;   

procedure Button1Click(Sender: TObject);   

procedure Button2Click(Sender: TObject);   

procedure FormCreate(Sender: TObject); 

private    { Private-Deklarationen } 

public    { Public-Deklarationen }  end;

var  Form1: TForm1;

implementation{$R *.fmx}procedure TForm1.FormCreate(Sender: TObject);

begin  showMessage('start');

end;procedure TForm1.Button1Click(Sender: TObject);

begin  showMessage('Hello');

end;

procedure TForm1.Button2Click(Sender: TObject);

begin  showMessage('Connected');

end;

end.

Websocket client

$
0
0

Hello everybody!

 

I really need help: I can't find anywhere any guide to connect a FMX application to a websocket server. In my specific case, I have done a little WS server in PHP and Ratchet and it works fine. Now I need to send and get datas through this WS in my Firemonkey project. I have found some components, but still it's not clear how to use them, becouse I cannot find any guide for Berlin (and because I'm new to Delphi language). Can you help me please? Thank  you in advance!

JCL/JVCL and 10.1 Berlin Installation Issues

$
0
0

Hi all,

Has anyone else been having a nightmare installing the JCL/JVCL on 10.1 Berlin?
Personally, it's starting to get to the point where it just isn't worth the effort to use any of the JEDI stuff anymore.

I downloaded the JCL and JVCL master zip files from sourceforge.
I then ran the install.bat file for the JCL and encountered the JEDI.INC file missing error.
So I downloaded the jedi.inc master file and put it in the ..\jcl\source\include folder.
I re-ran the .bat file and now get a BCC32.exe not found error.

So I tried a different tack and opened the JclPackagesD240.groupproj manually and installed that.
That seemed to work fine ... seemed to ...
I then tried to run the jvcl install.bat file and it gives:
"No Delphi/BCB/BDS/RAD-Studio versions was found that has the required dependencies installed. Please install the dependencies first."

So obviously trying to install the jcl manually screws up anything going onwards with the jvcl.

Has anyone got any solutions or ideas to see how I can get out of this mess, especially since I've been round in circles for about 3 days now.

 

Thanks
Mike

Delphi xe2 and windows 10 upgrade

$
0
0

Does anybody know if upgrading to Windows 10 (from Win 7) will screw up a working install of Delphi XE2? I know it's an older version but some of the components I use haven't kept up with Delphi, even though I have. I have a current maintenance account and use DX Seattle for iOS development but I still code for VCL in XE2. PS: Moderator? There's no category for installation issues?

Viewing all 3212 articles
Browse latest View live


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