Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get an LC0000 error when I try to build an application using the Vt control in VS2005 on my 64 bit machine?

0
Posted

Why do I get an LC0000 error when I try to build an application using the Vt control in VS2005 on my 64 bit machine?

0

First, the Vt control uses unmanaged C++ code, so any application using it must have x86 specified as the target. VS2005 runs the 64-bit version of LC.EXE when it processes licensed controls, which causes a problem with our 32-bit unmanaged C++ code. To work around this, force the use of the 32-bit version of LC.EXE by putting the following statements in the “Pre-build Event Command Line” and “Post-build Event Command Line”, respectively: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe setwow C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe set64 VS2008 does not have this problem.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123