LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LVWUtil32 utilities for 64-bit LabVIEW

I'm looking into the possibility of embedding some external executables into the LabVIEW interface.

Following several rabbit holes I've come across the LVWUtil32 utilities which help with this considerably, and looks like it might work for what I'm trying to do.

 

However, if I go this route I know that I'm eventually going to need to update this project to 64-bit LabVIEW.  Which brings me to the point of: was this LVWUtil32.dll ever compiled for 64-bit LabVIEW? 

 

The information on the help url doesn't address this other than saying that this is specifically for 32-bit systems

http://www.ni.com/example/29935/en/

 

The best work around I can find is that I *think* I can use the windows "user32.dll" to call the functions that I need... however writing wrappers for these dll interfaces is not something I'm particularly skilled at... so it's less than ideal.

 

Anyone have any experience trying to deal with this type of thing?

 

Thanks!

0 Kudos
Message 1 of 9
(4,375 Views)

Use an earlier version of this package which calls user32.dll directly.

 

George Zou
0 Kudos
Message 2 of 9
(4,370 Views)

Thanks for the suggestion.

Is there a link for this somewhere?

0 Kudos
Message 3 of 9
(4,321 Views)

Hi  jyoung8711

 

Were you able to figure this out? I have the same problem, my application is x64 but the LVWUtil32 is only available as 32bit

0 Kudos
Message 4 of 9
(3,299 Views)

Has anyone been able to find a solution for this? I'm migrating LabVIEW code from 32 bit to 64 bit and found this issue. Looks like the LVWUtil32 is available as 32 bit only.

0 Kudos
Message 5 of 9
(70 Views)

I only vaguely remember what I was asking about this for, but if my memory is correct, this was a bit of a research rabbit hole for me, and I ended up going another direction.  That said, this LVUtil32 is just a wrapper for underlying windows functions, so you can always call those directly -- which I've done for a couple of other things.

 

do you know which functionality in LVWUtil32 you're actually using?

0 Kudos
Message 6 of 9
(49 Views)

LVPostMessage is one of the functions I'm using. 

0 Kudos
Message 7 of 9
(39 Views)

I've not heard of that one, but looks like it's exposed in the User32.dll

 

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-postmessagea

0 Kudos
Message 8 of 9
(29 Views)

@RD1993 wrote:

Has anyone been able to find a solution for this? I'm migrating LabVIEW code from 32 bit to 64 bit and found this issue. Looks like the LVWUtil32 is available as 32 bit only.


Take a look this post:

https://forums.ni.com/t5/LabVIEW/How-to-run-an-exe-as-a-window-inside-a-VI/m-p/4096356/highlight/tru...

 

 

George Zou
0 Kudos
Message 9 of 9
(16 Views)