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 / 8965
8964  |  8966
Subject: 
Re: Problem with PluginWheelGenerator 1.1
Newsgroups: 
lugnet.cad
Date: 
Mon, 9 Dec 2002 19:02:13 GMT
Viewed: 
1523 times
  
In lugnet.cad, Niels Karsdorp writes:
How do other plugin creators determine the location of the plugin folder
(I use Delphi 3).

Niels

I use Delphi and do it this way:

ExtractFilePath(Application.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 later save the LDDesignPad path to the registry.

-Orion



Message has 1 Reply:
  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)

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

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