Page 1 of 1

Bos Taurus embedding images in .exe

Posted: Tue Mar 01, 2016 8:07 pm
by RussBaker
I'm learning Bos Taurus and it is amazing. Fast and powerful.

I have a "static" image that I need to display when the program is in a certain status.
eg: "Not Found"

In HMG I can compile this into my .EXE so the external file is not necessary.

Can I do the same with an image for BT?
eg: no_photo:= BT_BitmapLoadFile ("nophoto.jpg")

I would prefer the .EXE stand alone without external files.

--Russ

Re: Bos Taurus embedding images in .exe

Posted: Wed Mar 02, 2016 4:55 am
by bpd2000
Hi
You Can do it refer link that shows how to include an image in the .EXE file

http://www.elektrosoft.it/tutorials/hmg ... #resources

Re: Bos Taurus embedding images in .exe

Posted: Thu Mar 03, 2016 4:05 am
by RussBaker
Will the resource file allow Bos Taurus to do this:

no_photo:= BT_BitmapLoadFile ("RESFILE")

Re: Bos Taurus embedding images in .exe

Posted: Thu Mar 03, 2016 9:53 am
by bpd2000
Hi
Find working example finished with the help from Dr. Claudio Soto

Re: Bos Taurus embedding images in .exe

Posted: Thu Mar 03, 2016 4:47 pm
by serge_girard
Thanks Dave (&& Claudio)

Serge