- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Is there a CVF function that returns the full path of the executable that calls it? I seem to remember seeing it but I cannot find it now.
I want my program to know where to find help and configuration files (when installed in other people's machines) without having to go through a complicated installation process. This program will be running on various W* machines (95, 98, Me, NT4, 2000, etc.).
Thanks,
Gabriel
I want my program to know where to find help and configuration files (when installed in other people's machines) without having to go through a complicated installation process. This program will be running on various W* machines (95, 98, Me, NT4, 2000, etc.).
Thanks,
Gabriel
Enlace copiado
2 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
It's
Jugoslav
GetModuleFileName(NULL, sDirectory, LEN(sDirectory))where sDirectory is character(MAX_PATH). Have in mind that it returns zero-terminated string, so you should probably strip terminal char(0) after that:
sDirectory=sDirectory(1: INDEX(sDirectory, char(0))-1)
Jugoslav
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
...heh, twilight zone -- I'm becoming a prophet :-). I mistakenly gave that same answer to the thread "Dialog Box in a DLL" two days ago.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla