Click here to Skip to main content
15,908,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MsgWaitForMultipleObjects Pin
Dave_15-Apr-03 8:23
Dave_15-Apr-03 8:23 
QuestionSetting capacity for STL vector? Pin
Anonymous15-Apr-03 6:57
Anonymous15-Apr-03 6:57 
AnswerRe: Setting capacity for STL vector? Pin
Joaquín M López Muñoz15-Apr-03 7:42
Joaquín M López Muñoz15-Apr-03 7:42 
QuestionSetting capacity for STL vector? Pin
Anonymous15-Apr-03 6:55
Anonymous15-Apr-03 6:55 
AnswerRe: Setting capacity for STL vector? Pin
Rickard Andersson2015-Apr-03 7:03
Rickard Andersson2015-Apr-03 7:03 
GeneralRe: Setting capacity for STL vector? Pin
Anonymous15-Apr-03 7:12
Anonymous15-Apr-03 7:12 
GeneralRe: Setting capacity for STL vector? Pin
Gary Kirkham15-Apr-03 7:35
Gary Kirkham15-Apr-03 7:35 
GeneralSTL in DLL's Pin
Jawache15-Apr-03 6:43
Jawache15-Apr-03 6:43 
I have a DLL class that I am exporting,

// Observer Class
class APA_API CStateObserver
{
...
}

class APA_API CStateMachine
{
public:
void PushObserver(CStateObserver * inpObserver);
private:
std::deque<cstateobserver*> m_dqObservers;
}

APA_API is the define that resolves to the correct __dellspec(lalalalalal) etc...

I get this compiler warning message,
warning C4251: 'm_dqObservers' : class 'std::deque<class cstateobserver="" *,class="" std::allocator<class="" *=""> >' needs to have dll-interface to be used by clients of class 'CStateMac

I have 'Warnings as Errors' set so this warning is a real problem.

What are my options?

Cheers

Asim Hussain
e: asim@jawache.net
w: www.jawache.net
GeneralRe: STL in DLL's Pin
valikac15-Apr-03 6:47
valikac15-Apr-03 6:47 
GeneralRe: STL in DLL's Pin
Jim Crafton15-Apr-03 7:46
Jim Crafton15-Apr-03 7:46 
GeneralCD-ROM Status Pin
pmask15-Apr-03 6:36
pmask15-Apr-03 6:36 
GeneralDLL builds fine in VS 6 but gets a link error in VS.NET Pin
Cathy15-Apr-03 6:28
Cathy15-Apr-03 6:28 
GeneralRe: DLL builds fine in VS 6 but gets a link error in VS.NET Pin
Rick York15-Apr-03 6:45
mveRick York15-Apr-03 6:45 
GeneralRe: DLL builds fine in VS 6 but gets a link error in VS.NET Pin
Cathy21-Apr-03 7:59
Cathy21-Apr-03 7:59 
GeneralRe: DLL builds fine in VS 6 but gets a link error in VS.NET Pin
Jim Crafton15-Apr-03 7:51
Jim Crafton15-Apr-03 7:51 
GeneralRe: DLL builds fine in VS 6 but gets a link error in VS.NET Pin
Cathy21-Apr-03 8:01
Cathy21-Apr-03 8:01 
GeneralCall a Dialod's method from other class Pin
Martin_Viet15-Apr-03 6:08
Martin_Viet15-Apr-03 6:08 
GeneralRe: Call a Dialod's method from other class Pin
Maximilien15-Apr-03 6:19
Maximilien15-Apr-03 6:19 
GeneralRe: Call a Dialod's method from other class :( Pin
Martin_Viet15-Apr-03 6:25
Martin_Viet15-Apr-03 6:25 
GeneralCall a Dialod's method from other class (sameone could help me?) Pin
Martin_Viet16-Apr-03 3:14
Martin_Viet16-Apr-03 3:14 
GeneralRe: Call a Dialod's method from other class (sameone could help me?) Pin
Martin_Viet16-Apr-03 3:52
Martin_Viet16-Apr-03 3:52 
QuestionHow to send message Pin
Zygmunt15-Apr-03 5:40
Zygmunt15-Apr-03 5:40 
AnswerRe: How to send message Pin
valikac15-Apr-03 6:48
valikac15-Apr-03 6:48 
GeneralRe: How to send message Pin
Martin_Viet15-Apr-03 7:03
Martin_Viet15-Apr-03 7:03 
GeneralApp argument :o) Pin
MemLeak15-Apr-03 5:18
MemLeak15-Apr-03 5:18 

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.