Posted 20 April 2021, 5:41 am EST
This is a follow up for https://www.grapecity.com/forums/winforms-edition/license-nag-screen-appears_1: I have an app compiled with “AnyCPU”, that I have to launch on some machines in x86 mode as it needs Microsoft Access drivers, and on those machines only a x86 office is installed.
I want to avoid building our app in X86 and deploying it. So I use the helper tool “RunAs32Bit” as suggested here: https://lostechies.com/gabrielschenker/2009/10/21/force-net-application-to-run-in-32bit-process-on-64bit-os/
Now, the C1 license nag screen appears.
This situation is probably only temporary as we will migrate those machines to x64 office, but I ask it anyway - it would be nice to get a quick workaround for this.
Attached sample reproduces it. I also included the “RunAs32bit” project.
First project “LicenseTestLicx” is the old licensing.
Second project “LicenseTestGclicx” is the new licensing using the gclicx file.
LicenseTest.zip
Fix the path to “gclicx” in the project file, compile them, copy “RunAs32Bit.exe” to the “bin\Debug” directory and launch it as 32 bit using this command:
RunAs32Bit.exe /assembly:LicenseTestGclicx.exe /params:""
Now the error will arise.
Is there any easy workaround? As I wrote, I don’t need a long term resolution. If there is no easy resolution, I can tell the users to ignore this license screen until the office is fixed.
Best regards
Wolfgang