Click here to Skip to main content
16,010,876 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redraw notification of dialog members - how? Pin
1-Dec-00 19:59
suss1-Dec-00 19:59 
GeneralRe: Redraw notification of dialog members - how? Pin
1-Dec-00 23:09
suss1-Dec-00 23:09 
GeneralRe: Redraw notification of dialog members - how? Pin
2-Dec-00 8:17
suss2-Dec-00 8:17 
GeneralRe: Redraw notification of dialog members - how? Pin
2-Dec-00 10:12
suss2-Dec-00 10:12 
GeneralRe: Redraw notification of dialog members - how? Pin
3-Dec-00 9:42
suss3-Dec-00 9:42 
GeneralAccelerators Pin
1-Dec-00 1:13
suss1-Dec-00 1:13 
Generalstl warning Pin
1-Dec-00 0:58
suss1-Dec-00 0:58 
GeneralRe: stl warning Pin
Jonathan Gilligan3-Dec-00 11:11
Jonathan Gilligan3-Dec-00 11:11 
I'm not sure, but it looks to me as though the problem is that your class inherits from a parameterized class without using templates. Either

template <class Ty_, class A_ = std::allocator<Ty_> > class DLLTEST_API myclass {
public:
  std::vector<Ty_, A_> v;
...
};

or
class DLLTEST_API myclass {
public:
  std::vector<char> v;
...
};


should work for you.

In the former case, you may also get into some trouble if you do not define specific instantiations of your generic class, since the way templates are handled in VC++ does not allow separate compilation of the bodies of template functions and class methods, so you can't hide the implementation details of generic classes in a .cpp file that goes into a DLL---the implementation must be present in the header file.
GeneralMouse Capture ant time problems Pin
30-Nov-00 22:15
suss30-Nov-00 22:15 
GeneralSerialization Pin
30-Nov-00 21:45
suss30-Nov-00 21:45 
GeneralRe: Serialization Pin
Tim Deveaux3-Dec-00 7:55
Tim Deveaux3-Dec-00 7:55 
GeneralMS Exchange Pin
Alan Rencher30-Nov-00 8:43
Alan Rencher30-Nov-00 8:43 
GeneralTIMER API Pin
30-Nov-00 6:14
suss30-Nov-00 6:14 
QuestionHow to get the Window-Title Pin
30-Nov-00 2:59
suss30-Nov-00 2:59 
AnswerRe: How to get the Window-Title Pin
NormDroid30-Nov-00 3:26
professionalNormDroid30-Nov-00 3:26 
AnswerRe: How to get the Window-Title Pin
Erik Funkenbusch30-Nov-00 10:56
Erik Funkenbusch30-Nov-00 10:56 
GeneralRe: How to get the Window-Title Pin
1-Dec-00 6:16
suss1-Dec-00 6:16 
GeneralRe: How to get the Window-Title Pin
Erik Funkenbusch1-Dec-00 12:37
Erik Funkenbusch1-Dec-00 12:37 
GeneralRe: How to get the Window-Title Pin
3-Dec-00 20:30
suss3-Dec-00 20:30 
GeneralRight Click in Tree Control Pin
Larry Antram30-Nov-00 0:55
Larry Antram30-Nov-00 0:55 
GeneralRe: Right Click in Tree Control Pin
NormDroid30-Nov-00 2:38
professionalNormDroid30-Nov-00 2:38 
GeneralTCP/UDP Packets (2 easy questions) Pin
Dan Madden29-Nov-00 23:36
Dan Madden29-Nov-00 23:36 
GeneralRe: TCP/UDP Packets (2 easy questions) Pin
Tim Deveaux2-Dec-00 4:41
Tim Deveaux2-Dec-00 4:41 
GeneralRe: TCP/UDP Packets (2 easy questions) Pin
Dan Madden3-Dec-00 21:00
Dan Madden3-Dec-00 21:00 
GeneralMouse capture Pin
29-Nov-00 18:58
suss29-Nov-00 18:58 

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.