>Please let me know what are the options to specify these includes in command line for various
>projects (vc++,C#,vb,net)
Is MSDN down, or something? I'd like to believe that you're smart enough to check the reference for your compiler before asking a question that will be answered with "RTFM!". :icon_rolleyes:
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
This is an interesting thread that talks about command-line compiles
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>but i already mentioned in my first post that i did try using /reference and
>/lib options but the error thrown was "invalid command line argument."
And your example also showed that you're using the VB6 compiler, which is extremely likely to have different command line switches. My links showed the C# and C++ options, respectively.
>on opening the project in IDE and there specifying the references
>for the missing dlls, the project gets compiled successfully
Then check your project properties. IIRC, Visual Studio 6 does indeed show you the complete list of command line switches built from the options you've selected in the advanced properties. You can cut and paste that into the command prompt and it should produce an identical build.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401