
Run a program within a program--my problem
Run a program within a program--my problem
Hello, I can't find the answer to the problem I'm having on the FAQ, etc. so here it is. I have a (Delphi XE7) program that runs great and my InstallAware Studio X2 does a beautiful job of installing it. The program has a Help program that I call with the F1 key and a Help menu. I only install two files--the .exe and the .chm help file. The problem is that after my program is installed (that is, the .exe and the .chm files are installed/copied to the Program Files \ $title$ directory), when I hit F1 or the Menu Help the program no longer finds the .chm Help file that is in the same directory as the .exe file. I cannot for the life of me figure out how to get it to look in the same directory for the .chm Help file like it's supposed to. I have never had this problem before. I have InstallAware put shortcuts on the Desktop and Taskbar and they bring up the program, but my program can no longer "find" the Help file that's in the same directory. Can anyone help? Thank you in advance, Don 

-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run a program within a program--my problem
Dear Don,
honestly I am not a Delphi expert and in addition, I don't believe this is the correct place where to post the question.
I can only suppose that exist something wrong with your EXE file that causes the problem.
For example; in C++ I use the "HtmlHelp" WinApi to route F1 events and with the "pszFile" function's parameter, I specify the full path of my help file.
Hope this helps you.
Regards
honestly I am not a Delphi expert and in addition, I don't believe this is the correct place where to post the question.
I can only suppose that exist something wrong with your EXE file that causes the problem.
For example; in C++ I use the "HtmlHelp" WinApi to route F1 events and with the "pszFile" function's parameter, I specify the full path of my help file.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Run a program within a program--my problem
Hi, Francesco,
I apologize, I didn't know where else to post my question.
First of all, Delphi wasn't the problem, it's my choice platform for Windows development (and Mac, iOS and Android). InstallAware used to be included with Delphi.
Anyway, thanks for the response. I solved the problem with another day of experimenting with InstallAware's "Shortcuts" and "Files" settings. I can now have a shortcut for my program on the Desktop and Task Bar and the F1 key brings up my Help program in each one. Hooray!
Best Regards,
Don
I apologize, I didn't know where else to post my question.
First of all, Delphi wasn't the problem, it's my choice platform for Windows development (and Mac, iOS and Android). InstallAware used to be included with Delphi.
Anyway, thanks for the response. I solved the problem with another day of experimenting with InstallAware's "Shortcuts" and "Files" settings. I can now have a shortcut for my program on the Desktop and Task Bar and the F1 key brings up my Help program in each one. Hooray!
Best Regards,
Don
Who is online
Users browsing this forum: No registered users and 121 guests