| | Need help on Delphi: Using a form in a dll
|
|
Hello, I am creating a plugin for LD Design Pad How do I use a form in a DLL? Niels Karsdorp (22 years ago, 27-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) Sorry to have bothered, I have found a way myself now. (Didn't think about the possibility to use nil as AOwner when calling TForm.Create..) Anyway, it's a Wheel Generator to create matching wheel holders, wheels and tyres, all alligned. It (...) (22 years ago, 27-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) Could you consider either making a standalone version of the Wheel Generator or a very easy-to-follow tutorial on how to plug in plugins? Someday I would love to try to write a plugin myself, but that seems distant for the moment. /Tore (22 years ago, 28-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) Here's how to install a plugin for LDDesignPad: -Take the supplied DLL and put it into the Plugins folder in the LDDesignPad directory It's as simple a that. To use the plugin, select it under the Plugins submenu in the Tools menu. -Orion (22 years ago, 28-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) Step 1: I tried LDDesignPad, and it worked. Step 2: I copied PluginMinifig.dll (471 kb) into the Plugins folder. Step 3: I tried LDDesignPad, and it crasched at startup: "Illegal operation". Step 4: I removed PluginMinifig.dll from the Plugins (...) (22 years ago, 29-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) I had the same problem first, too. You have to use (and download) the other version of LDDesignPad LDDesignPad119b.zip That version works well with plugins! Niels Karsdorp (22 years ago, 29-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) Files page should be updated. ...119b is a broken link, but I found (URL) (22 years ago, 29-Sep-02, to lugnet.cad.dev)
|
|
| | Wheel Generator Plugin (Was: Need help on Delphi)
|
|
(...) Yes, it's really great! I had to edit the ini file by hand to make it work though. No big problems. Some suggestions: How about having a default color for every holder, wheel, and tyre? Also, I would like the special rubber colors defined in: (...) (22 years ago, 29-Sep-02, to lugnet.cad.dev)
|
|
| | Re: Need help on Delphi: Using a form in a dll
|
|
(...) There is an update of LDDesignPad, check Carsten's website: (URL) well Niels (22 years ago, 1-Oct-02, to lugnet.cad.dev)
|
|
| | List of Colors (Re: Wheel Generator Plugin)
|
|
(...) For the Wheel Generator I used a list of colors taken from LDDesignPad, but it contains many colors (almost) never used. Does anyone knows a list of most common colors together with the LDraw-number and RGB-value? About a default color for (...) (22 years ago, 1-Oct-02, to lugnet.cad.dev)
|
|
| | Re: List of Colors (Re: Wheel Generator Plugin)
|
|
(...) Is this what you want? (URL) (22 years ago, 1-Oct-02, to lugnet.cad.dev)
|
|
| | Re: List of Colors (Re: Wheel Generator Plugin)
|
|
(...) That is probably one of the most complete LCad color lists available, but it is focused on original LDraw and LDLite standards. I use L3Lab for quick viewing and L3P/POV for high quality renderings. And tires look *much* better in POV when (...) (22 years ago, 1-Oct-02, to lugnet.cad.dev)
|