I'm trying to launch a browser window when I click on a dialog button in a vis c++ app. However, the function i'm using only launches if a specific path to a html file is given. I don't know where the user may run the application from so i'm getting the current directory. However, I need to be able to add in the local path to the file and I don't know how to add that path to the current directory I get. Here's what i'm currently doing:
ShellExecute(NULL, "open", currentDirectory, NULL, NULL, SW_SHOWNORMAL);
currentDirectory is an array of TCHARs. I'm wanting to launch from currentDirectory + "/game/index.html".
Any ideas how I can concatenate the local path to currentDirectory?