Open File -- Very Hard Problem
-
Hi, I have a problem (I think a big problem). The language is C++. The operation sistem is Windows 2000. If I create two application. In the first application fill a structure, open a file and send this information (pointer to file) at second application which fill the file. When the second application end your job, the control switch at first application which close the file. The question is: can I open a file in a application sending the pointer at second applicaton to fill the file.:zzz::confused::confused::confused:
-
Hi, I have a problem (I think a big problem). The language is C++. The operation sistem is Windows 2000. If I create two application. In the first application fill a structure, open a file and send this information (pointer to file) at second application which fill the file. When the second application end your job, the control switch at first application which close the file. The question is: can I open a file in a application sending the pointer at second applicaton to fill the file.:zzz::confused::confused::confused:
Yes, you can do so. You can make the pointer as a syetem parameter which will be sent to another application. And the another application will get the system parameter--the pointer when the specified application is going to run. I guess you are sure to know that an application can accept command line that is just system parameter. Good luck! stanley