多年来我一直使用Delphi IDE的几个版本.当我使用Delphi Prism时,我必须处理Visual Studio - 在我的情况下尤其是VS 2008.
对我来说最烦人的事情之一就是我必须右键单击我的表单才能切换到代码编辑器,反之亦然.在Delphi中,只需按下F12键即可在代码和表单设计器之间切换.
有没有办法让这个快捷方式在Visual Studio中工作?在我看来,当我看一下键盘选项时,我至少需要2个快捷键.
当我尝试在delphi prism中编译我的应用程序时,我遇到了这些错误
C:\ Users\Burak\Documents\Visual Studio 2008\Projects\Project1\WindowsApplication1\WindowsApplication1\Main.pas(6,3):错误:(PE17)命名空间"Windows"不存在或没有公共类型C:\ Users\Burak\Documents\Visual Studio 2008\Projects\Project1\WindowsApplication1\WindowsApplication1\Main.pas(7,3):错误:(PE17)命名空间"Tlhelp32"不存在或没有公共类型
我做错了吗?
使用Windows,Tlhelp32,System.Drawing,System.Collections,System.Collections.Generic,System.Linq,System.Windows.Forms,System.Windows,System.ComponentModel;
我使用2009 delphi prism,小答案可以解决我的问题(我认为我的问题是愚蠢的,但我不能使用CreateRemoteThread,而WriteProcessMemory没有它).
最诚挚的问候,Burak TAMTURK
我正在学习Delphi Prism,我没有找到如何用它编写以下代码:
type
TRapportItem = record
Label : String;
Value : Int16;
AnomalieComment : String;
end;
type
TRapportCategorie = record
Label : String;
CategoriesItems : Array of TRapportItem;
end;
type
TRapportContent = record
Categories : array of TRapportCategorie;
end;
Run Code Online (Sandbox Code Playgroud)
然后,在某个地方,我尝试将项目放在数组中:
rapport.Categories[i].Label:=l.Item(i).InnerText;
Run Code Online (Sandbox Code Playgroud)
但它不起作用.有人可以点燃我吗?
谢谢!
你有没有开发Delphi Prism 2010或2011?如果是这样,你的主要投诉是什么?我似乎无法对相对较新的版本发现太多批评.你用它来做什么?Windows上的.NET应用程序?在不同的操作系统上?你最喜欢它的什么?
谢谢!
我正在尝试执行以下表达式,但我一直遇到此异常,"无法找到'chars'的属性设置器."
这是表达式:
xstr, str : string;
for i := 1 to length(str) do
begin
if ((i mod 2)<>0) then
begin
xstr[i] := char(Ord(str[i]) xor $AA); <<<<------ Exception Raised
end
else
begin
xstr[i] := char(Ord(str[i]) xor $55); <<<<------ Exception Raised
end;
end;
Run Code Online (Sandbox Code Playgroud)
"str"的值被传递给加密方法.
这是加密方法的一部分.做这个的最好方式是什么?