Click here to Skip to main content
15,897,187 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: ATLControls.h? Pin
Michael Dunn7-Sep-04 7:55
sitebuilderMichael Dunn7-Sep-04 7:55 
Generalvery odd IExtractImage::Extract() behaviour Pin
seriema4-Sep-04 11:53
seriema4-Sep-04 11:53 
GeneralIs It a Memory leak Pin
omarjchaudry2-Sep-04 17:37
omarjchaudry2-Sep-04 17:37 
GeneralRe: Is It a Memory leak Pin
Stuart Dootson2-Sep-04 21:31
professionalStuart Dootson2-Sep-04 21:31 
GeneralRe: Is It a Memory leak Pin
Jörgen Sigvardsson3-Sep-04 8:28
Jörgen Sigvardsson3-Sep-04 8:28 
GeneralRe: Is It a Memory leak Pin
Stuart Dootson3-Sep-04 8:44
professionalStuart Dootson3-Sep-04 8:44 
GeneralRe: Is It a Memory leak Pin
Jörgen Sigvardsson3-Sep-04 9:01
Jörgen Sigvardsson3-Sep-04 9:01 
GeneralExport STL from a DLL Pin
Fernando A. Gomez F.1-Sep-04 11:15
Fernando A. Gomez F.1-Sep-04 11:15 
I'm having quite a problem. I have a class that has this attribute: a vector template. Something like the following:
<br />
extern "C" class __declspec(dllexport) AnotherClass { ... };<br />
<br />
extern "C" class __declspec(dllexport) MyClass<br />
{<br />
private:<br />
vector<AnotherClass> m_vecClass;<br />
// etc...<br />
};<br />


When I compile it, I get this warning message:

warning C4251: 'm_vecClass' : class 'std::vector<AnotherClass,class std::allocator<class AnotherClass> >' needs to have dll-interface to be used by clients of class 'MyClass'.

I don't know what to do, though I guess I should do something like
<br />
__declspec(dllexport) vector<AnotherClass> m_vecClass<br />

Still, it is not working.

I hope someone can help me. Thanks a lot.
GeneralRe: Export STL from a DLL Pin
Neville Franks1-Sep-04 12:08
Neville Franks1-Sep-04 12:08 
GeneralOT Pin
Jörgen Sigvardsson1-Sep-04 21:03
Jörgen Sigvardsson1-Sep-04 21:03 
GeneralRe: Yes, it should be extern c Pin
Fernando A. Gomez F.2-Sep-04 5:10
Fernando A. Gomez F.2-Sep-04 5:10 
GeneralRe: OT Pin
Fernando A. Gomez F.2-Sep-04 5:19
Fernando A. Gomez F.2-Sep-04 5:19 
GeneralRe: OT Pin
Jörgen Sigvardsson2-Sep-04 6:01
Jörgen Sigvardsson2-Sep-04 6:01 
GeneralRe: OT Pin
Jim Crafton14-Sep-04 7:35
Jim Crafton14-Sep-04 7:35 
GeneralRe: Export STL from a DLL Pin
Joaquín M López Muñoz1-Sep-04 23:37
Joaquín M López Muñoz1-Sep-04 23:37 
Generalresize ATL activeX control Pin
Hesham Amin1-Sep-04 0:33
Hesham Amin1-Sep-04 0:33 
GeneralRe: resize ATL activeX control Pin
Hesham Amin1-Sep-04 2:42
Hesham Amin1-Sep-04 2:42 
GeneralRe: resize ATL activeX control Pin
Jason De Arte1-Sep-04 5:12
Jason De Arte1-Sep-04 5:12 
GeneralRe: resize ATL activeX control Pin
Hesham Amin1-Sep-04 9:04
Hesham Amin1-Sep-04 9:04 
GeneralRe: resize ATL activeX control Pin
Jason De Arte1-Sep-04 13:21
Jason De Arte1-Sep-04 13:21 
GeneralIE Toolbar multiline Pin
DARK_GARRY30-Aug-04 11:45
DARK_GARRY30-Aug-04 11:45 
Generalvec[0] vs. vec.front() Pin
Johann Gerell29-Aug-04 23:36
Johann Gerell29-Aug-04 23:36 
GeneralRe: vec[0] vs. vec.front() Pin
Joaquín M López Muñoz29-Aug-04 23:54
Joaquín M López Muñoz29-Aug-04 23:54 
QuestionCan SCROLLBAR be superclassed? Pin
retinoscopy26-Aug-04 16:23
retinoscopy26-Aug-04 16:23 
AnswerRe: Can SCROLLBAR be superclassed? Pin
Jörgen Sigvardsson27-Aug-04 11:05
Jörgen Sigvardsson27-Aug-04 11:05 

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.