Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Get the x and y pixelsize of the screen? Pin
Murlai19-Oct-04 0:06
Murlai19-Oct-04 0:06 
GeneralRe: Get the x and y pixelsize of the screen? Pin
Vikram Kashyap19-Oct-04 2:15
Vikram Kashyap19-Oct-04 2:15 
GeneralRe: Get the x and y pixelsize of the screen? Pin
anderslundsgard19-Oct-04 4:43
anderslundsgard19-Oct-04 4:43 
AnswerRe: Get the x and y pixelsize of the screen? Pin
Juan Antonio Bermejo19-Oct-04 4:39
Juan Antonio Bermejo19-Oct-04 4:39 
GeneralShellExecute Pin
Maxime Labelle18-Oct-04 23:49
Maxime Labelle18-Oct-04 23:49 
GeneralRe: ShellExecute Pin
RobJones19-Oct-04 5:26
RobJones19-Oct-04 5:26 
Generalself-executable zip file Pin
includeh1018-Oct-04 23:46
includeh1018-Oct-04 23:46 
GeneralRe: self-executable zip file Pin
benjymous19-Oct-04 2:07
benjymous19-Oct-04 2:07 
The example you linked to uses zlib compression rather than zip compression, which is why it isn't compatible with winzip

The basic format of a self-extractor is actually pretty simple

What you need to do is write some code that can extract a zip archive from an address in memory

You then create an exe containing this code, and another small tool that takes a zip file, and merges the zip with the exe (i.e. just append the zip data to the end of your exe)

The exe needs to know where to look (i.e. at the end of the code), and extract the zip data from there.

As long as you keep the zip file intact within the self extractor, without modifying it, then winzip should still be able to find the archive and extract it manually

--
Help me! I'm turning into a grapefruit!
Phoenix Paint - back from DPaint's ashes!

GeneralOleMainThreadWndName Pin
shiraztk18-Oct-04 23:31
shiraztk18-Oct-04 23:31 
GeneralRe: OleMainThreadWndName Pin
Lim Bio Liong18-Oct-04 23:36
Lim Bio Liong18-Oct-04 23:36 
GeneralRe: OleMainThreadWndName Pin
shiraztk18-Oct-04 23:56
shiraztk18-Oct-04 23:56 
GeneralRe: OleMainThreadWndName Pin
Lim Bio Liong19-Oct-04 0:13
Lim Bio Liong19-Oct-04 0:13 
GeneralRe: OleMainThreadWndName Pin
shiraztk19-Oct-04 0:31
shiraztk19-Oct-04 0:31 
GeneralRe: OleMainThreadWndName Pin
Lim Bio Liong19-Oct-04 0:58
Lim Bio Liong19-Oct-04 0:58 
GeneralRe: OleMainThreadWndName Pin
shiraztk19-Oct-04 1:16
shiraztk19-Oct-04 1:16 
GeneralRe: OleMainThreadWndName Pin
shiraztk20-Oct-04 0:27
shiraztk20-Oct-04 0:27 
Questionfrom C++ header files to UML class diagrams? Pin
T.T.H.18-Oct-04 23:15
T.T.H.18-Oct-04 23:15 
Generalcheck keyword at the end of a line Pin
td8018-Oct-04 23:09
td8018-Oct-04 23:09 
GeneralRe: check keyword at the end of a line Pin
David Crow19-Oct-04 2:39
David Crow19-Oct-04 2:39 
GeneralRe: check keyword at the end of a line Pin
td8019-Oct-04 4:03
td8019-Oct-04 4:03 
Questionhow i can access usb port Pin
neo boyz18-Oct-04 23:08
neo boyz18-Oct-04 23:08 
Questionhow to send byte (Device) Pin
vc-programmer-18-Oct-04 22:59
vc-programmer-18-Oct-04 22:59 
AnswerRe: how to send byte (Device) Pin
Cedric Moonen18-Oct-04 23:10
Cedric Moonen18-Oct-04 23:10 
GeneralRe: how to send byte (Device) Pin
jan larsen19-Oct-04 2:59
jan larsen19-Oct-04 2:59 
GeneralRe: how to send byte (Device) Pin
Cedric Moonen19-Oct-04 3:09
Cedric Moonen19-Oct-04 3:09 

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.