Autor Beitrag
NCortex
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 126

WIN 2000
D7 Enterprise
BeitragVerfasst: So 14.10.07 18:43 
Also folgendes Problem:

ich habe ein Docklet also eine Plugindll für eine Docketbar (Objectdock, Rocket o.ä.)

Das ganze ist ein Selbst konfigurierbares Startmenüersatz. Alle Konfigurationen, Shortcuts etc. werden in ini-dateien gespeichert. Wenn ich aber relative Pfade angebe, bekomme ich nur vom System der Pfad konnte nicht gefunden werden.

Also generell, wie findet der Aufruf von relativen Pfaden in dlls aus.

Oder wie komme ich an den Laufwerksbuchstaben ran? weil Paramstr(0) geht ja wohl kauf, weil es keinen parameter übergeben bekommt oder?

vielen dank im voraus
NCortex

_________________
"...by all means, do not use a hammer." (aus einer IBM Technikerdokumentation ca. 1920)
--->außer es kam von Microsoft<---
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 15.10.07 12:06 
Wenn es nur darum geht, eine Konfigurationsdatei abzuspeichern, dann würde ich schlichtweg über die WinAPI (GetSpecialFolder heißt die Funktion glaube ich) den Anwendungsdaten-Ordner bestimmen, um sie dort abzulegen.

Gruß
alias5000

_________________
Programmers never die, they just GOSUB without RETURN
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 15.10.07 12:16 
Moin!

Und hier der entsprechende FAQ-Beitrag. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 15.10.07 12:23 
Vielen Dank für den Link Narses, ich hatte doch glatt vergessen dass es den gibt ;)

_________________
Programmers never die, they just GOSUB without RETURN