Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you want to use LM-X License Manager with deploy your application to be able to use both 32-bit and 64-bit .NET framework, you should make sure you are using the same key pair for x64 and x86.

In order to use the same key pair for signing liblmxnet.dll on different architectures you need to:

  1. Reuse the generated x-formation_pair.snk created during the first build.
  2. Copy this key pair file to build folder of the other architecture and the makefile will sign liblmxnet.dll with the same key pair.

...

need to build liblmxnet.dll with the 32-bit and 64-bit .NET compiler. Note that both copies of this file should be shipped with your application. 

In order to successfully create two versions of liblmxnet.dll, you must use the same security key pair when creating them.

The following steps will let you know how to proceed:

  1. Compile the LM-X SDK as usual for x64:

    Panel

    C:\Program Files\X-Formation\LM-X SDK v4.8.4 win64_

...

  1. x64>(configure your environment for 64-bit compilation)
    C:\Program Files\X-Formation\LM-X SDK v4.8.4 win64_x64>nmake

  2. Copy the generated C:\Program Files\X-Formation\LM-X SDK v4.8.4 win64_x64\win64_x64\x-formation_pair.snk

...

  1. to the equivalent directory of the 32-bit SDK:

    Panel

    C:\Program Files (x86\X-Formation\LM-X SDK v4.8.4 win32_x86\win32_x86\x-formation_pair.snk


  2. Proceed with compiling the LM-X SDK for x86:

    Panel
    C:\Program Files (x86\X-Formation\LM-X SDK v4.8.4 win32_

...

  1. x86>(configure your environment for 32-bit compilation)
    C:\Program Files (x86\X-Formation\LM-X SDK v4.8.4 win32_x86>nmake