| | Re: * LDrawDesignPad LDDP 1.1 released *
|
|
(...) Carten, 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). -Orion (22 years ago, 3-Aug-02, to lugnet.cad)
|
|
| | Re: * LDrawDesignPad LDDP 1.1 released *
|
|
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 (...) (22 years ago, 4-Aug-02, to lugnet.cad)
|
|
| | Re: * LDrawDesignPad LDDP 1.1 released *
|
|
(...) That's cool, Thanks anyway. -Orion (22 years ago, 4-Aug-02, to lugnet.cad)
|
|
| | 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)
|
|
| | 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)
|
|
| | Re: * LDrawDesignPad LDDP 1.1 released *
|
|
FUT lugnet.cad.dev. (...) I haven't personally looked at it, but the thing to remember when writing C++ that is going to be accessed from another language is that you usually have to write C functions, and declare them as being WINAPI. You also have (...) (22 years ago, 4-Aug-02, to lugnet.cad, lugnet.cad.dev)
|
|
| | 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)
|
|
| | 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)
|
|
| | Re: * LDrawDesignPad LDDP 1.1 released *
|
|
I'm working on a plugin that does Hoses. It my take me a little bit though as I'm still hashing out my DATLine Class hierarchy and I have to reeforce my knowledge of coding Forms. I've become the poster child for learning Delphi based on 7 year old (...) (22 years ago, 9-Aug-02, to lugnet.cad)
|