Subject:
|
Re: * LDrawDesignPad LDDP 1.1 released *
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Sun, 4 Aug 2002 15:29:16 GMT
|
Viewed:
|
548 times
|
| |
| |
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
"rmelkert" <rmelkert@_remove_chello.nl> schrieb im Newsbeitrag
news:3D4D1A1D.2090800@_remove_chello.nl...
> If you want, I Like to give it a try. Have to download Builder Personal
> of trial for it so let me know.
>
> But I have one question. I think there's a serious memory problem in the
> Plugin_Info function. Because you give the result pointer (pchar) of
> one of the local strings back to the caller. Except after termination of
> the function those variables don't exist anymore. The pointer will still
> point to it's former memory and will almost always stay useable, because
> nothing else has used the data jet. But it's tricky stuff, was this
> you're intention?
>
> PS: none of the used units are necessary, remove the uses line to get a
> 17KB DLL whom does exactly the same :)
>
> Roland
>
>
> Carsten Schmitz wrote:
>
> > Hello!
> >
> > To be honest: I can't ;-).
> >
> > But i think that you can translate the dll-headers to C++ without problem.
> > If they would be in C++ I would be able to translate them to Delphi ;). The
> > dll funcs are very plain and should be easy to call. They only tricky part
> > is the call-back funtion to LDDP but with a little Google Groups help I
> > think a C++ programmer can do it without problems.
> >
> > Play well Carsten
> >
> >
> > > I know this might be a streach, but is there any way you could provide a
> >
> > C++
> >
> > > code sample? It's no big deal if you can't but I think I know C++ better
> > > than Delphi(Pascal).
> >
> >
> >
>
|
|
Message has 1 Reply: | | Re: * LDrawDesignPad LDDP 1.1 released *
|
| 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 (...) (22 years ago, 5-Aug-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: * LDrawDesignPad LDDP 1.1 released *
|
| If you want, I Like to give it a try. Have to download Builder Personal of trial for it so let me know. But I have one question. I think there's a serious memory problem in the Plugin_Info function. Because you give the result pointer (pchar) of one (...) (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
|
|
|
|