VB Commandline compiler references

D

Dave T

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
 
H

harborsparrow

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.
 
D

Dave T

Cool, I'll give that a try

harborsparrow said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top