LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2014 support for Windows Message Queues

Hi,

I am looking for insight into deploying the Windows Message Queue functions with the AppBuilder.   I have a custom USB HID device that I want to receive messages or callbacks when it attaches or detaches from the computer.  I used 3rd party, AHID library to handle messages with a specific device, but am having difficulty determine when a device is availalbe to connect.

 

The windows message mechanism works in my labview environment, in that I see the callbacks for each device connection, and disconnection.  however, I simplified the VIT to a regular VI and put it in a specific folder for app-builder.  The EXE does not seem to get the same windows messages as the development system.  

 

I saw a comment in the DLL source,

"//GetProcAddess may fail if this DLL is called from a LabVIEW built application. Get Occur from lvrt.dll.

 

I am testing in a LabVIEW built application and not receiving the same messages as from the Dev environment.  Any thoughts?

 

-Kenneth

0 Kudos
Message 1 of 1
(2,250 Views)