Click here to Skip to main content
16,005,734 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What message is sended when a window is minimized? Pin
yeetang9-Dec-03 15:28
yeetang9-Dec-03 15:28 
QuestionHow to get the document file name associated with a MSWord process? Pin
George28-Dec-03 18:58
George28-Dec-03 18:58 
AnswerRe: How to get the document file name associated with a MSWord process? Pin
Peter Molnar9-Dec-03 12:37
Peter Molnar9-Dec-03 12:37 
Generalcode help Pin
Rob Tomson8-Dec-03 18:01
Rob Tomson8-Dec-03 18:01 
GeneralRe: code help Pin
Antti Keskinen8-Dec-03 22:06
Antti Keskinen8-Dec-03 22:06 
Questiontemplates in a static library? Pin
Robert Buldoc8-Dec-03 16:36
Robert Buldoc8-Dec-03 16:36 
AnswerRe: templates in a static library? Pin
John M. Drescher8-Dec-03 17:44
John M. Drescher8-Dec-03 17:44 
GeneralRe: templates in a static library? Pin
Steen Krogsgaard8-Dec-03 21:55
Steen Krogsgaard8-Dec-03 21:55 
Well, if the template functions is implemented in the header file they are not really located in the library. The code generated by the compiler will be in the client of the library, not in the library. It cannot be any other way as the template functions are compiled when they are used. The library can't have any prior knowledge of which specializations of the template will be used.

The only way to export template functions (that I know of) is to explicit instantiate the functions in the library. See MSDN Q239436 for an explanation. However, if you explicit instatiate template member functions on VC++ 6.0 you get an internal compiler error!

br
Steen


Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralRe: templates in a static library? Pin
John M. Drescher9-Dec-03 1:50
John M. Drescher9-Dec-03 1:50 
GeneralRe: templates in a static library? Pin
Steen Krogsgaard9-Dec-03 4:14
Steen Krogsgaard9-Dec-03 4:14 
GeneralRe: templates in a static library? Pin
John M. Drescher9-Dec-03 5:53
John M. Drescher9-Dec-03 5:53 
GeneralRe: templates in a static library? Pin
Steen Krogsgaard9-Dec-03 21:14
Steen Krogsgaard9-Dec-03 21:14 
Generalcall a method in another project Pin
George Lam8-Dec-03 16:31
George Lam8-Dec-03 16:31 
GeneralRe: call a method in another project Pin
George Lam8-Dec-03 16:32
George Lam8-Dec-03 16:32 
GeneralRe: call a method in another project Pin
Robert Kuster8-Dec-03 23:40
Robert Kuster8-Dec-03 23:40 
Generalbitblt a bitmap greater than screen resolution, bitmap doesn't display correctly Pin
yoshibebe8-Dec-03 12:49
yoshibebe8-Dec-03 12:49 
GeneralRe: bitblt a bitmap greater than screen resolution, bitmap doesn't display correctly Pin
twing8-Dec-03 13:24
twing8-Dec-03 13:24 
GeneralDirectly Hooking a Function Pin
Xen3h8-Dec-03 10:51
Xen3h8-Dec-03 10:51 
GeneralRe: Directly Hooking a Function Pin
Robert Kuster8-Dec-03 12:37
Robert Kuster8-Dec-03 12:37 
Generalclick over a balloon tip Pin
Member 7044078-Dec-03 10:27
Member 7044078-Dec-03 10:27 
GeneralRe: click over a balloon tip Pin
Peter Molnar9-Dec-03 12:27
Peter Molnar9-Dec-03 12:27 
GeneralRe: click over a balloon tip Pin
Member 7044079-Dec-03 21:05
Member 7044079-Dec-03 21:05 
GeneralRe: click over a balloon tip Pin
Peter Molnar10-Dec-03 1:18
Peter Molnar10-Dec-03 1:18 
GeneralI want a function called on thread exit. Pin
8-Dec-03 9:39
suss8-Dec-03 9:39 
GeneralRe: I want a function called on thread exit. Pin
Robert Kuster8-Dec-03 13:14
Robert Kuster8-Dec-03 13:14 

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.