Quantcast
Channel: Recent Topics - Forum - Embarcadero Community - Embarcadero Community
Viewing all 3677 articles
Browse latest View live

"Private" topic's Category /topic's Category change - by: Didier

$
0
0
Hi there,
I realized that I misplaced a new topic (about FireMonkey) I posted: instead of "Application Development - UI" category, I put it on "Private - FieldTest - Aitana - FireMonkey" category. ( community.embarcadero.com/forum/firemonk...column-child-control )
One could think that this has no dramatic consequence, but it's wrong. Let me explain why.
If the user places a post in a "Private" descendant Category, his post will never be visible for not logged-in users (cf attached Firemonkey_post_whenlogged.jpg and Firemonkey_post_whennotlogged.jpg)
Therefore:
1. It is very important to remind to the user the consequence of posting in a "Private" descendant Category.
2. Forums rule should allow to modify one's post Category, once already posted.
Thanks for your action.

detect bluetooth on android firemonkey - by: Frank

Compilation of C++ Builder project - by: Ijaz

$
0
0
Hi,
I was trying to compile an existing C++ project and I am getting the following errors. Since I am new to this development environment, please let me know how to proceed further.

IDE Setup:
C++ Builder 10.2 Community Edition
Target Platform: Win 64

Issue: Unable to find following static library
1. vacommPkgDXE7.a
2. frxe21.a
3. fs21.a
4. frx21.a
5. bcbofficeexp.a

Am I missing to install any packages?. Any suggestions would be really appreciated.



Thanks,
Ijaz

Undeclared identifier 'TNetResource' in FMX - by: matrix

$
0
0


Hello everyone

need to fetch computers on my network to list my TCP server on RASPBERRY PI
I intend to search the ip of raspberry to connect via idTCPClient (indy)
I can do this using TNetResource in VCL Form ... in FMX I get error ...
....
is there any other way to find raspberry ip?

WinRT Platform TNotificationCenter - by: Roman

$
0
0
In past few days I have been playing with Win10 support in Delphi Tokyo. I need to implement user notification about various event occurring in the application, so I launched NotificationProject in Samples, and started to learn how to use TNotificationCenter component. It turned out that - at least under Win10 anniversary update (64-bit) - the whole thing does not work as expected:
The very first notification does not show up, while all subsequent notifications are OK.
I tried to trace down the cause, and I have found this: The WinRT implementation relies on the use of special *.lnk shortcut, that is checked for existence (and created when not present) during TNotificationCenter.PresentNotification call in FOLDERID_Programs system folder. However - if the shorcut did not exist BEFORE the call, the notification does not show up. It seems that creating the shortcut during the PresentNotification call is too late for the system being able to respond properly. I solved the issue by creating the routine that creates the needed shortuct (I basically copied the code of TNotificationCenterWinRT.CreateShortcut strict private method) and call it on the application startup. I would welcome if this issue is addressed by the Delphi developper team. It would also be nice if I could specify where the shortcut is located. And of course, there are other things that coan be improved (e.g. custom icons on the notification pane), but I understand that the feature is under development now. However, the failure of the first notification to fire up is a killer.
Roman Krejci

How to disable email notifications in bluemix devops services track & plan - by: Bargavi

$
0
0
Working with the 'Track & Plan' feature of the IBM Bluemix DevOps Services generates a lot of email notifications to my co-workers and me. For example, notifications are sent out for each work item creation, modification or assignment. As the number of such mails is overwhelming, I would like to deactivate them.

If I had full access to the underlying RTC instance I would go about this as outlined in the RTC Knowledge Center - Configuring notifications in the web client.

So far I haven't been able to find a comparable configuration page in the version hosted on DevOps Services. Also, the Bluemix DevOpsDevOps Services Documentation (e.g. Track and plan) didn't yield any hints in that direction.

Is there a way to disable these notifications either completely or at least partly? If so, how?

Localisation in default button captions does not work right - by: Jouni

$
0
0
I'm working with Delphi 10.2 Community Edition (WIN10 64bit).
My question:
For example MessageDlg('My text', mtConfirmation, [mbYes, mbNo], 0, mbYes) etc.
Localisation of those default Button (mbYes, mbNo) Caption texts will be automatic done by the system? I mean user in USA, in europe or in Japan will see those Button caption texts in their own language (without any spesific code of mine). Or will they? My problem is: I'm in Finland and programming for finnish users. In earlier Delphi versions those default Button captions were in finnish automatically in compiled piece of software, but not in software compiled in Delphi 10.2 Community Edition. I've tried to change the defalut language in Project -Options - Version info -Languge, but it does'nt work. What's different in Delphi 10.2 Community Edition compared to the earlier versions, what should I do to get those default button caption texts in my language?
Thanks.

boost shared_ptr - by: Don

$
0
0
Tried to use #include <boost\smart_ptr\shared_ptr.hpp> but get an error saying that it can't be found. The file is in
C:\Program Files (x86)\Enbarcadero\Studio\19.0\include\boost_1_55\boost\smart_ptr\shared_ptr.hpp.
Any ideas?

detect bluetooth on android firemonkey - by: Frank

Firemonkey Nested TabControls with Splitters Issues - by: Randy

$
0
0
Embarcadero® Delphi 10.2 Version 25.0.31059.3231

I have attached a sample project replicating an issue with two nested tabcontrols with 2 splitters with listview and panels. On Windows 10 pro 64 Bit Machine it works fine until you maximize the form.When maximized it is not possible to adjust the splitters. The program generally becomes unresponsive.

File Attachment:

File Name: Splitterproblemdemo.zip
File Size: 57 KB

Launching Photo Viewer - by: Andrew

$
0
0
I'd like to be able to launch Microsoft Photo Viewer or "Photos" (Win10) to display a jpg file (when it may not be the default viewer).

Anyone know a relatively easy way to do this?

The only way I can see to do it is using rundll32 on the PhotoViewer.dll file, but I'm not sure this would work in a protected environment where the users can't see (say) C:\Program Files (x86)\Windows Photo Viewer\PhotoViewer.dll.

Alternatively, I don't mind changing the default viewer if this can be done programmatically, although that also may not be possible in a protected environment.

It *is* possible to set the default viewer in this environment when opening a jpg file, but the user may not have a jpg file to open (even if they knew how to open it so that it sets the default).

Andrew

FireMonkey cannot debug on Android device - by: Eric

$
0
0
I am using Delphi 10.2. When I try to debug on my Android device, the APK already installed and the app was launched on my device, but the compile window hangs forever which and I cannot debug.

After I clicked cancel, error "Unable to start gdbserver on port xxx. Port is already in use." shows. I have restarted the device and changed the debug port but still failed.

In Android tools, I have already installed "Google USB Driver".

In addition, I cannot start a Virtual Devices in Android Virtual Device (AVD) Manager (in Embarcadero folder). However, I have installed Android Studio and I can start the same Device in Android Studio's AVD Manager. Thanks in advice for any help.

PDFKit-Component under iOS - by: Stefan

$
0
0
Hello,

since iOS 11 Apple supplies a PDFKit-component in iOS which allows displaying and editing and annotating PDFs in iOS with a PDFVIew-component with underlying object model.

Has anybody wrap this in a component for FMX?

If not is there somebody how could support us to do that or could do it for us on a hourly paided base?

Greetings

Stefan

Datasnap server: Could not load SSL library - by: Hubert

$
0
0
Hello,

I have some Datasnap XE6 servers running with ssleay32.dll and libeay32.dll on a virtual server.
I added a new Datasnap Tokyo server in the same folder of the XE6 folders.

When I start this server I get the message Could not load SSL library, but they are there in the same folder !

Is there still another SSL dll that has to be added ?

Thanks,
Hubert

Top Bar / Status Bar Rendering issue - by: Zach

$
0
0
Anyone else having this issue?

Its a FireMonkey application compiled using Delphi 10.2.3 Toyko and deployed to Android.

Zach

detect bluetooth on android firemonkey - by: Frank

Localisation in default button captions does not work right - by: Jouni

$
0
0
I'm working with Delphi 10.2 Community Edition (WIN10 64bit).
My question:
For example MessageDlg('My text', mtConfirmation, [mbYes, mbNo], 0, mbYes) etc.
Localisation of those default Button (mbYes, mbNo) Caption texts will be automatic done by the system? I mean user in USA, in europe or in Japan will see those Button caption texts in their own language (without any spesific code of mine). Or will they? My problem is: I'm in Finland and programming for finnish users. In earlier Delphi versions those default Button captions were in finnish automatically in compiled piece of software, but not in software compiled in Delphi 10.2 Community Edition. I've tried to change the defalut language in Project -Options - Version info -Languge, but it does'nt work. What's different in Delphi 10.2 Community Edition compared to the earlier versions, what should I do to get those default button caption texts in my language?
Thanks.

Adding message to Windows event log can't find message - by: Wayne

$
0
0
Delphi 10.2.3, Working on adding a message to the Windows event log. Message gets added but getting the dreaded "The message resource is present but the message was not found in the message table".

I spent a ton of time reading about this on google and tried everything but nothing resolved my issue. I have verified my registry is set up correctly. Here is my code to send the message. I verified the message resource is attached to the project.

Attached is my message file, the resulting header file from the message compiler.

procedure TForm1.AddEventLogMessage(AnApplication: string; AMessage: string; AnEventID: integer);
var
LVersionInfo : TOSVersionInfo;
LEventLogHandle: THandle;
LEventMessage: PChar;
begin
// get a handle to the vent log for the application
LEventLogHandle:= OpenEventLog(nil, PChar(AnApplication));
// maeks ure we got the handle
if LEventLoghandle <> 0 then
begin
LEventMessage := PChar(AMessage);

// the following is passed when creating the event
// handle - windows handle to event log
// Event type - EVENTLOG_ERROR_TYPE
// EVENTLOG_WARNING_TYPE,
// EVENTLOG_INFORMATION_TYPE
// EVENTLOG_AUDITSUCCESS_TYPE,
// EVENTLOG_AUDITFAILURE_TYPE
// etAuditFailure, determines icon shown in event log
// Event Category - any number
// Event ID - message that goes with this event entry
// User ID - not required
// Number strings - number of string to merge with the message
// Size of binary data - 0
// Array of strings - array of strings to merge with message
// Address of binary data- not required
ReportEvent(
LEventLogHandle,
EVENTLOG_ERROR_TYPE,
0,
$E0000100,
nil,
1,
0,
@LEventMessage,
nil);

// close the vent log
CloseEventLog(LEventLogHandle);
end;
end;

Top Bar / Status Bar Rendering issue [Screenshot Included] - by: Zach

$
0
0


Anyone else having this issue?

Its a FireMonkey application compiled using Delphi 10.2.3 Toyko and deployed to Android.

Zach

TKinveyProvider 12029 error - by: Reece

$
0
0
Hi Guys
I have been running a piece of software for a couple of years now that uses the object TKinveyProvider. In the past month or so it now longer works and I get a 12029 connection error. Nothing has changed in the program so was seeing if anyone else has this issue with the Kinvey object?
Viewing all 3677 articles
Browse latest View live


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