How can i Build VC++ application through VB 6.0
HI Guys,
I am calling a DLL developed in VC++ through V.B 6.0.its working.. no problem with it. Now the problem is... some times, i have to change my header file in VC++, so at this time , i have to build the VC++ application again.
Can i build it programatically with v.b 6.0? if so kindly let me know how to do it?
Thanks:
regards:
raghunadhs
Re: How can i Build VC++ application through VB 6.0
Quote:
Originally Posted by raghunadhs
HI Guys,
I am calling a DLL developed in VC++ through V.B 6.0.its working.. no problem with it. Now the problem is... some times, i have to change my header file in VC++, so at this time , i have to build the VC++ application again.
Can i build it programatically with v.b 6.0? if so kindly let me know how to do it?
Thanks:
regards:
raghunadhs
No. Any changes you make must be made through Visual C++ then rebuilt, and redistributed.
Re: How can i Build VC++ application through VB 6.0
You could make an auto-downloader though that would alert the user of an update and download the file.
Re: How can i Build VC++ application through VB 6.0
Hi Hell-Lord,
i am sorry to say that i did not have any idea about that auto down loader. could u explain this.. and in my application, i am able to create a header file to vc++ application the only thing is i have to include the header file and have to build it...
Thanks in advance:
regards:
raghunadhs
Quote:
Originally Posted by Hell-Lord
You could make an auto-downloader though that would alert the user of an update and download the file.
Re: How can i Build VC++ application through VB 6.0
What about a commandline shelling of the vc++ compilier passing the project name and appropriate switches.
Re: How can i Build VC++ application through VB 6.0
Hi RobDog888,
i have not tried the shell execute. i will try this also. i think, through this we can execute the exe file only.. but here the requirement is to build the vc++ application, after changing the header file's content....
any how, i will look into it once again...
thanks
regards:
raghunadhs.v
Quote:
Originally Posted by RobDog888
What about a commandline shelling of the vc++ compilier passing the project name and appropriate switches.
Re: How can i Build VC++ application through VB 6.0
You can pass many different arguments to vc++. Such as the project and compile switch etc.
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
could u please provide a sample example, even it is single line also sufficient.
Thanks:
regards:
raghunadhs
Quote:
Originally Posted by RobDog888
You can pass many different arguments to vc++. Such as the project and compile switch etc.
Re: How can i Build VC++ application through VB 6.0
Just do a /? after the entire path to vc++ typed into the run dialog box. It will msgbox the args.
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
I am sorry to say that i don't know where i have to put that /? .... here are my decleration and function call.. please say where i have to place that special characters.
Private Declare Sub CrcComputeCrc32 _
Lib "CRC32Example.dll" Alias "_CrcComputeCrc32@12" _
(ByRef FirstElement As Byte, ByVal intNoOfElements As Integer, ByRef bytCrc32Array As Byte)
function call:
Call CrcComputeCrc32(bytChannelLock(1), intCrcLength, bytReflectArray(0))
Thanks:
regards:
raghunadhs
Quote:
Originally Posted by RobDog888
Just do a /? after the entire path to vc++ typed into the run dialog box. It will msgbox the args.
Re: How can i Build VC++ application through VB 6.0
As I mentioned you can get a msgbox popup from the Run dialog box off of the start menu just to determine what switches are available to you.
Open the run box (Start button > Run menu item)
Enter in the path to your install of VC++ file.
Add the " /?" to the end of the file path.
Press the Enter key.
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
i did like that, but a pop up message "can't find ...." is coming, since it can't find the mentioned path.
Thanks:
regards:
raghunadhs
Quote:
Originally Posted by RobDog888
As I mentioned you can get a msgbox popup from the Run dialog box off of the start menu just to determine what switches are available to you.
Open the run box (Start button > Run menu item)
Enter in the path to your install of VC++ file.
Add the " /?" to the end of the file path.
Press the Enter key.
Re: How can i Build VC++ application through VB 6.0
Then you entered in an invalid path. Use Explorer to navigate to your VC++ install location and copy the path from the address bar and append the vc++ executable name to it and then the /?
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
Thank you very much. i will see it and let u know feed back.
Thanks:
regards:
raghunadhs.
Quote:
Originally Posted by RobDog888
Then you entered in an invalid path. Use Explorer to navigate to your VC++ install location and copy the path from the address bar and append the vc++ executable name to it and then the /?