🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11267

shellextension DLL get path - Autorun files

#11267
From: nik
Date: Sat, 21 Feb 2004 19:34
12 lines
1210 bytes
hi,

1) is it possible to get the path to the folder in which my dll is saved and running from? 
i.e. i have an shellextensionDll to add my own menuitems to specific filetypes. 
c:\mypath\mydll.dll 
I want to retrieve c:\mypath  

2) is there a possibility to get informed just BEFORE a usb stick is unplugged from a computer using the "savely removing hardware" command?

thanks a lot 
nik
Technical Details
Message-ID: <4037b2bb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,906606b9b07f2e00,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-21 11:39:44 PST
From: "nik" <neusser@okstate.edu>
Sender: "nik" <neusser@okstate.edu>
Reply-To: "nik" <neusser@okstate.edu>
Subject: shellextension DLL get path - Autorun files
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 139.78.50.178     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4037b2bb$1@newsgroups.borland.com>
Date: 21 Feb 2004 11:34:19 -0800
X-Trace: newsgroups.borland.com 1077392059 207.105.83.66 (21 Feb 2004 11:34:19 -0800)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail