Posts: 1,271
Threads: 399
Joined: Mar 2003
how do i get the path of my qm exe for loading my settings.xml ?
thanks.
Posts: 12,074
Threads: 141
Joined: Dec 2002
_s.fix(GetModuleFileName(0 _s.all(300) 300))
out _s
;or
out _qmdir
Posts: 1,271
Threads: 399
Joined: Mar 2003
what is the difference between both ways ?
Posts: 12,074
Threads: 141
Joined: Dec 2002
Almost none. _qmdir also is populated using GetModuleFileName. Use GetModuleFileName when you also need exe filename, because _qmdir contains only path.
Posts: 1,271
Threads: 399
Joined: Mar 2003
another lesson learned