> I am trying to embedd bitmap images (icons) into the exe file of a
> built LabVIEW application. I tried it, and got them in a "data"
> folder. I want everything in the .exe file, you know, just like C/C++
> or just about any other programming language.
>
> If anyone has any tips, I would be grateful.
>
> I know about embedding the images in the controls, but that is not my
> goal. I need images as files to be embedded, somehow, into the .exe.
> The reason is I am using the picture control to read the images, but
> they are static once they are read. If it is possible for the picture
> controls to somehow retrieve the images from some other source, that
> would work also.
>
> Otherwise, if someone knows how to dynamically embed bitmap or other
> images i
nto buttons in an array, that would be useful as well.
>
Actually, many C and C++ programs, like LV itself have folders of data
that aren't linked into their code. But, if that is what you are
looking for, one pretty easy way is to load the images into memory and
place them into a 2D array of data, a string etc. Make an array of
these and make the value default. At runtime, you can now skip the file
I/O, or you can write the data to a temporary on launch and read them
back whenever you like.
Greg McKaskle