VMware Horizon Community
ValPoli
Contributor
Contributor

Issue using rdpvcbridge-sdk-3.2.0 to build 32 bit client dll and run on 64 bit client box

Evaluating the VMware-rdpvcbridge-sdk-3.2.0 we found that the 32 bit client dll built using this SDK will not work on the 64 bit client box with installed VMware Horizon View Client 4.8.0.

This was verified with sample application that is included in the sdk.

Does anybody is able to run 32 bit client dll on the 64 bit client with success?

If yes then what should be done to accomplish that?

Tags (1)
0 Kudos
2 Replies
grossag
VMware Employee
VMware Employee

The process that your dll will be loaded into (vmware-remotemk.exe) can be either 32-bit or 64-bit depending on the option that was chosen in the installer. You should build both 32-bit and 64-bit versions of your dll and register each in the appropriate hive of the registry for 64-bit machines.

So basically:

32-bit machines: install only 32-bit dll and put it in the appropriate subkey of HKLM\Software

64-bit machines: install both dlls, put the 32-bit one in HKLM\Software\Wow6432Node, and put the 64-bit one in HKLM\Software

0 Kudos
ValPoli
Contributor
Contributor

It works for 64 bit client DLL  but does not work for 32bit client DLL.

If build the sdk sample application for 32 bit configuration and register client DLL here, as you proposed:

#define KEY_HIVE HKEY_LOCAL_MACHINE

#define KEY_NAME "Software\\Wow6432Node\\Microsoft\\Terminal Server Client\\Default\\AddIns\\VChanPing"

#define DLL_NAME "vchan-ping-client.dll"

  • Setting Up vchan-ping on the Client
    • On 32-bit Windows systems:

               a Copy the file vchan-ping-client.dll to the client.

               b Register the DLL using the following command:

                    C:\Windows\SysWOW64\regsvr32.exe vchan-ping-client.dll

  • Setting Up vchan-ping on the Agent

          1 Copy the files vchan-ping.exe and vdp_rdpvcbridge.dll to a folder.

          2 Establish a Horizon 7 connection from the client to the agent.

          3 Run vchan-ping.exe on the agent from a command prompt.

It will produce:

Error reading virtual channel

Press ENTER to exit.

Is it limitation for 64 bit machine or something is missing?

All above information is taken from:  VMware-rdpvcbridge-sdk-programming-guide-3.2.0.pdf

0 Kudos