I have created a program that generates an application which I have saved in a certain location, lets use C:\Documents and Settings\UserName\Desktop\Folder\ as an example. The program uses this base location, then searches through some subfolders, alters a file, and saves the altered file in the base location that the application is running from. Right now, I have the Base Location statically defined in my C++ code. Is there any way of making my program read the location the app is running from without actually defining it, because the program needs to run on different computers (The end product will be located on a shared "J:" drive instead of "C:"). I am using Microsoft Visual C++ 6.0 (I know its old!).
sodak 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
sodak 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
sodak 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.