Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - VB Commandline compiler references

Reply
 
Old 01-09-2009   #1 (permalink)
Dave T


 
 

VB Commandline compiler references

I have a VS VB project that references interop.wia.dll (windows image
acquisition COM) and I've finally got everything working fine.

However, now I need to do some things with the code using the command line
compiler (vbc) and I can't seem to figure out how to reference the WIA (COM)
libraries

vbc /reference:interop.wia.dll ... throws "BC2017 could not find library
interop.wia.dll'"

and

vbc /reference:wiaaut.dll ... throws "BC2017 could not find library
'wiaaut.dll'"

How do you reference a COM object using the command line compiler?

Thanks

My System SpecsSystem Spec
Old 01-09-2009   #2 (permalink)
harborsparrow


 
 

Re: VB Commandline compiler references

On Jan 9, 2:38*pm, Dave T <Da...@xxxxxx> wrote:
Quote:

> I have a VS VB project that references interop.wia.dll (windows image
> acquisition COM) and I've finally got everything working fine.
>
> However, now I need to do some things with the code using the command line
> compiler (vbc) and I can't seem to figure out how to reference the WIA (COM)
> libraries
>
> vbc /reference:interop.wia.dll ... throws "BC2017 could not find library
> interop.wia.dll'"
>
> and
>
> vbc /reference:wiaaut.dll ... throws "BC2017 could not find library
> 'wiaaut.dll'"
>
> How do you reference a COM object using the command line compiler?
>
> Thanks
A good way to find out is to compile the project using Microsoft
Visual Studio Express. It shows you the command line built by the IDE
in the output window when you build the project.
My System SpecsSystem Spec
Old 01-09-2009   #3 (permalink)
Dave T


 
 

Re: VB Commandline compiler references

Cool, I'll give that a try

"harborsparrow" wrote:
Quote:

> On Jan 9, 2:38 pm, Dave T <Da...@xxxxxx> wrote:
Quote:

> > I have a VS VB project that references interop.wia.dll (windows image
> > acquisition COM) and I've finally got everything working fine.
> >
> > However, now I need to do some things with the code using the command line
> > compiler (vbc) and I can't seem to figure out how to reference the WIA (COM)
> > libraries
> >
> > vbc /reference:interop.wia.dll ... throws "BC2017 could not find library
> > interop.wia.dll'"
> >
> > and
> >
> > vbc /reference:wiaaut.dll ... throws "BC2017 could not find library
> > 'wiaaut.dll'"
> >
> > How do you reference a COM object using the command line compiler?
> >
> > Thanks
>
> A good way to find out is to compile the project using Microsoft
> Visual Studio Express. It shows you the command line built by the IDE
> in the output window when you build the project.
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Project References. .NET General
C Compiler Software
I 'm looking for a compiler ... VB Script
Run executable with commandline arguments PowerShell
ImageX Commandline Tool Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46