Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C# Codedom & Resources?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Fri Jan 06, 2012 7:04 am    Post subject: C# Codedom & Resources? Reply with quote

I cant seem to access embedded resources. I can add them ok and can check that using reflector. But for the life of me, i cant access them.
I know how to use embedded resources normally but everything i try with codedom, doesnt seem to work.
I googled around for answers but cant find anything that works.

Im trying to use bitmaps and icons.
Anyone have an ideas i can try?

Thanks for any help.

_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Jan 06, 2012 7:11 am    Post subject: Reply with quote

http://support.microsoft.com/kb/319292
http://msdn.microsoft.com/en-us/library/aa287676%28v=vs.71%29.aspx

Not sure if you are trying to do anything special with this, but those are two examples of how to use embedded resources.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Fri Jan 06, 2012 8:27 am    Post subject: Reply with quote

Thanks i'll give them a go.
Im not doing anything special with it.

Im making a trainer maker. Up to now everything is working good.
I never used resources for my icon and form backimage. My idea was to store them as a string. When i save the project and want to load it up on a different pc, all i need is that text file. All the information is in the text file.
Either way im gonna need to do the same for bitmaps for the controls but i thought i could try something with resources.
So when the codedom app is generated, it converts the string back to the image. It works perfect thus far and its fast. Maybe i could just make a function to check if the bitmap has already been added and make my own type of resource handler.
My app has this already, it'l just need some additional code.

_________________
Back to top
View user's profile Send private message
supersniper
How do I cheat?
Reputation: 0

Joined: 06 Feb 2012
Posts: 1

PostPosted: Mon Feb 06, 2012 2:48 pm    Post subject: Reply with quote

pingo weren't you also going to include an automated updating feature that would update the trainer whenever needed?
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Mon Feb 06, 2012 7:14 pm    Post subject: Reply with quote

um no!
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites