🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #166

Re: How to get full project path ?

#166
From: Lex Y. Li
Date: Sun, 04 May 2008 11:39
12 lines
1458 bytes
> Q1. I like to save a file in the project directory. How I can get the
> full project path with OTA ?

You can get full path of the project file from IOTAProject.FileName. 
Then you can save files to the same folder of this project file.

> Q2. What path is suitable for storing an IDE-related (not
> project-related) files of the custom plugin ? How to get the full path
> of that directory with OTA ?

According to Vista rules, you should save files to a few recommended 
places. Then you don't need any OTA functions. Use Win32 API is enough.
Technical Details
Message-ID: <481da07d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <481d498b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,a9e4aac5caacf15e
X-Google-Attributes: gid10c3df,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 04 May 2008 19:39:21 +0800
From: "Lex Y. Li" <lextudio@gmail.com>
Reply-To: lextudio@gmail.com
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.opentoolsapi
Subject: Re: How to get full project path ?
References: <481d498b@newsgroups.borland.com>
In-Reply-To: <481d498b@newsgroups.borland.com>
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 58.25.220.114
Message-ID: <481da07d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1209901181 58.25.220.114 (4 May 2008 04:39:41 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!news.isoc.lu!newsgroups.borland.com!not-for-mail