Hi,
I'm trying to compile a DLL via command line using the /cmd argument. I'd like to pass in a string which will be used in the DLL.
The DLL does compile but it doesn't appear that the /cmd part functioned. From what I've read the command$ function is supposed to return
any arguments or in the case below: xyz
The string appears empty when the DLL function is called from my application so I presume that I'm doing something wrong.
Here is the command line:
"C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe" /make C:\Test\TestDLLProject.vbp /cmd "xyz"
This is the vb code:
dim strMyName as string
strMyName = command$
Thank for your help, William
I'm trying to compile a DLL via command line using the /cmd argument. I'd like to pass in a string which will be used in the DLL.
The DLL does compile but it doesn't appear that the /cmd part functioned. From what I've read the command$ function is supposed to return
any arguments or in the case below: xyz
The string appears empty when the DLL function is called from my application so I presume that I'm doing something wrong.
Here is the command line:
"C:\Program Files\Microsoft Visual Studio\VB98\vb6.exe" /make C:\Test\TestDLLProject.vbp /cmd "xyz"
This is the vb code:
dim strMyName as string
strMyName = command$
Thank for your help, William