 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mvandere@iprimus.com.au Guest
|
Posted: Thu Apr 20, 2006 1:03 am Post subject: Importing Class into BDS2006 |
|
|
I am trying to create a plugin that has its class defined in a C# .net
DLL
In C# a code snippet would be:-
using System;
using GBPVR.Public;
namespace HelloMark
{
public class HelloMarkTask : IMenuTask
When I type IMenuTask I would be then prompted to press TAB to
implement the stubs for the interface.
I am trying to achieve the same thing in Delphi.net 2006. I create a
new library, add the reference to GBPVRPublic, add a new class and try
to make it an IMenuTask like this:-
TClass1 = class(IMenuTask)
private
{ Private Declarations }
public
constructor Create;
end;
Which is OK for the Syntax parser but on Compiling I get:-
[Pascal Error] helloworld.pas(7): E2021 Class type required
How should I go about this, and how do I get the stubs implemented? |
|
| Back to top |
|
 |
Riki Wiki Google Guest
|
Posted: Sun Apr 23, 2006 2:03 am Post subject: Re: Importing Class into BDS2006 |
|
|
Hoi
Your question is more fitting for the newsgroup
b.p.d.language.delphi.dotnet, try to repost the question there, and do
the repost to the Borland news server to make everybody see your
message.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|