Passing an array as argument between 2 executables
Hello,
I have 2 vbp projects (Project1 and Project2)
I need Project1 to load a form pertaining to Project2 while passing to it an array Arr as argument produced by Project1
Project1 is latter compiled to Exe
What will be the best way (if any) to do that?
Thanks
Avi
Re: Passing an array as argument between 2 executables
Search the forum for keywords: interprocess communication and/or IPC. There are several solutions ranging from the simple, like using a temporary file, and more complex like subclassing and using WM_COPYDATA
Re: Passing an array as argument between 2 executables
I'd back up and ask myself why there are two Projects at all. Aside from that I can't decode statements like "I need Project1 to load a form pertaining to Project2..."
"Array" doesn't tell us much either aside from whatever it is it can't be passed as command line parameters. For all we know you have an array of complex objects.
Re: Passing an array as argument between 2 executables