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

Access to historical versions of Delphi

$
0
0

Hi there, I have an XE10.1 Enterprise licence and have been on update subscription for many years.  Can you please make historical versions of Delphi available for download in my account as I have some code that I need to test on old versions of Delphi. Kind regards Erich


Feautures (PDF, Video, InApp Subscriptions)

$
0
0

Hi Mobile devices nearly = social, photo, video, pdf, in-app subscriptions. Firemonkey and its components solves only social and photo partically, I cannot find any products/components for - recording videoes (mp4.h264), - pdf reader and editor, - in-app subscription, As a result we have to use native app development process,  We want to use Delphi Firemonkey for development and please add video, pdf, in-app subcriptions and more powerful features in Firemonkey (ios+android) these are critical but I dont see them in your roadmap. Best regards    

RAISERROR doesn't return correct error message using DB Express on Windows 10

$
0
0

I am running my application which is developed in Delphi 10.1 berlin Update 2 on windows 10 and it is accessing the Database through network (I am using SQL Server 2016 and it is installed on different machine), when stored procedure raises error using

`raiseerror(MSG, 16, 1)` 

application gets following message:

SQL State: 42000, SQL Error Code: 50000

but the message doesn't contain error string. If I run same query on SQL Management Studio, I get below error.

SQL State: 42000, SQL Error Code: 50000
MSG

I tried to run the same on windows 7 and windows Server 2012 R2 with same configuration, this time it give desired error message containing error string. I am using dbexpress for handling queries in the application. (NOTE If I replace the implementation from dbexpress to BDE it is working fine in windows 10).

I tried to copy following .dll files of dbexpress and also dbxdrivers.ini file at the location where .exe is present

Borland.Data.DBXMSSQLDriver.dll
dbxadapter.dll
dbxasa.dll
dbxase.dll
dbxdb2.dll
dbxfb.dll
dbxinf.dll
dbxint.dll
dbxmss.dll
dbxmss9.dll
dbxmys.dll
dbxora.dll
Midas.dll

Machines having windows 10 but don't have Delphi 10.1 berlin Update 2 installed, we are using these machines as Client machine where we install the application.

Also we observed these issues on application developed using Delphi XE2.

NOTE: Windows 10 client machines having Delphi and SQL server installed, this issue doesn't occur even with db Express.

Can someone please help me with this situation? Do I need copy any specify assembly files along with the package? Do I need to install anything to support this?

App will not compile with the addition of a single line of code

$
0
0

I was compiling a project "Chart" which defines a TRecord which contains a number of boolean variables, one of which was "showygrid". I was building the code up with it working fine when I entered "showygrid:=true;" in a "with the record" block. The PC immediately went very slow, and I had to restart. I reopened Delphi, and the project, and ran it again. This time I get variable behaviour. With the line "showygrid:=true;" in, the project does not run, and I either have to "reset" and sometimes I don't. Sometimes I get "failed" and sometimes I get "success" even though it doesn't create a running executable. With that single line remmed out, the exe compiles and runs fine. Eventually I get the message "cannot create file Chart.exe". When I look at the file in Explorer, it is over 11MB in size, which is astonishing. If I try to delete it, Explorer says it is in use, even if I have actually shut down Delphi! I even renamed the boolean to "dispygrid" and the line "dispygrid:=true;" but the behaviour was the same, the project seems to compile but doesn't run with the line in, and works OK without it. I am utterly unable to see why that single line crashes the app so strangely.

I am running Delphi 10 Starter Edition on Windows 10 OS.

Any suggestions, anyone?

line between begin And the end

$
0
0

Good afternoon, how do I change the line between begin And the end for instead of being controlled by the end, be controlled by begin?   Grateful

How to send and receive USSD codes via FMX for Android

$
0
0

I need to send specific USSD code (*100#) to receive the balance of my mobile voice minutes.

How do I send and receive the result in my code, and not show the dialer pop up of the phone

Competition NASA API Mashup question

$
0
0

Hello, I have a question about the competition "#FunWithDelphi: NASA API Mashup". I have submit an application. The compition ended since 1 march. The official rules say "The winners will be notified via email after February 28th, 2017. The winners will have 48 hours to confirm their award via email.". My contribution is second. I did not get a mail and I would like to know if this is normal ? Thank you for your reply. Best regards, Grégory.

Unresolved External: JSON Reflect, DataSnap, REST

$
0
0

Hi, I make this tutorial:

http://docwiki.embarcadero.com/RADStudio/Seattle/en/Tutorial:_Using_a_REST_DataSnap_Server_with_an_Application_and_FireDAC

but I have a problem in server line:

    TFDJSONDataSets *ds = new TFDJSONDataSets();
    TFDJSONDataSetsWriter::ListAdd(ds, FDQueryDepartmentNames);

[ilink32 Error] Error: Unresolved external 'Data::Firedacjsonreflect::TFDJSONDataSets::' referenced from ...\PROJECT9\WIN32\DEBUG\SERVERMETHODSUNIT1.OBJ

[ilink32 Error] Error: Unresolved external 'Data::Firedacjsonreflect::TFDJSONDataSetsWriter::' referenced from ...\PROJECT9\WIN32\DEBUG\SERVERMETHODSUNIT1.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall Data::Firedacjsonreflect::TFDJSONDataSetsWriter::ListAdd(Data::Firedacjsonreflect::TFDJSONDataSets * const, Firedac::Comp::Client::TFDAdaptedDataSet * const)' referenced from ...\PROJECT9\WIN32\DEBUG\SERVERMETHODSUNIT1.OBJ

[ilink32 Error] Error: Unresolved external '__fastcall Data::Firedacjsonreflect::TFDJSONInterceptor::DataSetsToJSONObject(Data::Firedacjsonreflect::TFDJSONDataSetsBase * const, System::Json::TJSONObject * const)' referenced from ...\PROJECT9\WIN32\DEBUG\SERVERMETHODSUNIT1.OBJ

My system is Windows 7 Ultimate 64 bits, installed fulll RAD Studio 10.1 Berlin

 

Please help me, I try to make this work so 1 week ago.

Thank You.


Nothing works...

$
0
0

Dear embacadero people,

I´m new in the programmer world..

I brought RAD Studio Berlin 10.1 Professional and now i want to use it for creating an android multi device application.

I decided to do that on another Computer..

After install it again some weird things happend.

There were no option to use the programm because everytime when i wanted to start RAD, it said that i would have no licence.. Seconds before i imported some textfiles with necessary licence information.

Well i tried some things etc.

Next step i thought it could nice, uninstalling RAD and reinstall..

Now I cant use the product anymore because of errormessages of IDE package Moduls that cant be found and even if i press yes after asking me whether the files should be load by next time (how should them be loaded by next time if they aren´t found???) the other problem is still the licence problem..

I have licences for:

C++Builder 10.1 Berlin Professional

InterBase XE7 ToGo Test Deployment

IBLite XE7 for All Platforms 

And only want to use the android plattform for creating a multi device app.

Thanks in advance

Ken 

 

Delphi 10.1 Berlin Debug not working

$
0
0

I have been using Delphi 7 for years and found it to be a very stable platform and virtually all components work without bugs.

I have now downloaded Delphi 10.1 Berlin to see what the advantages are of buying the latest version of Delphi and after spending hours converting a Delphi 7 program to work with the new software found that I cannot debug my program. The build configuration is set to debug and yet breakpoints (yes I have the red circle next to the line number) are completely ignored. Even run to cursor does not work. I also tried to use the ballonhint component and found that for every line of text I add to the hint, the balloonhint adds a blank line above the hint heading and eventually the hint text is cut off by the bottom of the balloonhint.

My question is, are the problems I am having because because this is a cut down (beta) version of Delphi or will I still have the same problems if I purchase the full product?

Any idea about delphi coding in AWS Lambda environment ?

$
0
0

As new trends of serverless "AWS Lambda" environment born, 

to be compatible with about technology, delphi considers that ?  

 

Thanks,

Mark

Interbase license transfer

$
0
0

Hello Embarcadero support team,

i failed to transfer the interbase XE7 license to another PC, what i have done was to delete the license from original PC, but when i register it to a new PC, it kept saying that this serial number has been registered. when i first registered the license it was not associated to any email account.

can you refresh the registration record and let me register to the new PC?

kind regards,

Susan

SoapHeader

$
0
0

How to change SoapHeader at runtime by removing unneeded namespaces

Debug mode linking error - I'm not a BETA TESTER!!

$
0
0

I have imported a C++ Builder project from XE8 to 10 Seattle, when I try to compile it using new CLANG based C++ 32 bit in Debug mode, I get following Link errors.

How can I resolve it? When I try Release mode, there is no problem.

 

Checking project dependencies...
Compiling NURBSTest.cbproj (Debug, Win32)
brcc32 command line for "NURBSTest.vrc"
  c:\program files (x86)\embarcadero\studio\17.0\bin\cgrc.exe -c65001 NURBSTest.vrc -foNURBSTest.res
ilink32 command line
  c:\program files (x86)\embarcadero\studio\17.0\bin\ilink32.exe -G8 -L.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\17.0\lib\win32\release";
  "c:\program files (x86)\embarcadero\studio\17.0\lib\Win32\debug";..\..\..\wafl3\system;..\..\..\wafl3\geo;..\src;D:\WA\warp_dev\proto\NURBS\proj;
  D:\WA\warp_dev\proto\NURBS\src;"c:\program files (x86)\embarcadero\studio\17.0\lib\win32c\release";"c:\program files
  (x86)\embarcadero\studio\17.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\17.0\lib\win32\release\psdk";
  D:\Profiles\Public\Documents\Embarcadero\Studio\17.0\DCP -j.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\17.0\lib\win32\release";
  "c:\program files (x86)\embarcadero\studio\17.0\lib\Win32\debug";..\..\..\wafl3\system;..\..\..\wafl3\geo;..\src;D:\WA\warp_dev\proto\NURBS\proj;
  D:\WA\warp_dev\proto\NURBS\src;"c:\program files (x86)\embarcadero\studio\17.0\lib\win32c\release";"c:\program files
  (x86)\embarcadero\studio\17.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\17.0\lib\win32\release\psdk";
  D:\Profiles\Public\Documents\Embarcadero\Studio\17.0\DCP -l.\Win32\Debug -v -Gn
  -GA"C:\Users\ksg\AppData\Local\Temp\vfs5A52.tmp"="D:\WA\warp_dev\proto\NURBS\src\form_NURBSTest_main.fmx"
  -GA"C:\Users\ksg\AppData\Local\Temp\vfs5A53.tmp"="D:\WA\warp_dev\proto\NURBS\src\form_NURBSTest_main.Surface.fmx"
  -GA"C:\Users\ksg\AppData\Local\Temp\vfs5A64.tmp"="D:\WA\warp_dev\proto\NURBS\src\form_NURBSTest_main.Windows.fmx" -aa -V5.0 -Tpe  c0fmx32w rtl.bpi
  fmx.bpi memmgr.lib sysinit.obj .\Win32\Debug\NURBSTest.obj .\Win32\Debug\form_NURBSTest_main.obj .\Win32\Debug\b_spline.obj
  .\Win32\Debug\geo_parametric_shape.obj .\Win32\Debug\mem_dynamic.obj .\Win32\Debug\sys_logger.obj , .\Win32\Debug\NURBSTest.exe ,
  .\Win32\Debug\NURBSTest.map , import32.lib cp32mti.lib , , NURBSTest.res
[ilink32 Error] Error: Unresolved external '___seh_personality_v0' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\NURBSTEST.OBJ
[ilink32 Error] Error: Unresolved external '__Unwind_SjLj_Register' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\NURBSTEST.OBJ
[ilink32 Error] Error: Unresolved external '__Unwind_SjLj_Unregister' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\RTLE.LIB|dstring
[ilink32 Error] Error: Unresolved external '___cxa_begin_catch' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\NURBSTEST.OBJ
[ilink32 Error] Error: Unresolved external '___cpp_terminate' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\NURBSTEST.OBJ
[ilink32 Error] Error: Unresolved external '__Unwind_Resume' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\RTLE.LIB|ustring
[ilink32 Error] Error: Unresolved external '___cxa_rethrow' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\FORM_NURBSTEST_MAIN.OBJ
[ilink32 Error] Error: Unresolved external '___cxa_end_catch' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\FORM_NURBSTEST_MAIN.OBJ
[ilink32 Error] Error: Unresolved external '___cxa_throw' referenced from D:\WA\WARP_DEV\PROTO\NURBS\PROJ\WIN32\DEBUG\NURBSTEST.OBJ
[ilink32 Error] Error: Unable to perform link
Failed
Elapsed time: 00:00:01.0

 

ilink32 error

$
0
0

I start a new project using static library

I get get the following error while compiling, 

Somebody have an idea ?

Ligne de commande ilink32

  c:\program files (x86)\embarcadero\studio\18.0\bin\ilink32.exe -G8 -L.\Win32\Debug;"c:\program files 

  (x86)\embarcadero\studio\18.0\lib\Win32\debug\FR";"c:\program files (x86)\embarcadero\studio\18.0\lib\Win32\release\FR";"c:\program files 

  (x86)\embarcadero\studio\18.0\lib\Win32\debug";C:\User\Lib\C10\Mbcl;C:\User\Lib\C10\Module;C:\User\Lib\C10\Es;C:\User\Lib\C10\Comm;

  C:\User\Lib\C10\Wide;C:\User\Util\C10\Auto\Gen_esv;"c:\program files (x86)\embarcadero\studio\18.0\lib\win32\release";"c:\program files 

  (x86)\embarcadero\studio\18.0\lib\win32\release\psdk";"C:\Program Files (x86)\FastReports\LibD24";"c:\program files 

  (x86)\embarcadero\studio\18.0\include\DCP" -j.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\18.0\lib\Win32\debug\FR";"c:\program files 

  (x86)\embarcadero\studio\18.0\lib\Win32\release\FR";"c:\program files (x86)\embarcadero\studio\18.0\lib\Win32\debug";C:\User\Lib\C10\Mbcl;

  C:\User\Lib\C10\Module;C:\User\Lib\C10\Es;C:\User\Lib\C10\Comm;C:\User\Lib\C10\Wide;C:\User\Util\C10\Auto\Gen_esv;"c:\program files 

  (x86)\embarcadero\studio\18.0\lib\win32\release";"c:\program files (x86)\embarcadero\studio\18.0\lib\win32\release\psdk";"C:\Program Files 

  (x86)\FastReports\LibD24";"c:\program files (x86)\embarcadero\studio\18.0\include\DCP" -l..\..\Exe -v 

  -GA"C:\Users\PASCAL~1.TEI\AppData\Local\Temp\vfs19C1.tmp"="C:\User\Util\C10\Auto\Gen_esv\Gen_esv1.dfm" -aa -V5.0 -Tpe  c0w32w rtl.bpi vcl.bpi 

  dbrtl.bpi vcldb.bpi adortl.bpi memmgr.lib sysinit.obj .\Win32\Debug\Gen_esv.obj .\Win32\Debug\Gen_esv1.obj .\Win32\Debug\Unit3.obj , 

  ..\..\Exe\Gen_esv.exe , ..\..\Exe\Gen_esv.map , comm.lib es.lib mbcl.lib module.lib wide.lib import32.lib cp32mti.lib , , Gen_esv.res 

[ilink32 Erreur] Error: 'std::ios_base::Init::{1173}...' externe non résolu, référencé depuis C:\USER\LIB\C10\ES\ES.LIB|es

[ilink32 Erreur] Error: 'std::_Winit::{1173}...' externe non résolu, référencé depuis C:\USER\LIB\C10\ES\ES.LIB|es

[ilink32 Erreur] Error: '___seh_personality_v0' externe non résolu, référencé depuis C:\USER\LIB\C10\ES\ES.LIB|es

[ilink32 Erreur] Error: '__Unwind_SjLj_Register' externe non résolu, référencé depuis C:\USER\LIB\C10\ES\ES.LIB|es

[ilink32 Erreur] Error: '__Unwind_SjLj_Unregister' externe non résolu, référencé depuis C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\18.0\LIB\WIN32\DEBUG\RTLE.LIB|dstring

[ilink32 Erreur] Error: '___cxa_begin_catch' externe non résolu, référencé depuis C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\18.0\LIB\WIN32\DEBUG\RTLE.LIB|dstring

[ilink32 Erreur] Error: '___cpp_terminate' externe non résolu, référencé depuis C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\18.0\LIB\WIN32\DEBUG\RTLE.LIB|dstring

[ilink32 Erreur] Error: '__Unwind_Resume' externe non résolu, référencé depuis C:\USER\LIB\C10\ES\ES.LIB|es

[ilink32 Erreur] Error: Impossible d'effectuer la liaison

Thanks for answer


Cannot get Boost library to work

$
0
0

Sirs/Madams

I installed Boost library by using GetIt Package manager under Tools menu. Everything went ok and package is now installed and I can see it for example in Project Options and Environment Block, I mean in the System Variables.

But when I try to compile something simple, basically I just make new project and only thing what I add into Unit.cpp file is:

#include

And then I try to compile. Error what I get is: E2209 Unable to open include file 'boost/fusion/include/unused.hpp'. Basically compiler cannot find include files. Files are ok on my hard drive in the directory where they are suppose to be and environment variable is also ok.

Any idea why compiler cannot find "*.hpp" s

 

thanks in advance

Jarkko

Use of OnReconcileErrorDialogBox in Berlin 10.1 with TFDQuery

$
0
0

Hi all. I appreciate my newbie status all too well when working with FireDac but having read the book (Delphi in Dept: ClientDataSets 2nd Edition by Cary Jensen) and having sweated over some code I feel I do have the T-Shirt now (enough) to be able to ask a question in this group.

I'm using a TFDConnection and TFDQuery to retrieve data from an in-house MS SQL database. The user is allowed to modify just one field (not any key field by the way) and I was trying to use CachedUpdates and the ApplyUpdates functions to save data back to the database and to advise the user if any of the data has been changed by other users. I am struggling with this and tried to use the OnReconcileErrorDialogBox unit added to my project to offer the user a ready made facility in which to compare the various values of data in their cache and remote SQL database.

However it would appear that this unit hasn't been written for the parameter types provided to the TFDQueryReconcileError method of UpdateKind - TFDDatSRowState or E - EFDException.

Has anyone else tried using this dialog box in this scenario or some variant of it that handles the parameters provided within TFDQueryReconcileError?

Many thanks and regards in advance

David

Retrieving real gps status

$
0
0

Hi, how can i retrieve the real status of a gps sensor on android or ios?

TSensorManager returns a LocationSensor

With a timer i'm printing the TSensorState flag, but it returns every time a Ready State even if i disable the Gps and/or the Wifi option on the device.

Thank you

Using FDExplorer

$
0
0

When I try to use FDExplorer to "Import BDE Aliases", I get the error: "BDE driver [Standard] is not supported".

I guess I must be missing something, but what?

I really am trying to get my programs off the BDE but I can't seem to get a FireDAC connection set up.

Thanks

 

Error occurs while implementing custom Font in iOs using Firemonkey

$
0
0

I'm using Delphi 10.1 for developing mobile application. And I'm trying to implement the custom font Livingst.ttf for iOS and I followed Steps. But when I'm trying to run the application in iOS Simulator, I'm getting error message No mapping for the Unicode character exists in the target multi-byte code page.. I don't know how to fix this issue. Please help me to fix this issue.

Viewing all 3212 articles
Browse latest View live


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