Click here to Skip to main content
15,912,457 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: class align vs struct align Pin
Bram van Kampen12-Aug-08 11:12
Bram van Kampen12-Aug-08 11:12 
GeneralRe: class align vs struct align Pin
oobimoo12-Aug-08 11:24
oobimoo12-Aug-08 11:24 
GeneralRe: class align vs struct align Pin
Bram van Kampen12-Aug-08 12:13
Bram van Kampen12-Aug-08 12:13 
GeneralRe: class align vs struct align Pin
oobimoo12-Aug-08 12:20
oobimoo12-Aug-08 12:20 
AnswerRe: class align vs struct align Pin
Jijo.Raj12-Aug-08 19:22
Jijo.Raj12-Aug-08 19:22 
GeneralRe: class align vs struct align Pin
oobimoo12-Aug-08 23:18
oobimoo12-Aug-08 23:18 
GeneralRe: class align vs struct align Pin
Bram van Kampen13-Aug-08 16:32
Bram van Kampen13-Aug-08 16:32 
QuestionInitializing and Terminating function calls with a static library Pin
Chris Meech12-Aug-08 10:18
Chris Meech12-Aug-08 10:18 
I have a static library project that includes a large collection of C++ classes. Before any object of a class in the library is instantiated I need to call a special function, CallMeFirst(). Additionally, after all objects have been deleted, I need to CallMeLast(). What would be an appropriate architecture to use to enforce this for any application that would then compile/link with this library. I trying to see if I can code the calls to CallMeFirst and CallMeLast just once and not have to "recode" them for every application. Thanks for any comments.

Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

AnswerRe: Initializing and Terminating function calls with a static library Pin
Mark Salsbery12-Aug-08 10:45
Mark Salsbery12-Aug-08 10:45 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Chris Meech12-Aug-08 15:02
Chris Meech12-Aug-08 15:02 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Mark Salsbery12-Aug-08 15:22
Mark Salsbery12-Aug-08 15:22 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Bram van Kampen12-Aug-08 15:40
Bram van Kampen12-Aug-08 15:40 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Chris Meech13-Aug-08 4:29
Chris Meech13-Aug-08 4:29 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Mark Salsbery13-Aug-08 6:01
Mark Salsbery13-Aug-08 6:01 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Bram van Kampen12-Aug-08 15:27
Bram van Kampen12-Aug-08 15:27 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Mark Salsbery12-Aug-08 15:33
Mark Salsbery12-Aug-08 15:33 
GeneralRe: Initializing and Terminating function calls with a static library Pin
Chris Meech13-Aug-08 4:31
Chris Meech13-Aug-08 4:31 
AnswerRe: Initializing and Terminating function calls with a static library Pin
Bram van Kampen12-Aug-08 15:19
Bram van Kampen12-Aug-08 15:19 
QuestionC++ pointer question Pin
winburn12-Aug-08 10:17
winburn12-Aug-08 10:17 
AnswerRe: C++ pointer question Pin
krmed12-Aug-08 10:41
krmed12-Aug-08 10:41 
GeneralRe: C++ pointer question Pin
winburn12-Aug-08 10:54
winburn12-Aug-08 10:54 
Questiondeclaring vars inside loop Pin
john john mackey12-Aug-08 8:59
john john mackey12-Aug-08 8:59 
AnswerRe: declaring vars inside loop Pin
Nemanja Trifunovic12-Aug-08 9:30
Nemanja Trifunovic12-Aug-08 9:30 
GeneralRe: declaring vars inside loop Pin
Bram van Kampen12-Aug-08 12:19
Bram van Kampen12-Aug-08 12:19 
GeneralRe: declaring vars inside loop Pin
Nemanja Trifunovic12-Aug-08 13:19
Nemanja Trifunovic12-Aug-08 13:19 

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.