Page 1 of 1

PostPosted: Tue Apr 18, 2006 4:08 pm
by gatesjk
I am embedding bitmaps into my gadget using the following syntax.

@bitmap Bitmap AAVPort {
id =1

I want to put all of this in an external file and use an #include.
but when I put this in a separate file I get an error saying all resources must have unique names. Any help would be greatly appreciated.

PostPosted: Tue Apr 18, 2006 4:20 pm
by gatesjk
I found my answer. I was putting all of the bitmap declarations in one file by themselves and I was including that file in my gadget. I discovered that if you put the declarations in an external file you don't have to include the file because the bitmaps are loaded when the project is compiled.