Click here to Skip to main content
15,499,289 members
Home / Discussions / C#
   

C#

 
GeneralRe: Embedding referenced DLLs Pin
Guillermo Rivero9-Jan-04 9:33
MemberGuillermo Rivero9-Jan-04 9:33 
GeneralRe: Embedding referenced DLLs Pin
Den2Fly9-Jan-04 10:02
MemberDen2Fly9-Jan-04 10:02 
GeneralRe: Embedding referenced DLLs Pin
Guillermo Rivero9-Jan-04 10:31
MemberGuillermo Rivero9-Jan-04 10:31 
GeneralRe: Embedding referenced DLLs Pin
Den2Fly9-Jan-04 20:32
MemberDen2Fly9-Jan-04 20:32 
GeneralRe: Embedding referenced DLLs Pin
Guillermo Rivero10-Jan-04 8:38
MemberGuillermo Rivero10-Jan-04 8:38 
GeneralRe: Embedding referenced DLLs Pin
Heath Stewart9-Jan-04 13:00
protectorHeath Stewart9-Jan-04 13:00 
GeneralThanks for your comment -nt Pin
Den2Fly9-Jan-04 20:32
MemberDen2Fly9-Jan-04 20:32 
GeneralRe: Embedding referenced DLLs Pin
leppie9-Jan-04 14:14
Memberleppie9-Jan-04 14:14 
Its quite possible and not too hard, just a bit of work to get it going.

1. Compile dll.
2. Set dll as embedded resource to exe.
3. In main you need to setup an eventhandler to AppDomain assebly resolve event, cant remeber the exact name now.
4. At the event, read the resource stream of the dll (using compression mite be handy), into a byte[].
5. Load the assembly via Assembly.Load(byte[]).
6. Send me a Dell 3Xi for my b-day in a few weeks Smile | :)

leppie::AllocCPArticle("Zee blog");
Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

GeneralRe: Embedding referenced DLLs Pin
Den2Fly9-Jan-04 20:38
MemberDen2Fly9-Jan-04 20:38 
GeneralRe: Embedding referenced DLLs Pin
leppie10-Jan-04 3:34
Memberleppie10-Jan-04 3:34 
GeneralMain Form Pin
Gary Kirkham9-Jan-04 8:21
MemberGary Kirkham9-Jan-04 8:21 
GeneralRe: Main Form Pin
Alex Korchemniy9-Jan-04 10:16
MemberAlex Korchemniy9-Jan-04 10:16 
GeneralComparing dates Pin
jnngill9-Jan-04 6:57
Memberjnngill9-Jan-04 6:57 
GeneralRe: Comparing dates Pin
Soliant9-Jan-04 7:39
MemberSoliant9-Jan-04 7:39 
GeneralRe: Comparing dates Pin
Richard Deeming9-Jan-04 7:40
mveRichard Deeming9-Jan-04 7:40 
GeneralRe: Comparing dates Pin
jnngill9-Jan-04 8:46
Memberjnngill9-Jan-04 8:46 
GeneralHelp Pls Pin
extremeg9-Jan-04 6:39
Memberextremeg9-Jan-04 6:39 
GeneralRe: Help Pls Pin
Soliant9-Jan-04 7:42
MemberSoliant9-Jan-04 7:42 
GeneralTabpages Pin
Jonathan Slenders9-Jan-04 2:40
MemberJonathan Slenders9-Jan-04 2:40 
GeneralRe: Tabpages Pin
Heath Stewart9-Jan-04 4:34
protectorHeath Stewart9-Jan-04 4:34 
GeneralRe: Tabpages Pin
Jonathan Slenders10-Jan-04 5:42
MemberJonathan Slenders10-Jan-04 5:42 
GeneralRe: Tabpages Pin
Heath Stewart10-Jan-04 7:23
protectorHeath Stewart10-Jan-04 7:23 
GeneralDateTimePicker Display Case Pin
Ben Swann9-Jan-04 0:05
MemberBen Swann9-Jan-04 0:05 
GeneralRe: DateTimePicker Display Case Pin
Mazdak9-Jan-04 1:54
MemberMazdak9-Jan-04 1:54 
Generalfonts (maybe) Pin
brain2cpu8-Jan-04 20:57
professionalbrain2cpu8-Jan-04 20:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.