Subject:
|
Re: * LDrawDesignPad LDDP 1.1 released *
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 5 Aug 2002 09:42:13 GMT
|
Viewed:
|
604 times
|
| |
| |
I've made a C++ DLL (using borland bcc32.exe compiler 5.5)
And can access it just fine using little delphi project but when I place
it in your plugin dir and start lddp it closes again imedentenly.
I've only implemended the plugin_info function the otherone is still
empty but pressent.
Can you give your'e linking source for me to test with tonight.
I used:
procedure Plugin_Info(CaseID: byte; buffer: pchar; maxlength: byte);
stdcall; external 'PluginSample.dll'; //cpp dll version
and this to read the string:
procedure TForm1.Button1Click(Sender: TObject);
var buf: shortstring;
begin
buf[0]:=#100;
plugin_info(0, @buf[1], 100);
buf[0]:=chr(pos(#0, buf));
edit1.text:=buf;
end;
Roland
Carsten Schmitz wrote:
> Hello,
>
> Thank you Roland for pointing this error out to me. I admit I am new to the
> DLL and pointer stuff.
> I think i fixed this problem now, created a 'beta' version and put it up on
> my website http://www.m8laune.de in the files section.
>
> I hope this time the plugin stuff is error-free ;). If there are still
> problems just mail me.
>
>
> Play well
>
> Carsten
<snip>
>
|
|
Message has 1 Reply: | | Re: * LDrawDesignPad LDDP 1.1 released *
|
| (...) Hey, Here's an idea for a plugin. Chris Daelman sent me a C++ hose generator program based on John Vanzwieten's spreadsheet. I'm gonna try to put it into ldglite eventually, but perhaps it might also make a nice plugin for your program. I (...) (22 years ago, 5-Aug-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: * LDrawDesignPad LDDP 1.1 released *
|
| Hello, Thank you Roland for pointing this error out to me. I admit I am new to the DLL and pointer stuff. I think i fixed this problem now, created a 'beta' version and put it up on my website (URL) in the files section. I hope this time the plugin (...) (22 years ago, 4-Aug-02, to lugnet.cad)
|
14 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|