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?
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
- 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?
- While using iPlugin control in ASP.NET application, I am getting following error at design time. How can I fix it?
- When I try to launch Genie I get the following error: The application failed to intialize properly. Why?