'How to: load client dll by citrix workspace

i use https://github.com/citrix/workspace-windows-vcsdk/blob/master/docs/using-example-programs.md to using Citrix Virtual Channel.

  1. I compiled example solution
  2. I puted vdpingn.dll to $ICAROOT\ICA Client (like other dlls)
  3. And add regkeys enter image description hereenter image description here
  4. Reboot machine
  5. Run citrix workspace
  6. Run virtual app ( calc.exe )
  7. dll not loaded enter image description here
  8. I started looking for my mistake and found this:

Compiled dll (from citrix's examples) has cdecl calling convention on 'Load' function ('Load' provided by your sdk's lib) Instruction told me i should use stdcall. enter image description here

SDK version: VCSDK 2202

What i do wrong? Could anybody help me?

Hope little programmer



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source