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

No platform available for current project.

$
0
0

Hi!

 

I have installed Trial Berlin 10.1 versiion

 

After that i get Professional lisence and add platforms via Platforms and Extensions Manager /

 

But get the same errors. when try to crate new project /No platform available for current project.

Why ? and what should i do to fix this error.

I have been trying to open project and compile but get rreor  Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable.


Delphi 10.1 freeze compiling android app

$
0
0

Hi there,

i downloaded the Delphi 10.1 Berlin Trial Version and trying to compile an Android app. but the compiler freezes by signing the HeaderFooterNavigation-unsigned.apk (test app )

The first time i tried to compile the app Delphi downloaded and installed the SDK and NDK by itself.

JDK is also installed in the Windows 10 VM

 

How can i fix this problem? We want to buy Delphi 10.1 if we can create android apps with it.

 

Sven

 

Readily available documentation

$
0
0

The development community desperately needs more direct access to tutorials, white-papers, and other forms of documentation. Upon registering for certain materials, I have received roughly 50% of what was requested, and too frequently, never received the ability to effectively or efficiently download them at all. If the company is looking to increase the developer base, providing pertinent, readily available documentation is an important component to help facilitate this need. Developer's need help when trying our new platforms and capabilities - if the right examples aren't there, everyone struggles. Thoughts?

How to "Open In" (iOS) and "... Send" (Android) in Delphi?

$
0
0

Hi

I would be interested in any advice and/or example, documentation regarding the best practices to share data from smartphones and tablets, under iOS and Android (for Delphi or C++Builder)

That means being able to have my application appear as an option in the "Open In..." menu in iOS or "Share"/"Send" under Android, my app being the recipient.

Then being able to trigger my app and receive the sent data.

Finally, the other way around: any way to implement the share option for text or file in order to be able to send them to a 3rd party app on the device, my app being the sender.

What are the mechanisms? What format should the data comply with?

Thanks for any light on these matters.

Steve

Data Error - TFDJSONInterceptor::JSONObjectToDataSets();

$
0
0

Hello to everyone.

I use the following code to match the dataset inside a JSONObject to a TFDMemTable

(it was for me very usefull this post http://community.embarcadero.com/blogs/entry/cbuilder-xe6-multitier-database-app-with-firedac-json-reflection-40330)

//Code executed after a datasnap server response
TJSON::JSONObjectToMemTable(static_cast(JSONObjectRespuesta->Get("Empresa")->JsonValue),FDMemTableEmpresa);

void TJSON::JSONObjectToMemTable(TJSONObject *JSONObject, TFDMemTable *FDMenTable)
{
FDMenTable->Close();
FDMenTable->Active = false;
std::auto_ptr LDataSets(new TFDJSONDataSets());
TFDJSONInterceptor::JSONObjectToDataSets(JSONObject, LDataSets.get());
assert(TFDJSONDataSetsReader::GetListCount(LDataSets.get()) == 1);
TFDAdaptedDataSet *LDataSet = TFDJSONDataSetsReader::GetListValue(LDataSets.get(), 0);
FDMenTable->AppendData(*LDataSet);
}


i use that routine without problems in RAD Studio XE8. However i upgrade my Rad to 10.1 Berlin and the code stop working.

the execution stops on the line: 

TFDJSONInterceptor::JSONObjectToDataSets(JSONObject, LDataSets.get());

and the only error message i can get is "data error".

i checked the documentation but it seems that anything change with TFDJSONInterceptor object.

Do you have an idea of what is happenning?
Is there something wrong with my code?

thank you for reading.

A Best Way To Find The Duplicate File

$
0
0

If you often find that you create duplicate files as you rename or use files in another context, or just backup more than you had intended, Duplicate File Detectors help you find and/or delete these duplicates and regain the storage space they previously occupied.

Judging from some of the recent comments, it would appear that some cautions should be noted before using this type of software. One might also note that with the cost per gigabyte rapidly decreasing, redundancy is no longer such a bad thing.

What is the duplicate files? There are different degrees of definition. Look at the "Name": the file name must be the same? Look at the "real": the same is a binary bit stream, or to the "content" the same? Most stringent, of course, is to copy a file to another directory, the name is exactly the same content. But in some cases, especially for lossy compression or change the compression ratio, although the binary bit stream is different, but we think they are the same file. For example, two different jpg, file size, but the same picture; 2 mp3, accuracy is slightly different, but the same song; two zip, compression ratio is different, but inside are the same files on different space...... Suppose, we have different solutions. The most rigorous comparison, look at the file name, size, and checksum. Compare by content, you actually have to consider the decoding process, therefore, there will be some more specialized tools, such as re-check found pictures, music, re-check, re-check the video.You should need a true duplicate file finder,which is a good helper for you.

 

Suggest a duplicate file finder tool, used personally feel the best, and is free, but is in English, not Chinese version, I think a little English foundation can use to software title NoClone software size 565 KB Operating environment Win2003, WinXp, Win2000, Nt, WinMe, Win9x License free English language version of the software software Description NoClone is able to scan the computer in the same file name, exactly, 0 byte file, not only to avoid wasteful duplication of files on your computer space, It can also be used as a hard disk / CD-ROM file comparison.I think NoClone is the best duplicate file finder.

 

Unlike other duplicate file finder tools which use MD5 match algorithm, NoClone applies binary comparison that ensures the duplicate files uncovered are exactly the same in content. That would allow you to delete duplicated files without being worried about false duplicates.

 

Support a wide range of file types including document files such as docx, xlsx, pptx; audio files such as mp3, wma, wav; video files such as mp4, vob, flv; images files such as jpg, gif, bmp;Outlook emails and more! Also work with removable media devices like floppy, usb, etc.

 

As a fast duplicate file finder, NoClone Smart Marker allows you quickly pick up duplicate files and folders for removal by size, date, version, folder and file name pattern. You can increase free disk space up to 50%, and thus no need to purchase an external hard-drive.

 

You may interested on: free email marketing

 

 

The first app I tried to compile in Delphi v10 Berlin throws this error...

$
0
0

[dcc32 Error] The specified task executable location "c:\program files (x86)\embarcadero\studio\18.0\bin\dcc64.exe" is invalid. I installed for Win32 only, but the reference to dcc64.exe seems like the compiler is looking for 64bit file. Anyone know how to fix this?

Notification.FLAG_ONGOING_EVENT

$
0
0
  • android java

  notification.flags |= Notification.FLAG_ONGOING_EVENT; 

  notification.flags |= Notification.FLAG_NO_CLEAR;

     ->

  •       delphi 10.1
    TNotification is no flags
    how to write

How to get the runtime stack information for an error? In the FireMonkey.

$
0
0

  In firemonkey, an unknown error has been learned in the APP, and how we should get the stack information at run time.  

Borland C++ builder 6 to Windows 10

$
0
0

I have C++ builder 6 professional, and XE7-XE8 professionals + maintainance , and I now need the old C++ builder 6 to run in windows 10, but the registration does not work (Windows 7 registration was lost during Windows 10 update and now it complains the limit of the registrations). 

Serial: j6jr-b6t4a-?qa?x

Authorization key: jhd-ndh

Registration code: 142773

Could I have the Activation key?
 (deadline of the project expires today so I am a real hurry at the moment), conversion to new compilers is too time consuming (because I have used char [] instead of strings)

Marko Saikkonen

D.O.F. tech Oy

+358405888004

marko.saikkonen@doftech.com

HTML5 Builder

$
0
0

Hi there, from where I get a trial version of HTML5 Builder ? Thanks for answer Best regards Herbert

How to get access to previous version of Delphi ?

$
0
0

Hello, I just bought Delphi Berlin 10.1. I need to have access to previous version XE6 and XE7. How I can do that Thanks Bengeloune

Allow multiselect for StringGrid

$
0
0

Hi,

How can i allow multiselect for StringGrid control in fmx ?

Thank you

Email

$
0
0

Hi All,

 

Am in a fix and want to know how i can resolve this issue. I have an application developed in delphi XE7 and indy components. I have placed it into an application server. From the architecture diagram we have the application server only allowed connection to the mail server. When a user tries to send an email then the application picks the users computer IP and not the servers IP hence connection to mail server is rejected. How can i go around solving this. Thank you.

 

--

Zack

Surprise of the Day

$
0
0

Hi All,

Yesterday I had a real unpleasant surprise with the Seattle IDE freezing.

After some rounds of edit - crash - kill - restart, I managed to boil it down to this line:

Const AName: array [0 .. 1] of TPoint = ((X:0, Y:1), (X:1, Y:0));

The syntax of the initialization may actually not even correct, but since the IDE hangs before telling me what it doesn't like, I have currently no way to tell you how to correctly place the punctuations ..

It's actually not even important how you try to initialize the content,
the Compiler just seem to not like a constant of type array of record.

Have to work around that pitfall now :o

What was your surprise of the day?

Cheers,

Tarek


XE4 IDE is crashing, getting access denied for valid user

$
0
0

When I run the IDE (XE4) I am now getting the error message: "Cannot create file C:\....\AppData\Roaming\Embarcadero\BDS\11.0\EnvOptions.proj"  Access is Denied My user has full rights. Have you seen this before? After clicking okay on the dialog, the IDE crashes.   Thanks for an answer  

Can't create packages in Delphi 10.1 Berlin

$
0
0

Hi,

Environment: Windows 7 SP1
Installed: Delphi 10 Seattle and Delphi 10.1 Berlin

I can't build any package in Delphi 10.1 Berlin.
I have no problems when building the same packages in Seattle.
Even the simplest package with only 1 basic unit in the contains-section gives errors:
E2200 Package 'Package1' already contains unit 'Unit1'

package Package1;

{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE DEBUG}
{$ENDIF IMPLICITBUILDING}
{$IMPLICITBUILD ON}

contains
  Unit1 in 'Unit1.pas';

end.


unit Unit1;
interface
const
  ourTest1 = 'Test1';
  ourTest2 = 'Test2';
implementation

end.

Any idea what's wrong ?
Regards

Freddy

 

 

SAPI 5.4 and text to wave file with C++

$
0
0

 I'm able to use the  text to speak (SAPI 5.4) function SpVice->Speak but I can't save the output audio to a stream. The C#  examples found on MSDN don't translate to C++ unfortunately. Any help or sample code?

 

Backup VM with Veeam

$
0
0

On HyperV virtual machine backup does not work in connection with InterBase 7.5. Is it mandatory to stop the service before the backup is started? Or is there another way to a 24 hour operation to ensure?

Tsocketclient and server

$
0
0

Hello,

  Under DELPHI 10 SEATTLE, where are the TsocketClient and TsocketServer ? Perhaps, they are replaced?

Thanks

 

Viewing all 3212 articles
Browse latest View live