Click here to Skip to main content
15,881,859 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRestarting the process Pin
mpapeo28-Mar-05 12:03
mpapeo28-Mar-05 12:03 
GeneralModal Dialog not block user interation to CControlBar within App Pin
Art Poley28-Mar-05 10:37
Art Poley28-Mar-05 10:37 
GeneralRe: Modal Dialog not block user interation to CControlBar within App Pin
FlyingTinman28-Mar-05 12:43
FlyingTinman28-Mar-05 12:43 
GeneralRe: Modal Dialog not block user interation to CControlBar within App Pin
Art Poley29-Mar-05 2:57
Art Poley29-Mar-05 2:57 
GeneralInsert icon in menu Pin
luizferp28-Mar-05 9:47
luizferp28-Mar-05 9:47 
GeneralRe: Insert icon in menu Pin
Alexander M.,28-Mar-05 13:32
Alexander M.,28-Mar-05 13:32 
Generaltemplate questions Pin
act_x28-Mar-05 9:21
act_x28-Mar-05 9:21 
GeneralRe: template questions Pin
Joaquín M López Muñoz28-Mar-05 10:16
Joaquín M López Muñoz28-Mar-05 10:16 
Do you have the implementation part of CProtectedBuffer in a .cpp of its own? If so, it's no wonder that the linker misses those definitions: templates must de declared and defined in a header file to be included by the user code. Try moving all the CProtectedBuffer implementation stuff to protectedbuffer.h (or whatever the header is named), drop protectedbuffer.cpp and please check if things improve.

To be strict, it is not exactly true that templates must be defined in their header file, but this rule will work 100% of the time. If you're really curious about how templates definitions are located and instantiated, google for "template compilation model" (warning, the issue is rather technical.)

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Want a Boost forum in Code Project? Vote here[^]!
GeneralRe: template questions Pin
act_x28-Mar-05 10:35
act_x28-Mar-05 10:35 
GeneralPlease help me! Pin
dSolariuM28-Mar-05 8:52
dSolariuM28-Mar-05 8:52 
GeneralRe: Please help me! Pin
David Crow28-Mar-05 9:25
David Crow28-Mar-05 9:25 
Questionmemcpy() not working ? Pin
Amarelia28-Mar-05 7:41
Amarelia28-Mar-05 7:41 
AnswerRe: memcpy() not working ? Pin
David Crow28-Mar-05 9:26
David Crow28-Mar-05 9:26 
GeneralRe: memcpy() not working ? Pin
Amarelia28-Mar-05 19:24
Amarelia28-Mar-05 19:24 
GeneralRe: memcpy() not working ? Pin
David Crow29-Mar-05 3:12
David Crow29-Mar-05 3:12 
GeneralProblems with HHOOK variable Pin
r3dqu33n28-Mar-05 7:08
r3dqu33n28-Mar-05 7:08 
GeneralRe: Problems with HHOOK variable Pin
David Crow28-Mar-05 9:35
David Crow28-Mar-05 9:35 
GeneralRe: Problems with HHOOK variable Pin
r3dqu33n28-Mar-05 9:45
r3dqu33n28-Mar-05 9:45 
GeneralRe: Problems with HHOOK variable Pin
David Crow28-Mar-05 9:51
David Crow28-Mar-05 9:51 
GeneralRe: Problems with HHOOK variable Pin
r3dqu33n28-Mar-05 10:03
r3dqu33n28-Mar-05 10:03 
GeneralRe: Problems with HHOOK variable Pin
David Crow28-Mar-05 10:22
David Crow28-Mar-05 10:22 
GeneralBitmap Data Manipulation Pin
LighthouseJ28-Mar-05 7:07
LighthouseJ28-Mar-05 7:07 
GeneralRe: Bitmap Data Manipulation Pin
Chris Losinger28-Mar-05 10:42
professionalChris Losinger28-Mar-05 10:42 
GeneralRe: Bitmap Data Manipulation Pin
LighthouseJ28-Mar-05 12:23
LighthouseJ28-Mar-05 12:23 
Generalerror - edit box variable cannot be evaluated Pin
theFrenchHornet28-Mar-05 5:22
theFrenchHornet28-Mar-05 5:22 

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.