English 中文(简体)
在德尔菲克斯岛工作
原标题:working with dll ocx in delphi
  • 时间:2010-07-05 22:22:34
  •  标签:
  • delphi
  • dll

i 曾经试图在我的申请中使用2枚重弹(OCX),但当我想要说一种功能,我怎么能够这样做?

how can i call this funcion RSDKLib_TLB.IID_IMeasurement.... "TGUID"???

页: 1

 IID_IMeasurement: TGUID =  {97E75BE0-AF26-4E4A-B651-C5DDECEC2936} ;

或者这种做法是错误的?

最佳回答

你们可能需要对共同制定方案作一些基本介绍。

它像你进口图书馆一样。 但你们需要学会如何称职。

首先看进口单位的底部(紧接执行关键词),你将发现几个称为CXXX的班级,其中三十年级通常是你想要建立的接口的名称。

The CoXXX 班级将照此办理:

  CoXXX = class
    class function Create: IXXX;
    class function CreateRemote(const MachineName: string): IXXX;
  end;

因此,对你提供的资料持怀疑态度。

var
 M : IMeasurement;
begin
 M := CoIMeasurement.Create
 M.MethodYouNeedToCall;
end;
问题回答

暂无回答




相关问题
determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...

Help with strange Delphi 5 IDE problems

Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How convert string to integer in Oxygene

In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn t appear to be part of Oxygene, and I can ...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...

热门标签