To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 8964
8963  |  8965
Subject: 
Re: Problem with PluginWheelGenerator 1.1
Newsgroups: 
lugnet.cad
Date: 
Mon, 9 Dec 2002 11:23:30 GMT
Viewed: 
1420 times
  
Marek wrote:
I made some investigations (sorry for that)

Don't feel sorry, any help is welcome

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 to Ldraw\Models\Plugins, then PluginWheelGenerator
v.1.1.1 started working properly.

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 LDDesignPad is
installed, else I would have used that. PluginWheelGenerator 1.1 and 1.1.1
do use the LDraw path settings from the registry, added by LDDesignPad.
PluginWheelGenerator 1.0 used it's own settings, and I wanted to get rid
of that in version 1.1.

How do other plugin creators determine the location of the plugin folder
(I use Delphi 3).

Niels



Message has 2 Replies:
  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)

Message is in Reply To:
  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)

15 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR