| Dart Home | PowerTCP Emulation for .NET | Custom Development | Reply | PowerTCP Emulation for .NET Topics | Forums |
| Author | Forum: PowerTCP Emulation for .NET Topic: Vt Control Doesn't Work on 64-Bit Windows |
Mike Baldwin (Admin)![]() From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted February 27, 2008 3:06 PM I understand that the Vt Control has unmanaged C++ code in it, so any application using it must use x86 as the target. But under VS2005 (not VS2008), I get an LC0000 error saying the file can't be loaded (and I'm using x86 as the target). What's up with this? |
Mike Baldwin (Admin)![]() From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted February 27, 2008 3:12 PM To answer my own question, I discovered that 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 Works like a champ! |
| Reply | PowerTCP Emulation for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|