On Jan 9, 2:38*pm, Dave T <Da...@xxxxxx> wrote:
> 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)
> vbc /reference:interop.wia.dll ... throws "BC2017 could not find library
> vbc /reference:wiaaut.dll ... throws "BC2017 could not find library
> How do you reference a COM object using the command line compiler?
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.