Subject:
|
Accessing LDDesingPad Application in a plugin
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 7 Jan 2003 19:58:40 GMT
|
Viewed:
|
1392 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
When improving a plugin I remembered a message by Orion:
In lugnet.cad, Orion Pobursky writes:
> 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.
How do you access Application?
When I try this I get an error: Undeclared identifier: 'Application'.
Niels
|
|
Message has 1 Reply: ![](/news/x.gif) | | 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 (...) (21 years ago, 8-Jan-03, to lugnet.cad)
|
Message is in Reply To:
![](/news/x.gif) | | 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)
|
15 Messages in This Thread: ![Problem with PluginWheelGenerator 1.1 -Marek Idec (2-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Niels Karsdorp (3-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Marek Idec (3-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Niels Karsdorp (3-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Marek Idec (3-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Niels Karsdorp (3-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Marek Idec (8-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Marek Idec (9-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Niels Karsdorp (9-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Orion Pobursky (9-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Accessing LDDesingPad Application in a plugin -Orion Pobursky (8-Jan-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Niels Karsdorp (9-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Niels Karsdorp (9-Dec-02 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Problem with PluginWheelGenerator 1.1 -Marek Idec (10-Dec-02 to lugnet.cad)](/news/x.gif)
- 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
|
|
|
|