How to prevent from opening new duplicate of my software if it opened before.
I have 2 problems on my program.
the program is a shredding software that must accept right click from context menu as parameter and then added that parameter(address) to a list for wiping. i added program path to registry in the bellow addresses
"HKEY_CURRENT_USER\\Software\\Classes\\directory\\shell\\MY SOFTWARE\\command" "HKEY_CURRENT_USER\\Software\\Classes\\*\\shell\\MY SOFTWARE\\command"
these registry address perfectly added to my windows by Inno Setup but not added to the test computer and Right Click not worked. after some googling i understand Inno Setup convert these addresses in 64bit Systems.
but what is the equivalent registry address for 64bit systems for my work.
and the bigger problem is when opening software by right click, it opened a new copy of software, but i want it send the parameter(address of file or directory) to existed program not a new duplicate of that.
thank you very much
Sorry, I don't remember the process to add a shell extension to a 64 bit windows.
As for having your application running only once, you can use the QtSingleApplication class from the QtSolution repository