Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

Find existing program path from registry

hamenkiakehna
Newcomer

How do I find the path of an existing program, so that I can add some more files to one of its directories?

The program has the registry information under:

SOFTWARE\GRAPHISOFT SE\Archicad 22\

The following code does not work for me:

#define PATH ReadReg(HKEY_LOCAL_MACHINE, "SOFTWARE\GRAPHISOFT SE\Archicad 22\") 
DefaultDirName={#PATH}
1 REPLY 1

Hello hamenkiakehna,

 

Archicad is available on 2 operating systems.

Perhaps you should tell which one you are talking to get a better answer ?

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin