| | Re: Problem with PluginWheelGenerator 1.1
|
|
(...) Niels, I've just tested it and it still doesn't work. The same message "I/O error 103" appears. This workaround for version 1.1 you mentioned works perfectly. Version 1.1.1 unfortuanetely not. Where does your plugin search for paths? Regards, (...) (22 years ago, 8-Dec-02, to lugnet.cad)
|
|
| | Re: Problem with PluginWheelGenerator 1.1
|
|
(...) Niels, I made some investigations (sorry for that) and I found that your plugin attempts to open PluginColors.txt file from directory LDraw\Models\Plugins. Was it your intention? I should be rather Lddp\Plugins I suppose. When I copied files (...) (22 years ago, 9-Dec-02, to lugnet.cad)
|
|
| | Re: Problem with PluginWheelGenerator 1.1
|
|
(...) Don't feel sorry, any help is welcome (...) The plugin tries to read the files from \Plugins as a subfolder in the current folder. The problem is determing the correct current folder. Unfortunately there is no entry in the registry where (...) (22 years ago, 9-Dec-02, to lugnet.cad)
|
|
| | Re: Problem with PluginWheelGenerator 1.1
|
|
(...) I use Delphi and do it this way: ExtractFilePath(Appl...n.ExeName) This will return the path LDDesignPad is installed in as a string. All you have to do is tack '\plugins' on the end to get the plugin directory. Also note that version 1.2 and (...) (22 years ago, 9-Dec-02, to lugnet.cad)
|
|
| | Re: Problem with PluginWheelGenerator 1.1
|
|
I created another fix, hopefully this one will solve the problem. I tried it with two different versions of LDDesignPad, installed at two different locations and it worked. Version 1.1.2 can now be downloaded from my site. (URL) have also added some (...) (22 years ago, 9-Dec-02, to lugnet.cad)
|
|
| | Re: Problem with PluginWheelGenerator 1.1
|
|
(...) I could fix the problem for good. I just uploaded another version 1.1.2 of my PluginWheelGenerator that now uses the path settings from the registry, so it only works with LDDesignPad version 1.2 or later. (I had still 1.19 when I created my (...) (22 years ago, 9-Dec-02, to lugnet.cad)
|
|
| | Re: Problem with PluginWheelGenerator 1.1
|
|
(...) Niels, No doubts, it works. Thanks. :-)) Marek (22 years ago, 10-Dec-02, to lugnet.cad)
|
|
| | Accessing LDDesingPad Application in a plugin
|
|
When improving a plugin I remembered a message by Orion: (...) How do you access Application? When I try this I get an error: Undeclared identifier: 'Application'. Niels (22 years ago, 7-Jan-03, to lugnet.cad)
|
|
| | Re: Accessing LDDesingPad Application in a plugin
|
|
(...) If you reference it the main plugin file then you'll get an error but if you reference it in a separate .pas file and then include that .pas file in the Uses statement of you main plugin file then it should work fine. I have no idea why it (...) (22 years ago, 8-Jan-03, to lugnet.cad)
|