Click here to Skip to main content
16,007,277 members
Home / Discussions / C#
   

C#

 
GeneralDllnotfound Exception for Sqlite Dll Pin
Adnan Siddiqi24-Feb-05 8:43
Adnan Siddiqi24-Feb-05 8:43 
GeneralRe: Dllnotfound Exception for Sqlite Dll Pin
Adnan Siddiqi24-Feb-05 9:28
Adnan Siddiqi24-Feb-05 9:28 
GeneralRe: Dllnotfound Exception for Sqlite Dll Pin
Joel Lucsy25-Feb-05 3:56
Joel Lucsy25-Feb-05 3:56 
GeneralAdding right aligned controls to MenuStrip in whidbey Pin
SathishVJ24-Feb-05 7:38
SathishVJ24-Feb-05 7:38 
GeneralRe: Adding right aligned controls to MenuStrip in whidbey Pin
Judah Gabriel Himango24-Feb-05 8:56
sponsorJudah Gabriel Himango24-Feb-05 8:56 
GeneralRe: Adding right aligned controls to MenuStrip in whidbey Pin
SathishVJ25-Feb-05 11:07
SathishVJ25-Feb-05 11:07 
GeneralPassword protected files - HELP! Pin
Anthony Mushrow24-Feb-05 6:09
professionalAnthony Mushrow24-Feb-05 6:09 
GeneralRe: Password protected files - HELP! Pin
Dave Kreskowiak24-Feb-05 8:14
mveDave Kreskowiak24-Feb-05 8:14 
First, it's already been done - it's called a WinZip Self Extracting Executable.
In order to use the files, you actually have to unpack them first. Once that is done, you don't need any password to use them, so what's the point?

The method that you describe only protects the files during transport from machine to machine. It can't do anything about the files once they're unpacked. Also, unless the files are encrypted in the self-extractor package, it's not that hard to pull the files out of the package without the password.

Also, the files are not compiled into the .EXE as you put it. Rather, the file package (or .ZIP in our example), encrypted or not, is appended to the end of the .EXE file. The .EXE has to know how far into the file to start looking for the .file package, then it's a simple process of processing the files from there.

The file format could look something like this:
[SelfExtractor code][FilePackagePre-Amble][FilePackage][possiblePost-Amble and ErrorCheckID]



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralHELP! override OnPain, OnLayout and DoubleBuffer Pin
TheSebaster24-Feb-05 5:47
TheSebaster24-Feb-05 5:47 
Generallinking schema programatically Pin
Member 110614424-Feb-05 5:15
Member 110614424-Feb-05 5:15 
GeneralRegular expression mayhem Pin
Esmo200024-Feb-05 4:18
Esmo200024-Feb-05 4:18 
GeneralRe: Regular expression mayhem Pin
Michael Dunn24-Feb-05 6:09
sitebuilderMichael Dunn24-Feb-05 6:09 
GeneralRe: Regular expression mayhem Pin
Esmo200024-Feb-05 7:21
Esmo200024-Feb-05 7:21 
GeneralRe: Regular expression mayhem Pin
S. Senthil Kumar24-Feb-05 8:43
S. Senthil Kumar24-Feb-05 8:43 
GeneralRe: Regular expression mayhem Pin
Esmo200024-Feb-05 9:25
Esmo200024-Feb-05 9:25 
GeneralSending Emails - The "SendUsing" configuration value is invalid. Pin
MrEyes24-Feb-05 2:51
MrEyes24-Feb-05 2:51 
GeneralRe: Sending Emails - The "SendUsing" configuration value is invalid. Pin
turbochimp24-Feb-05 12:06
turbochimp24-Feb-05 12:06 
Generalcannot pass a string through an object to an unmanaged VC++ dll Pin
grs_files24-Feb-05 2:29
grs_files24-Feb-05 2:29 
GeneralNeed Help - Game Menu programming. Pin
giggssux9224-Feb-05 1:48
giggssux9224-Feb-05 1:48 
GeneralRe: Need Help - Game Menu programming. Pin
exhaulted24-Feb-05 2:32
exhaulted24-Feb-05 2:32 
GeneralInformation about a streamed file embedded in a WebPage (WindowsMediaPlayer ActiveX) Pin
rwelte24-Feb-05 0:30
rwelte24-Feb-05 0:30 
GeneralSorting DataGrid Pin
Maqsood Ahmed24-Feb-05 0:21
Maqsood Ahmed24-Feb-05 0:21 
GeneralRe: Sorting DataGrid Pin
turbochimp24-Feb-05 12:07
turbochimp24-Feb-05 12:07 
GeneralRe: Sorting DataGrid Pin
Maqsood Ahmed24-Feb-05 20:20
Maqsood Ahmed24-Feb-05 20:20 
GeneralRe: Sorting DataGrid Pin
turbochimp25-Feb-05 3:02
turbochimp25-Feb-05 3:02 

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.