Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM's Working directory
#1
How to determine QM's working directory?

QM can be started from a shortcut that has certain properties. Right click a shortcut, then click Properties: "Start in:" lists the working directory. How to get this value automatically?

A search on google for this: GetWorkingDirectory c++, and a look at the QM Sample_TaskScheduler function, brings up some useful code currently beyond my knowledge. But needed is a function to get QM's working directory -- in my case to determine where certain dll's loaded in QM will look for their files, and then to pre-copy the expected files to that (RAM-drive) folder if they are missing.

Also might be needed is the full path to the shortcut link used to start QM.

Thanks :roll:
#2
Code:
Copy      Help
out CurDir


Forum Jump:


Users browsing this thread: 1 Guest(s)