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 / 9155
9154  |  9156
Subject: 
Accessing LDDesingPad Application in a plugin
Newsgroups: 
lugnet.cad
Date: 
Tue, 7 Jan 2003 19:58:40 GMT
Viewed: 
3516 times
  
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:
  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 (...) (24 years ago, 8-Jan-03, to lugnet.cad)

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

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