0
我使用Delphi主機和.NET插件的Hydra界面。這裏是IPlugin.cs。我想在HydraInterface.pas和IPlugin.cs中添加更多的方法和函數。但是,當我添加新方法並實施並在調試時,它僅在IPlugin.cs中停止,並且未連接到HydraInterface.pas。我如何更新C#插件和Delphi HydraInterface?如何更新Hydra界面的插件
[Guid("B6135CAD-BF01-491B-8BF3-2D5D3059E731")]
public interface IHostInterface : IHYCrossPlatformInterface
{
bool WriteByte(string parameterValue, byte value);
bool WriteString(string parameterValue, string value);
bool WriteLong(string parameterValue, int value);
}
這是德爾福方面的HydraInterface.pas。
IHostInterface = interface;
IHostInterface = interface(IHYCrossPlatformInterface)
['{B6135CAD-BF01-491B-8BF3-2D5D3059E731}']
function WriteRegisterByte (const parameterValue:WideString; const value:Byte): boolean; safecall;
function WriteLong(const parameterValue:WideString; const value:integer): boolean;safecall;
function WriteString(const parameterValue:WideString; const value:WideString): boolean;safecall;
那麼,一開始的方法的順序不匹配 – 2014-09-02 10:59:38
是的,我做你的建議。它運行良好。謝謝大衛Heffernan。 – PPPA 2014-09-03 01:27:50