delphi-xe6

Delphi XE6 - SOAP built with 'USE_INDY' connecting to a webservice over a proxy issue

筅森魡賤 提交于 2019-12-01 08:18:21
I have an application which connects to a webservice using THttpRio component. Webservice has basic authentication. I've compiled the Delphi SOAP units using the 'USE_INDY' directive in order that the THttpRio component to use WinHttp. Now I need to get through a proxy to my webservice. Looking into the Soap.SOAPHTTPTrans unit I've fixed some bugs, but I do not know how I should set up the THttpRio component to get through the proxy. I've tried to set the proxy property of the HTTPRIO.HTTPWebNode.Proxy to a string like: http://user:pass@ip:port but I get a 407 Unauthorized error.... Proxy

How can I disable the embedded designer in XE6?

痴心易碎 提交于 2019-12-01 08:11:18
问题 In order to see multiple view in one window i read this answer but it seems that those options not available any more, now my question is how configure rad studio xe6 to see more than one view in window (for example actual code and designed form) . 回答1: The options discussed in the question you link to still apply to XE6. The key is to disable the embedded designer which allows forms to float outside the main IDE tab set. From XE3, the option to enable/disable the embedded designer cannot be

Delphi Indy - How to get SSL certificates for a SSL-TCP Client/Server link with Indy 10

自古美人都是妖i 提交于 2019-12-01 02:11:48
I'm completely new to SSL and these ciphering stuff but I need to make communicate client and server Delphi XE6 apps running on mobile devices. The TCP communication has to be safely ciphered. To start, I simply wrote the Delphi/Indy TIdTCPServer/TIdTCPClient based Win32 client and server exchanging strings. (Issued from the indy10clieservr demos found on SourceForge: svn://svn.code.sf.net/p/indy10clieservr/code/1_sample Simple String Exchange) I tried to modify them to cipher the communication by adding a TIdServerIOHandlerSSLOpenSSL component on the Server, and a TIdSSLIOHandlerSocketOpenSSL

Delphi Indy - How to get SSL certificates for a SSL-TCP Client/Server link with Indy 10

送分小仙女□ 提交于 2019-11-30 20:53:11
问题 I'm completely new to SSL and these ciphering stuff but I need to make communicate client and server Delphi XE6 apps running on mobile devices. The TCP communication has to be safely ciphered. To start, I simply wrote the Delphi/Indy TIdTCPServer/TIdTCPClient based Win32 client and server exchanging strings. (Issued from the indy10clieservr demos found on SourceForge: svn://svn.code.sf.net/p/indy10clieservr/code/1_sample Simple String Exchange) I tried to modify them to cipher the

How to show a modal dialog from a modeless form?

自闭症网瘾萝莉.ら 提交于 2019-11-30 19:11:35
I have two "modeless" forms: one is the special MainForm the other is a modeless form You can see: both exist on the taskbar both have a taskbar button both can be independantly minimized both can be independantly restored neither is always on top (owned) by the other Now show a modal form From this modeless form, i want to show a modal one: The Modal form is being constructed as: var frmExchangeConfirm: TfrmExchangeConfirm; begin frmExchangeConfirm := TfrmExchangeConfirm.Create(Application); try //Setting popupMode and popupParent still makes the MainForm disabled // frmExchangeConfirm

F2051: Unit %s was compiled with a different version of %s

梦想的初衷 提交于 2019-11-30 14:45:00
问题 We've been fixing bugs in the VCL in Delphi XE6. So far the folder contains: | VCL Source Fixes |----- Vcl.ComCtrls.pas |----- Winapi.CommCtrl.pas And we add the folder to our Library search path: Along the way, we learned that we have to confine our fixes to the implementation section only . Otherwise the hash signatures of symbols in the interface section change. This causes the linker to realize that the symbols inside the DCU are not the same version they expect. Barry Kelly had a good

TRTTIContext multi-thread issue

倾然丶 夕夏残阳落幕 提交于 2019-11-30 12:42:08
Everything I've read indicates that TRTTIContext is thread-safe. However, TRTTIContext.FindType seems to fail (returns nil) occasionally when multithreading. Using a TCriticalSection around it fixes the issue. Note that I'm using XE6, and the issue doesn't seem to exist in XE. Edit: Seems to exist in all Delphi editions that have the new RTTI units. I've worked up a test project you can use to see for yourself. Create a new VCL project, drop a TMemo and a TButton, replace unit1 with below, and assign the Form1.OnCreate, Form1.OnDestroy and Button1.OnClick events. The key CS is the GRTTIBlock

How to show a modal dialog from a modeless form?

落花浮王杯 提交于 2019-11-30 03:13:25
问题 I have two "modeless" forms: one is the special MainForm the other is a modeless form You can see: both exist on the taskbar both have a taskbar button both can be independantly minimized both can be independantly restored neither is always on top (owned) by the other Now show a modal form From this modeless form, i want to show a modal one: The Modal form is being constructed as: var frmExchangeConfirm: TfrmExchangeConfirm; begin frmExchangeConfirm := TfrmExchangeConfirm.Create(Application);

TRTTIContext multi-thread issue

做~自己de王妃 提交于 2019-11-29 18:17:17
问题 Everything I've read indicates that TRTTIContext is thread-safe. However, TRTTIContext.FindType seems to fail (returns nil) occasionally when multithreading. Using a TCriticalSection around it fixes the issue. Note that I'm using XE6, and the issue doesn't seem to exist in XE. Edit: Seems to exist in all Delphi editions that have the new RTTI units. I've worked up a test project you can use to see for yourself. Create a new VCL project, drop a TMemo and a TButton, replace unit1 with below,

How can I make Windows 8.1 aware that my Delphi application wants to support Per Monitor DPI?

巧了我就是萌 提交于 2019-11-29 11:03:48
问题 I have tried to make Windows 8.1 recognize a Delphi XE6 application (a demo program) that I have been trying to build, and have it recognize my application is Per-Monitor DPI aware, purely by the Manifest technique. Delphi XE6 (and all other similarly up to date versions of Delphi) make adding a manifest easy to do, inside Project Options, and I have done so. This is the .manifest content I have determined using MSDN resources. I suspect it could be slightly incorrect. If you want to try this