Delphi

(Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

喜你入骨 提交于 2020-12-29 08:13:01
问题 I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz on my Ubuntu Gnome 16.10 vm. Please note that I have never used the pa server before and this is my first time using it After that I proceeded to make a profile on Rad Studio 10.2 and the test connection was a success. After I compile I get this error: [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lgcc_s C:

(Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

半世苍凉 提交于 2020-12-29 08:07:52
问题 I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz on my Ubuntu Gnome 16.10 vm. Please note that I have never used the pa server before and this is my first time using it After that I proceeded to make a profile on Rad Studio 10.2 and the test connection was a success. After I compile I get this error: [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lgcc_s C:

(Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

我们两清 提交于 2020-12-29 08:07:33
问题 I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz on my Ubuntu Gnome 16.10 vm. Please note that I have never used the pa server before and this is my first time using it After that I proceeded to make a profile on Rad Studio 10.2 and the test connection was a success. After I compile I get this error: [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lgcc_s C:

(Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-29 08:07:06
问题 I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz on my Ubuntu Gnome 16.10 vm. Please note that I have never used the pa server before and this is my first time using it After that I proceeded to make a profile on Rad Studio 10.2 and the test connection was a success. After I compile I get this error: [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lgcc_s C:

How to load an icon from resources to a TImage?

筅森魡賤 提交于 2020-12-26 10:38:51
问题 I try the following code and it's not working... LoadIconWithScaleDown returns a negative error code. unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls; type TForm1 = class(TForm) Image1: TImage; procedure FormCreate(Sender: TObject); procedure LoadResToImg(RID: String; const Img: TImage); end; var Form1: TForm1; implementation {$R *.dfm} {$R UserResources

Is there an equivalent for Delphi's “with” command in c#?

ぐ巨炮叔叔 提交于 2020-12-26 05:54:30
问题 I was wondering if there is a command in C# which I can use like with command in Delphi? // like this : with(textbox1) { .text="some text as text of text box"; .tag=1231; } // in Delphi with edit1 do begin text="some text as text of edit1"; tag=1231; end; 回答1: Not for already created instances. However, when you create a new instance you can do: var textbox1 = new Textbox { Text = "some text as text of text box", Tag = 1231 }; 回答2: No, that does not exist in C#. 回答3: No, it does not exist in

Is there an equivalent for Delphi's “with” command in c#?

我只是一个虾纸丫 提交于 2020-12-26 05:52:06
问题 I was wondering if there is a command in C# which I can use like with command in Delphi? // like this : with(textbox1) { .text="some text as text of text box"; .tag=1231; } // in Delphi with edit1 do begin text="some text as text of edit1"; tag=1231; end; 回答1: Not for already created instances. However, when you create a new instance you can do: var textbox1 = new Textbox { Text = "some text as text of text box", Tag = 1231 }; 回答2: No, that does not exist in C#. 回答3: No, it does not exist in

Is there an equivalent for Delphi's “with” command in c#?

寵の児 提交于 2020-12-26 05:51:48
问题 I was wondering if there is a command in C# which I can use like with command in Delphi? // like this : with(textbox1) { .text="some text as text of text box"; .tag=1231; } // in Delphi with edit1 do begin text="some text as text of edit1"; tag=1231; end; 回答1: Not for already created instances. However, when you create a new instance you can do: var textbox1 = new Textbox { Text = "some text as text of text box", Tag = 1231 }; 回答2: No, that does not exist in C#. 回答3: No, it does not exist in

Is it possible to get the value of a GUID on an interface using RTTI?

亡梦爱人 提交于 2020-12-25 00:38:00
问题 If I have an interface such as: IPluginAPI = interface ['{590DFF0B-CA00-46CC-84B0-3848103D4C5A}'] function add (a : double; b : double) : double; function sub (a : double; b : double) : double; function mult (a : double; b : double) : double; function divide (a : double; b : double) : double; end; Is there anyway to get the value of the GUID using RTTI? I am using Delphi XE. 回答1: uses TypInfo; Guid := GetTypeData(TypeInfo(IPluginAPI))^.Guid; 来源: https://stackoverflow.com/questions/8439246/is

Is it possible to get the value of a GUID on an interface using RTTI?

三世轮回 提交于 2020-12-25 00:34:22
问题 If I have an interface such as: IPluginAPI = interface ['{590DFF0B-CA00-46CC-84B0-3848103D4C5A}'] function add (a : double; b : double) : double; function sub (a : double; b : double) : double; function mult (a : double; b : double) : double; function divide (a : double; b : double) : double; end; Is there anyway to get the value of the GUID using RTTI? I am using Delphi XE. 回答1: uses TypInfo; Guid := GetTypeData(TypeInfo(IPluginAPI))^.Guid; 来源: https://stackoverflow.com/questions/8439246/is