Click here to Skip to main content
15,889,595 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to do a balloon tip in a tray icon in C# Pin
TylerBrinks9-Mar-05 6:05
TylerBrinks9-Mar-05 6:05 
AnswerRe: How to do a balloon tip in a tray icon in C# Pin
Kasdoffe9-Mar-05 6:09
Kasdoffe9-Mar-05 6:09 
GeneralExpriences Pin
Toan Thang8-Mar-05 16:49
Toan Thang8-Mar-05 16:49 
GeneralRe: Expriences Pin
Chua Wen Ching8-Mar-05 23:34
Chua Wen Ching8-Mar-05 23:34 
Generalwrap a dll into another dll Pin
ppp0018-Mar-05 15:28
ppp0018-Mar-05 15:28 
GeneralRe: wrap a dll into another dll Pin
mav.northwind8-Mar-05 22:27
mav.northwind8-Mar-05 22:27 
GeneralRe: wrap a dll into another dll Pin
Chua Wen Ching8-Mar-05 23:40
Chua Wen Ching8-Mar-05 23:40 
GeneralRe: wrap a dll into another dll Pin
Heath Stewart9-Mar-05 6:19
protectorHeath Stewart9-Mar-05 6:19 
There is a messy way of embedded B.dll in A.dll as an embedded resources, extracting it using Assembly.GetManifestResourceStream, and then loading it into the AppDomain using several different methods depending on how you extract it or to where you extract it...but that's just dumb.

Why? For one, it creates a servicing hastle. Now you have to patch both by virtue of patching A.dll. Also, anyone else can extract it using outside code.

If you're worry about disassembly or decompilation, then you picked the wrong language. .NET languages and Java both compile to intermediate code (.NET to Intermediate Language (IL), and Java to bytecode). Even if you obfuscate it some can deobfuscate it just as easily.

If you truly want to hide an implementation, then you'll need to put that functionality into a native DLL (which still isn't impossible decompile, though extremely difficult expecially when optimized) and use P/Invoke or COM interop, which you can read more about in Interoperating with Unmanaged Code[^] in the .NET Framework SDK.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralListView Pin
Bahadir Cambel8-Mar-05 14:43
Bahadir Cambel8-Mar-05 14:43 
GeneralRe: ListView Pin
Christian Graus8-Mar-05 14:48
protectorChristian Graus8-Mar-05 14:48 
GeneralRe: ListView Pin
Bahadir Cambel8-Mar-05 15:44
Bahadir Cambel8-Mar-05 15:44 
GeneralRe: ListView Pin
Bahadir Cambel8-Mar-05 16:55
Bahadir Cambel8-Mar-05 16:55 
GeneralRe: ListView Pin
Rob Graham8-Mar-05 18:16
Rob Graham8-Mar-05 18:16 
QuestionHow I can DISABLE the print button of the printPreviewDialog Toolbar. Pin
JeyJey20058-Mar-05 14:40
JeyJey20058-Mar-05 14:40 
AnswerRe: How I can DISABLE the print button of the printPreviewDialog Toolbar. Pin
V2272-Aug-10 9:34
V2272-Aug-10 9:34 
AnswerRe: How I can DISABLE the print button of the printPreviewDialog Toolbar. Pin
Member 1018538512-Mar-14 22:08
Member 1018538512-Mar-14 22:08 
GeneralGet dataGrid rows selected Pin
JeyJey20058-Mar-05 14:33
JeyJey20058-Mar-05 14:33 
GeneralRe: Get dataGrid rows selected Pin
westerdlyOne_void9-Mar-05 6:59
westerdlyOne_void9-Mar-05 6:59 
GeneralCD Drive / Disc Information Pin
poomunch38-Mar-05 14:12
poomunch38-Mar-05 14:12 
GeneralRe: CD Drive / Disc Information Pin
poomunch38-Mar-05 14:39
poomunch38-Mar-05 14:39 
Generalconsole.read() Pin
victor_ba858-Mar-05 13:35
victor_ba858-Mar-05 13:35 
GeneralRe: console.read() Pin
Bahadir Cambel8-Mar-05 15:57
Bahadir Cambel8-Mar-05 15:57 
Generalc# and using ports Pin
A_dosoky2005zagcom8-Mar-05 12:47
sussA_dosoky2005zagcom8-Mar-05 12:47 
GeneralRe: c# and using ports Pin
Stefan Troschuetz8-Mar-05 21:47
Stefan Troschuetz8-Mar-05 21:47 
GeneralRe: c# and using ports Pin
Chua Wen Ching8-Mar-05 23:48
Chua Wen Ching8-Mar-05 23:48 

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.