Windows Debug build issues

When using the debug build, I 'm running into several issues:

  • a crash when calling the SetProductId: we are using Cryptlex to license a dynamic library, SetProductId is called at the DLL initialization (licensing is done by a static class instantiated as a global variable, so done at the DLL initialization). This issue doesn’t occur with release build
  • several memory leaks with debug build, of course, we temporary moved the Cryptlex initialization outside the DLL initialization process to avoid the crash issue).
    {157251} normal block at 0x000002C320D8B240, 48 bytes long.
    Data: <3f6e0f35860b4c13> 33 66 36 65 30 66 33 35 38 36 30 62 34 63 31 33
    {157250} normal block at 0x000002C31A92FAC0, 464 bytes long.
    Data: <-----BEGIN PUBLI> 2D 2D 2D 2D 2D 42 45 47 49 4E 20 50 55 42 4C 49
    {157249} normal block at 0x000002C320D8A280, 48 bytes long.
    Data: <93b41b07-4730-4d> 39 33 62 34 31 62 30 37 2D 34 37 33 30 2D 34 64
    {157248} normal block at 0x000002C320D8B6A0, 48 bytes long.
    Data: <402474-D9887A-48> 34 30 32 34 37 34 2D 44 39 38 38 37 41 2D 34 38
    {157247} normal block at 0x000002C320D368E0, 16 bytes long.
    Data: < > C8 03 A8 1E C3 02 00 00 00 00 00 00 00 00 00 00
    {157246} normal block at 0x000002C320D367F0, 16 bytes long.
    Data: < > A0 03 A8 1E C3 02 00 00 00 00 00 00 00 00 00 00
    {157245} normal block at 0x000002C320D37470, 16 bytes long.
    Data: 78 03 A8 1E C3 02 00 00 00 00 00 00 00 00 00 00
    {157244} normal block at 0x000002C320D36CA0, 16 bytes long.
    Data:

    50 03 A8 1E C3 02 00 00 00 00 00 00 00 00 00 00
    {157243} normal block at 0x000002C31EA80350, 168 bytes long.
    Data: < l > A0 6C D3 20 C3 02 00 00 A0 B6 D8 20 C3 02 00 00

Anything I missed?
Thanks in advance.

Hi Pat,

Please check if you are using the latest version of LexActivator? If yes, Please share the replicable code on support@cryptlex.com.

Yes I am using latest. I will provide replicable code later, as soon as I have time for it.