How to set the xxx.elf file address

Can someone tell me how to set the elf file address, as i seem to alway use this;

byte[] elf_file = FEZ_Panda_II_Application1.Resources.GetBytes(FEZ_Panda_II_Application1.Resources.BinaryResources.XXX);

The XXX is any elf file name.

Hi Dave,

What do you mean by “set the elf file address”?

Aron,

When I first tried RLP i used the WIKI which uses;

byte[] elf_file = Resources.GetBytes(Resources.BinaryResources.XXX);

That code didnt work for me, so as I was using FEZ_Panda_II_Application1 I tried that and it worked. That put a link in my brain and i’ve used it since then. The other day I started to think about why I had to use FEZ_Panda_II_Application1, no matter what my application was called. Maybe I have used the wrong term “set the elf file address”.

FEZ_Panda_II_Application1.Resources is the full name of the generated Resources class that is specific to your application.
You can use using statement.

@ Architect,

Thankyou.

So in short, I need to learn how to use C# in order to change the “full name of the generated Resources class”

Absolutely. Good investment.

@ Davef, here’s a tip for ya

Thankyou Guys,

Solved now!