Search found 3 matches

by QuickFix
Tue Jun 23, 2009 10:55 pm
Forum: Windows
Topic: Path to dll file (not exe)
Replies: 4
Views: 2198

ah man, that's so much better, thanks

guess i was so busy searching for a api method i missed the obvious
by QuickFix
Tue Jun 23, 2009 9:02 pm
Forum: Windows
Topic: Path to dll file (not exe)
Replies: 4
Views: 2198

never mind, i figured it out in the end.

Procedure.s GetPluginPath()

Protected Result.s
Protected *Buffer=AllocateMemory(255)
If *Buffer
GetModuleFileName_(GetModuleHandle_("APT.lmd"), *Buffer, 255)
Result=GetPathPart(PeekS(*Buffer))
FreeMemory(*Buffer)
EndIf

ProcedureReturn Result ...
by QuickFix
Tue Jun 23, 2009 5:34 pm
Forum: Windows
Topic: Path to dll file (not exe)
Replies: 4
Views: 2198

Path to dll file (not exe)

Hi, after using PB for a while iv gotten fairly used to it and with help held within the forums and support sites iv always managed to achieve the task in hand without making any posts ... until now

I am writing a dll plug-in for another application and iv hit a situation where I need to retrieve ...