Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: in view of MDI app OnMove() never happens Pin
Iain Clarke, Warrior Programmer13-Jan-05 23:44
Iain Clarke, Warrior Programmer13-Jan-05 23:44 
GeneralHelp For ToolTipText in VC++ Pin
phijophlip13-Jan-05 22:03
phijophlip13-Jan-05 22:03 
Questionhow to get ethernet card ip address Pin
vc-programmer-13-Jan-05 21:44
vc-programmer-13-Jan-05 21:44 
AnswerRe: how to get ethernet card ip address Pin
pc_dev13-Jan-05 23:05
pc_dev13-Jan-05 23:05 
GeneralRe: how to get ethernet card ip address Pin
vc-programmer-13-Jan-05 23:22
vc-programmer-13-Jan-05 23:22 
GeneralRe: how to get ethernet card ip address Pin
David Crow14-Jan-05 2:54
David Crow14-Jan-05 2:54 
General#include header files order. Pin
rbid13-Jan-05 21:34
rbid13-Jan-05 21:34 
GeneralRe: #include header files order. Pin
Iain Clarke, Warrior Programmer13-Jan-05 23:56
Iain Clarke, Warrior Programmer13-Jan-05 23:56 
Typically (for me), it would be...

// 1st - Precompiled header
#include "stdafx.h"

// 2nd - System Headers
#include <afxtempl.h>
#include <string>
etc.

// 3rd - Header files from this projects include dir. Load of __dllimports!
#include <Utilities.h>
#include <<a href = "http://www.codeproject.com/buttonctrl/LedButton.asp">LedButton.h</a>[<a href = "http://www.codeproject.com/buttonctrl/LedButton.asp" target = "_blank">^</a>]>      // <-- recent example!

// 4th - Header file with export definitions for this project  Loads of __dllexports.
#include <ThisDll.h>

// 5th - Local header files.
#include "ThisClass.h"

// 6th - Resource definitions
#include "resource.h"


I make sure headers files I've written come after "system" ones, to make sure I
don't mess up any defines, etc. In practise, it matters very rarely. But it has
mattered in the past, so I try to be good!

Iain.
GeneralRe: #include header files order. Pin
Dimitris Vikeloudas15-Jan-05 2:01
Dimitris Vikeloudas15-Jan-05 2:01 
General"Virutal" drive Pin
13-Jan-05 18:43
suss13-Jan-05 18:43 
GeneralRe: &quot;Virutal&quot; drive Pin
Ryan Binns13-Jan-05 19:18
Ryan Binns13-Jan-05 19:18 
GeneralRe: &quot;Virutal&quot; drive Pin
Mathieu Deslauriers13-Jan-05 19:49
Mathieu Deslauriers13-Jan-05 19:49 
GeneralCreate Reports similar to Access Pin
Toni7813-Jan-05 18:06
Toni7813-Jan-05 18:06 
GeneralRe: Create Reports similar to Access Pin
Andrew Walker13-Jan-05 18:46
Andrew Walker13-Jan-05 18:46 
GeneralRe: Create Reports similar to Access Pin
Ryan Binns13-Jan-05 19:23
Ryan Binns13-Jan-05 19:23 
GeneralRe: Create Reports similar to Access Pin
Iain Clarke, Warrior Programmer14-Jan-05 0:11
Iain Clarke, Warrior Programmer14-Jan-05 0:11 
GeneralRe: Create Reports similar to Access Pin
RomanBe14-Jan-05 2:45
RomanBe14-Jan-05 2:45 
GeneralRe: Create Reports similar to Access Pin
Toni7815-Jan-05 19:14
Toni7815-Jan-05 19:14 
Generalquestion &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
phijophlip13-Jan-05 17:03
phijophlip13-Jan-05 17:03 
GeneralRe: question &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
ThatsAlok13-Jan-05 17:47
ThatsAlok13-Jan-05 17:47 
GeneralRe: question &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
toxcct13-Jan-05 21:33
toxcct13-Jan-05 21:33 
GeneralRe: question &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
KaЯl14-Jan-05 1:44
KaЯl14-Jan-05 1:44 
GeneralRe: question &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
toxcct14-Jan-05 21:54
toxcct14-Jan-05 21:54 
GeneralRe: question &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
KaЯl14-Jan-05 22:25
KaЯl14-Jan-05 22:25 
GeneralRe: question &quot;true&quot; and &quot;TRUE&quot; in vc+++ Pin
Martin Koorts14-Jan-05 3:02
Martin Koorts14-Jan-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.