Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 18th, 2005, 08:20 AM
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Howto hide/include DLLs inside an executable ?

Hi..
I've been searching for some time now on howto include DLL's in an executable, and the only real lead I could come up with was this post from the p2p.wrox-forums:
http://p2p.wrox.com/topic.asp?TOPIC_ID=7539
(I own the "Beginning VB.NET 2003" but nothing of this sort is mentioned in the book).

Basically, I want to include some DLLs because I wish to minimize the files in the root and /bin directories (also, they musn't be accessible to the end-user). The post mentions "Global Assembly Cache" (GAC - I believe), but where do I read about this, because the process sounds as if it's a bit of a hazzle?
And btw: I'm on a beginning/moderate level, so plz be gentle :D

 
Old January 21st, 2005, 07:16 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can't hide one assembly (DLL) inside of another one (DLL/EXE) to the best of my knowledge. The only thing you could do is put all the code you need within a single EXE.

Yes, the GAC is a hastle and it doesn't hide/protect your assembly. In fact it makes it accessible to the entire machine. I'm not a beginner and I stay away from the GAC. I've yet to find a necessary use for it.

Are you looking at a way to obscure your assembly code/logic? There are obfuscation tools around that make the contents of an assembly harder to reverse engineer. Perhaps this is what you should look into. There is one that comes with Visual Studio.Net called Dotfuscator. I haven't used it so I can't shed any more light on it.

-Peter
 
Old September 2nd, 2005, 07:44 AM
Registered User
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

>Are you looking at a way to obscure your assembly code/logic? There >are obfuscation tools around that make the contents of an assembly >harder to reverse engineer.

Yes there's a good obfuscation and anti-reverse tool EXECrytor www.strongbit.com






Similar Threads
Thread Thread Starter Forum Replies Last Post
Namespaces and DLLs Akobold C# 0 March 18th, 2007 08:08 PM
Can I use two dlls with same name but prakashrams ASP.NET 1.0 and 1.1 Basics 1 November 29th, 2006 11:26 AM
difference between include file & include virtual crmpicco Classic ASP Basics 2 January 23rd, 2006 11:50 AM
xsl:include within include chuck123ie XSLT 1 January 5th, 2006 11:07 AM
include php inside the asp file karib Classic ASP Databases 2 November 25th, 2003 03:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.