Click here to Skip to main content
15,893,790 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: FindFirstPrinterChangeNotification fails on XP laptop. Pin
Graham Bradshaw11-Nov-05 8:53
Graham Bradshaw11-Nov-05 8:53 
GeneralRe: FindFirstPrinterChangeNotification fails on XP laptop. Pin
Flit11-Nov-05 20:01
Flit11-Nov-05 20:01 
QuestionNavigate2 issue Pin
Hans Ruck11-Nov-05 6:56
Hans Ruck11-Nov-05 6:56 
AnswerRe: Navigate2 issue Pin
ThatsAlok13-Nov-05 18:08
ThatsAlok13-Nov-05 18:08 
GeneralRe: Navigate2 issue Pin
Hans Ruck13-Nov-05 21:00
Hans Ruck13-Nov-05 21:00 
Questionimporting template classes from dll Pin
Themis11-Nov-05 6:32
Themis11-Nov-05 6:32 
AnswerRe: importing template classes from dll Pin
Bob Stanneveld11-Nov-05 7:35
Bob Stanneveld11-Nov-05 7:35 
AnswerRe: importing template classes from dll Pin
cmk11-Nov-05 13:18
cmk11-Nov-05 13:18 
DLL A:

BldT.h:
template<class TT> class BldT {...};
typedef BldT<long> BldLong;
#include "BldT.i"

BldT.i:
template<class TT>
BldT<TT>::BldT( void ) {...}
...

BldT.cpp:
// The following will export all methods from BldT<long> template instance
template class __declspec(dllexport) BldT<long>;

DLL B:

SBld.h
class ScnBld : public BldLong {...};


You will still need to access BldT.h from DLL B to compile.
However, you shouldn't need to provide BldT.i and can remove the #include "BldT.i" from the BldT.h that DLL B uses.


...cmk

Save the whales - collect the whole set
Questionvc &amp;amp; dll help Pin
bocbe11-Nov-05 4:47
bocbe11-Nov-05 4:47 
AnswerRe: vc &amp;amp;amp; dll help Pin
Blake Miller11-Nov-05 5:29
Blake Miller11-Nov-05 5:29 
GeneralRe: vc &amp;amp;amp;amp;amp; dll help Pin
Chris Losinger11-Nov-05 8:42
professionalChris Losinger11-Nov-05 8:42 
QuestionRe: vc &amp;amp;amp; dll help Pin
David Crow11-Nov-05 8:47
David Crow11-Nov-05 8:47 
AnswerRe: vc &amp;amp;amp; dll help Pin
bocbe11-Nov-05 21:42
bocbe11-Nov-05 21:42 
QuestionHow can I call COM from MakeFile Project in C++ Pin
ashok12311-Nov-05 4:29
ashok12311-Nov-05 4:29 
AnswerRe: How can I call COM from MakeFile Project in C++ Pin
douglasjordan13-Nov-05 15:35
douglasjordan13-Nov-05 15:35 
QuestionWrite to clipboard? Pin
bosfan11-Nov-05 3:14
bosfan11-Nov-05 3:14 
AnswerRe: Write to clipboard? Pin
Chris Losinger11-Nov-05 3:44
professionalChris Losinger11-Nov-05 3:44 
QuestionWindow MDI problem Pin
Lampros Giampouras11-Nov-05 3:13
Lampros Giampouras11-Nov-05 3:13 
AnswerRe: Window MDI problem Pin
AkiraOne11-Nov-05 3:24
AkiraOne11-Nov-05 3:24 
GeneralRe: Window MDI problem Pin
Lampros Giampouras11-Nov-05 3:35
Lampros Giampouras11-Nov-05 3:35 
QuestionCrystalReport replace parameter with RDC Pin
AkiraOne11-Nov-05 3:02
AkiraOne11-Nov-05 3:02 
QuestionVisual C++ Windows Forms Pin
Ciprian Cana11-Nov-05 1:22
Ciprian Cana11-Nov-05 1:22 
AnswerRe: Visual C++ Windows Forms Pin
jhwurmbach11-Nov-05 1:34
jhwurmbach11-Nov-05 1:34 
QuestionAccelerator keys are not working Pin
chakri1610-Nov-05 23:50
chakri1610-Nov-05 23:50 
AnswerRe: Accelerator keys are not working Pin
Roger Allen11-Nov-05 1:30
Roger Allen11-Nov-05 1:30 

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.