LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i extract bitmap images from DLL's using Labview 6i?

I have a number of screens that load bitmaps as part of the front end, and I do not wish to embed them into the VI, as this makes the EXE too large, nor do I want to have the bmp files separate, and load them dynamically into a Picture control, as these may get deleted or altered by the client.

I know that in VB & C++ you can access bitmaps store in the resources area of a DLL, and I myself have created such a DLL with the required bitmaps in.

But how can I get them out of the DLL and into a picture control within a VI?

My knowledge of c++ is zero, so any answer in layman terms would be appreciated.
0 Kudos
Message 1 of 2
(3,001 Views)
Hello,
As far as building the exact functionality I can not realy say because I have not built such a .dll. But if you have that set up already then you shuld be able to use the call Library function to extract the bitmaps for use in the VI. Here is a link to the calling external code in LabVIEW manual:
http://digital.ni.com/manuals.nsf/caba5d53e9b015a186256793004eebb7/4f1447f7cd83d6d88625690d00637ced
I hope this helps,
Doug
0 Kudos
Message 2 of 2
(3,001 Views)