aewarnick Posted May 30, 2003 Posted May 30, 2003 Instead of using the compiler. Or is that the way it is? Quote C#
*Experts* mutant Posted May 30, 2003 *Experts* Posted May 30, 2003 If you embeded from code this means that the exectuable would have to recompile itself to include the resources :) I dont think that is possible. Quote
aewarnick Posted May 31, 2003 Author Posted May 31, 2003 I knew it was not possible after the exe was made but. . . I was just thinking that there was something I could put in one of my classes telling the compler to put certain resources into the exe when it compiles. Quote C#
AndreRyan Posted May 31, 2003 Posted May 31, 2003 You can write a program that makes other exes as it runs using the compiler services but I don't think you can alter the already compiled. If you want to include files in the exe at design time just right click the project and choose Add Existing and once the item appears in the list select it and set its compile method to Embedded Resource or Content then you can use it using the Resource Reader Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
aewarnick Posted May 31, 2003 Author Posted May 31, 2003 Yes, I knew that. I am just looking for a shortcut. If I could tell the compiler in my code to include certain files as embedded resources when it compiles a certain class that would just make things a little less troublesome. Quote C#
*Experts* mutant Posted May 31, 2003 *Experts* Posted May 31, 2003 How could it be less troublesome then few clicks in the solution explorer? :) Quote
aewarnick Posted May 31, 2003 Author Posted May 31, 2003 Well, for each class that I would make that would use a class that requireres certain embedded resouces, if they were already in code for the compiler I would not have to worry about making those few clicks. But since I can't do it, I'll just have to make those few clicks each time. Ohhhh well. Quote C#
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.