Click here to Skip to main content
16,004,678 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get size of any control Pin
TSrinivasR7-Feb-03 20:44
TSrinivasR7-Feb-03 20:44 
GeneralVery Urgent-Downloading files from internet Pin
vcarivu7-Feb-03 20:41
vcarivu7-Feb-03 20:41 
GeneralRe: Very Urgent-Downloading files from internet Pin
Ted Ferenc7-Feb-03 21:47
Ted Ferenc7-Feb-03 21:47 
GeneralRe: Very Urgent-Downloading files from internet Pin
Michael Dunn8-Feb-03 7:33
sitebuilderMichael Dunn8-Feb-03 7:33 
GeneralKill Process Pin
suresh_sathya7-Feb-03 20:22
suresh_sathya7-Feb-03 20:22 
GeneralRe: Kill Process Pin
includeh108-Feb-03 1:31
includeh108-Feb-03 1:31 
GeneralExe optimization Pin
suresh_sathya7-Feb-03 20:22
suresh_sathya7-Feb-03 20:22 
GeneralRe: Exe optimization Pin
Mike Nordell8-Feb-03 7:09
Mike Nordell8-Feb-03 7:09 
How about the following 640 bytes compiled and linked Hello World? Sure, you can get it up to 10KB if you want, but... Smile | :)

<br />
/*<br />
VC6: cl c.c<br />
*/<br />
<br />
/*<br />
NOTE: The "/filealign" is TOTALLY undocumented!!!<br />
*/<br />
<br />
#pragma optimize("gsa-y", on)<br />
#pragma comment(lib, "kernel32")<br />
// I split up all these linker options on separate lines for display<br />
// purposes. IRL (In Real Life) you might want to put these in one string.<br />
#pragma comment(linker, "/merge:.rdata=.text")<br />
#pragma comment(linker, "/entry:mymain")<br />
#pragma comment(linker, "/subsystem:console")<br />
#pragma comment(linker, "/align:16")<br />
#pragma comment(linker, "/filealign:16")<br />
<br />
#define WIN32_LEAN_AND_MEAN<br />
#include <windows.h><br />
<br />
#pragma data_seg(".text")<br />
<br />
void mymain()<br />
{<br />
	DWORD dwDum;<br />
	WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), "Hello world!\n", 13, &dwDum, 0);<br />
}<br />

GeneralUpgrading DLL at Booting time-VERY URGENT Pin
vcarivu7-Feb-03 19:30
vcarivu7-Feb-03 19:30 
GeneralRe: Upgrading DLL at Booting time-VERY URGENT Pin
Ted Ferenc7-Feb-03 21:44
Ted Ferenc7-Feb-03 21:44 
GeneralVoice Recording Pin
Chintan7-Feb-03 18:50
Chintan7-Feb-03 18:50 
GeneralRe: Voice Recording Pin
TSrinivasR7-Feb-03 20:47
TSrinivasR7-Feb-03 20:47 
GeneralRe: Voice Recording Pin
Chintan18-Feb-03 18:14
Chintan18-Feb-03 18:14 
GeneralRe: Voice Recording Pin
TSrinivasR20-Feb-03 16:27
TSrinivasR20-Feb-03 16:27 
GeneralRe: Voice Recording Pin
Chintan22-Feb-03 20:51
Chintan22-Feb-03 20:51 
GeneralActivating Splitter Panes Pin
Daniel Salby7-Feb-03 18:38
Daniel Salby7-Feb-03 18:38 
GeneralWindowActivation Pin
satyavasu7-Feb-03 18:37
satyavasu7-Feb-03 18:37 
Generalmfc: tabbing order.. Pin
trustno17-Feb-03 17:57
trustno17-Feb-03 17:57 
GeneralRe: mfc: tabbing order.. Pin
Kazz7-Feb-03 23:24
Kazz7-Feb-03 23:24 
GeneralRe: mfc: tabbing order.. Pin
Joel Lucsy8-Feb-03 9:22
Joel Lucsy8-Feb-03 9:22 
GeneralRe: mfc: tabbing order.. Pin
Kazz8-Feb-03 16:07
Kazz8-Feb-03 16:07 
GeneralBuilding Error Every Time! Pin
Aidman7-Feb-03 13:39
Aidman7-Feb-03 13:39 
GeneralRe: Building Error Every Time! Pin
Michael Dunn7-Feb-03 13:56
sitebuilderMichael Dunn7-Feb-03 13:56 
GeneralRe: Building Error Every Time! Pin
Aidman7-Feb-03 22:55
Aidman7-Feb-03 22:55 
QuestionInline Assembler? Pin
LiquidKnight7-Feb-03 11:48
LiquidKnight7-Feb-03 11: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.