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

Subject Area Report listing tables within

$
0
0

How can I generate a Subject area report from ER/Studio Data Architect. I would like it to have the subject area name and the entity names w/in that subject area. I am not able to find anything in the report wizard that is subject area driven (only it's use a filter to a report).


Cannot launch registrations wizard after installation is complete

$
0
0

After installation of radstudio10_2_esd.exe (choosing "I have a trial licence") the registration manager tries to launch, but returns to Licence Manager screen stating that no valid licence has been found. Pressing yes recycles this window, with no option of interacting or pointing the app to the trial licence.

ISAPI DLL TWebRequest Broken

$
0
0

Does anybody know when ISAPI DLL TWebRequest->Content is going to be fixed?  It's been broken since Seattle 10.1 update 2.  It's null inside function.  Thanks Marshall  

10.1.2 and 10.2 Starter editions on the same computer?

$
0
0
  • I'm was running fine with C++ 10.1.2 Starter Edition up to now.
  • Today I installed C++ 10.2 Starter Edition. My old applications compiles under 10.2 but crashes as soon as Application->CreateForm(__classid(TMain_Form), &Main_Form) wants to open this form. It crashes with access-violation.
  • Same problem, when I try to compile/run this application under 10.1.2.
  • Is it allowed to have both versions 10.1.2 and 10.2 on the same computer, active one at a time?
  • Harry   

app crashes external url

$
0
0

Hi there,

 

I have a form that has a time and music running with mediaplayer and images. However when I click on an external link from this form it crashes when i go back. example share link, use email, go to url, come back from interstitial ad. It freezes and crashes. Please help.

 

Thanks.

FMX C++ Builder App on MacOS crash on start with 10.2

$
0
0

Have a project that worked fine with 10.1 Berlin for the three target environments: Win32, Win64, and MacOS/OSX.

Load the project up in 10.2 Win32 and Win64 work fine, but MacOS/OSX version crashes during startup (before executing any of the .cpp files in the project). Thus have been unable to debug it.

As a further test: I created a blank project which works fine in all 3 (just to make sure everything is correct) started adding the same components to the FMX Form on the test project--everything worked...

2nd test: Create a blank FMX application and then add all the files from the original project to it. This results with the same crash as with the original application.

Looking at the stack trace the crash appears to be related to styles (there is no stylebook associated with the form, and even if one is added the application still crashes in MacOS/OSX).

 My 10.2 is up to date (including the latest patch recently released).

uploading and download images Rad Server

$
0
0

Hi,

Im trying to develop a solution with Rad Server, but i need to upload and download images and some files, i been playing with the server, but i can't send or get images.

 

any hints?

 

Thank you

MH

Delphi keeps trying to launch application but it keeps closing

$
0
0

Referring to thread: http://community.embarcadero.com/answers/ios-app-won-t-launch

I got confused by the exact solution of that thread. I'm having the exact same issue, trying launch an iOS app from Delphi Berlin 10.1 Update 1 to an iPhone 5 with iOS 10 (using XCode 8). Delphi keeps "Launching" the app, the app actually opens in the iPhone but then immediately closes, then Delphi tries to launch it again, and it keeps going in a loop.

I have deleted any "entitlements" and "pInfo" file in:

a) PAServer scratch dir in Mac

b) The AppData/Roaming/Embarcadero/BDS/18.0 folder

c) My project folder

None of this work. Can someone help me out? Thanks a lot!

 

 


Loading DataModule on IDE Delphi XE7

$
0
0

I have a project that upgraded from Delphi7 to DelphiXE7, this project has over 15 years of development, the point is that when I open a datamodule with third-party components ( memory tables ) around 600, it takes me four minutes to open , but in Delphi7 it is opened without delay.

Furthermore, when the DFM has links to other forms it takes more time , it seems that creates other forms first.

And if the DFM has links to X form and that form has link to DFM I'm trying to open the IDE hangs .

And hope you can help me with this problem. best regards.

Armand

bcbie250.bpl package for RAD Studio 10.2 IDE

$
0
0

I am migrating legacy code from Codegear C++Builder2007, which had a Tool Palette category of Internet with the TCppWebBrowser component, to C++Builder 10.2, which does not have this category or the component in any other category.  On the EDN forum, I was told to install the relevant package (bcbie250.bpl) into the IDE.  Where do I download this?  I have searched Embarcadero and did not anything.  Thanks.

Bill

 

How to generate SOAP-Response with Class including object-array or list of objects?

$
0
0

Hello,

I want to program a SOAP-Server and Client using TRemotable. I tried the tutorial of Craig Chapman.

It runs well and I implemented a new methode for respond an object.

I want to read records from a ADO database and store them in the service's result-object.

Database access runs well.

Anyone knows a good example?

Thank You

Marcus

How to add a Client Certificate authentication to my SOAP server?

$
0
0

Hello!

I made a SOAP server application.

 

On a start I do somethings:

  FServer := TIdHTTPWebBrokerBridge.Create(Self);
  LIOHandleSSL := TIdServerIOHandlerSSLOpenSSL.Create(FServer);
  LIOHandleSSL.SSLOptions.CertFile := 'c:\share\testcert\server.crt';
  LIOHandleSSL.SSLOptions.Mode := sslmServer;
  LIOHandleSSL.SSLOptions.KeyFile := 'c:\share\testcert\server.key';

  LIOHandleSSL.OnVerifyPeer := IdSSLIOHandlerSocketOpenSSL1VerifyPeerCertificate;

  LIOHandleSSL.SSLOptions.VerifyDepth := 1;
  LIOHandleSSL.SSLOptions.VerifyMode := [sslvrfPeer, sslvrfClientOnce];

  LIOHandleSSL.OnGetPassword := OnGetSSLPassword;
  FServer.IOHandler := LIOHandleSSL;

I created a self-signed certificate to establish an SSL connection.

As I can see, my this pair of Public and private keys is used for establishing SSL connection, and it works from a browser.

But how can I add c second-side public certificate to authenticate needed client?

Any examples?

 

Thank you very much!

 

Facing issue related to combox in the firemonkey application in delphi 10.1 berlin

$
0
0

We are facing issue with the combo box in the fire monkey application. As we add the values in the combo box with special character then in the drop down it is not showing the special character instead it is showing the underscore character.Please help us in this. For example : add  "delphi$123"  in the combo box. In the drop down it is showing "delphi_123" 

Problem with form height in IDE

$
0
0

Form 800x600 being resized to 800x580 when the form is opened in the IDE. What to do?

Failed to find standard type 'TObject'

$
0
0

Hi. I'm getting this error when trying to create a class in delphi. Someone know how to solve? It's apparently a no-reason error because if I just try a new unit and try to create a class it returns me this error.


Rest Server using text/html is removing carriage returns

$
0
0

In the delphi rest server project wizard evidently there is a bug that causes it to always return json.  

I found a post on board that said to add this code to override it as in code below. As shown i have set it to text/htm; charset=utf8 and that does cause it to return document with html wrapper.  After setting this i take the string and convert it to a stream using stringtostream also shown below.  The problem is even though the string and the resultant stream contain line seperators with 0D0A, the data that comes back in the browser is lacking the carriage return (has 0A only).  Makes for hard reading in some editors.  

Any ideas of why it would remove the cr?

================================================

procedure TWebModule1.WebModuleAfterDispatch(Sender: TObject;

  Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);

begin

   if ContentTypeHeaderToUse<>'' then begin

    Response.ContentType := 'text/html; charset=utf-8';//ContentTypeHeaderToUse;

 

    ContentTypeHeaderToUse := ''; // Reset global variable

  end;

end;

 

=====================

function TServerMethods1.StringToStream(s: String) : tStream;

var

  st : tStringStream;

begin

  st:=tStringStream.Create(s);

  result:=st;

end;

 

 

C++ Builder Win64 Access Violation in xlocale

$
0
0

I've create a project which is working fine under OSX. 

I now wish to port this project to Win64.

This project was developed using RAD Studio C++ Builder Berlin Anniversary Edition 10.1 Update 2 Enterprise. Target Win64.

When running the application, an access violation occurs during the main form creation.

Running in Debug, the error occurs in 'xlocale' at line # 2171 which reads as follows:

*(size_t *)&table_size = 1 << CHAR_BIT;// force space reservation

I should also mention that this line is bounded by "#ifdef __BORLANDC__" and "#endif".

Also, during application startup, I am not using streams in the constructor; therefore, I truly don't understand how the compiler is setting up the application for launch.

Doing some googling, I have found this issue appears to persist through multiple versions of C++ Builder. The results tend to be work-arounds that may or may not work.

For kicks and giggles, I tried one of them which appeared the least invasive to my project and the overall installation of RAD Studio. The suggestion was to declare a stream within the module that initializes the application, creates any pre-created forms, and launches the main form. Curiously, this duplicated the error; however, the call stack now referenced the "main" module instead of the "main" form. The error location was exactly the same!

So, is there a problem with the STL files for C++ Builder?

Could some kindly provide a work-around to this situation?

Any help or suggestions will be greatly appreciated.

A problem occurred during the process

$
0
0

I am installing a trial version of Delphi 10.2 Tokyo and the process do not complete well and shows the message: 'a problem occurred during the process'.

Could somebody help me?

Thanks a lot.

 

Marden

 

 

 

 

Using Delphi 10.2 and can't turn off "Enable runtime themes"

$
0
0

I'm using Delphi 10.2 and can't turn off enable runtime themes. I uncheck the option in the Project Options -> Application page, then click the OK button, then re-open Project Options, and the box is checked again! What am I missing? How do I uncheck this option?`

LoadFromFile (const UnicodeString filename)

$
0
0

Hello

By switching from C ++ Builder 2007 to the 2009 builder, the function provides "Image1-> Picture-> LoadFromFile (const UnicodeString filename);" with surrender of a Unicode string (for example, "C: \\ Program Files \\ Cookbook \\ 4907.JPG"), only the error message:

File "C: \\ Program Files \\ Cookbook \\ 4907.JPG" can not be opened. The Device is not ready. (Note: The file is, of course, available.)

If I however over an OpenDialog the function assigns a filename (for example, "LoadFromFile (Opendialog1-> FileName);"), the loading process will work perfect.  

Amazing is that when debugging from the OpenDialog1-> filename the same text ("C: \\ Program Files \\ Cookbook \\ 4907.JPG") is also to be read failed with the UnicodeString.

Under the Builder 2007 the function with the AnsiString worked perfectly, who knows why it does not work anymore.

Gert

Viewing all 2504 articles
Browse latest View live


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