Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to put a menu in a dialog? Pin
Programmer_Chris21-Oct-04 2:10
Programmer_Chris21-Oct-04 2:10 
AnswerRe: How to put a menu in a dialog? Pin
Phil J Pearson21-Oct-04 2:44
Phil J Pearson21-Oct-04 2:44 
GeneralRe: How to put a menu in a dialog? Pin
Programmer_Chris21-Oct-04 7:16
Programmer_Chris21-Oct-04 7:16 
Generalprinting an Enhanced Metafile Pin
P e t e r21-Oct-04 0:57
P e t e r21-Oct-04 0:57 
GeneralDirectShow IFilterChain Pin
madretierra21-Oct-04 0:50
madretierra21-Oct-04 0:50 
GeneralOnSize() Member function Pin
Neelesh K J Jain20-Oct-04 23:47
Neelesh K J Jain20-Oct-04 23:47 
GeneralRe: OnSize() Member function Pin
Vikram Kashyap21-Oct-04 3:40
Vikram Kashyap21-Oct-04 3:40 
GeneralVisual Studio 6 template support Pin
Antti Keskinen20-Oct-04 23:42
Antti Keskinen20-Oct-04 23:42 
Hello !

I was creating a custom collection class, implemented as a doubly-linked list and a templated data type wrapped into a struct. Now, I first wrote it following normal coding standards, by seperating the header file of the template class and the implementation file into two different files, then including the header file where ever I needed this class.

This approach lead to a series of linker problems, the linker failing to resolve the template instantations. When I copied the contents of the implementation file and pasted it after the class definition (that is, into the end of the header file) and re-included this new header file into the module where I needed the template class, the code compiled and linked properly, but the template class header file became rather big..

Does anyone know if this is a bug in the IDE, and if it is fixed in the later versions, .NET and/or .NET 2003 ? Is there a possible work-around of this without moving the implementation file as a part of the header file ? A pragma definition, perhaps ? Or is my only possibility to cram the header and implementation files together and distribute this monolithic file ?

Greetings,
Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Visual Studio 6 template support Pin
Michael Dunn21-Oct-04 2:41
sitebuilderMichael Dunn21-Oct-04 2:41 
GeneralNeed a Step-by-step of how to sign an ActiveX Pin
anderslundsgard20-Oct-04 23:41
anderslundsgard20-Oct-04 23:41 
GeneralSetting temporary file path Pin
Vinaya20-Oct-04 23:21
Vinaya20-Oct-04 23:21 
GeneralRe: Setting temporary file path Pin
David Crow21-Oct-04 2:32
David Crow21-Oct-04 2:32 
Generallinking a microsoft access database to a vc++ program Pin
Anonymous20-Oct-04 23:17
Anonymous20-Oct-04 23:17 
GeneralRe: linking a microsoft access database to a vc++ program Pin
David Crow21-Oct-04 2:32
David Crow21-Oct-04 2:32 
GeneralRe: linking a microsoft access database to a vc++ program Pin
Vikram Kashyap21-Oct-04 3:33
Vikram Kashyap21-Oct-04 3:33 
GeneralA problem with update application. Please help me ! Pin
King of Merit20-Oct-04 22:51
King of Merit20-Oct-04 22:51 
GeneralRe: A problem with update application. Please help me ! Pin
ThatsAlok20-Oct-04 23:52
ThatsAlok20-Oct-04 23:52 
QuestionHow to execute command line in remote machine? Pin
dungle3020-Oct-04 22:33
dungle3020-Oct-04 22:33 
AnswerRe: How to execute command line in remote machine? Pin
ThatsAlok21-Oct-04 0:41
ThatsAlok21-Oct-04 0:41 
AnswerRe: How to execute command line in remote machine? Pin
Henry miller21-Oct-04 2:26
Henry miller21-Oct-04 2:26 
AnswerRe: How to execute command line in remote machine? Pin
David Crow21-Oct-04 2:37
David Crow21-Oct-04 2:37 
GeneralRe: How to execute command line in remote machine? Pin
dungle3021-Oct-04 16:47
dungle3021-Oct-04 16:47 
GeneralWindows message with MFC Pin
madretierra20-Oct-04 22:15
madretierra20-Oct-04 22:15 
GeneralRe: Windows message with MFC Pin
David Crow21-Oct-04 2:39
David Crow21-Oct-04 2:39 
GeneralRe: Windows message with MFC Pin
Anonymous21-Oct-04 4:33
Anonymous21-Oct-04 4:33 

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.