Click here to Skip to main content
15,896,730 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:44
protectorChristian Graus24-Oct-01 14:44 
QuestionVC++ copy variables data? Pin
Todd Smith24-Oct-01 13:36
Todd Smith24-Oct-01 13:36 
AnswerRe: VC++ copy variables data? Pin
The_Server24-Oct-01 22:35
The_Server24-Oct-01 22:35 
GeneralFormatting Double Pin
AJ12324-Oct-01 12:20
AJ12324-Oct-01 12:20 
GeneralRe: Formatting Double Pin
Christian Graus24-Oct-01 12:28
protectorChristian Graus24-Oct-01 12:28 
Generalwsprintf does not work with doubles Pin
Tomasz Sowinski25-Oct-01 1:14
Tomasz Sowinski25-Oct-01 1:14 
GeneralRe: Formatting Double Pin
Mike Burston24-Oct-01 12:52
Mike Burston24-Oct-01 12:52 
General"STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 11:37
suss24-Oct-01 11:37 
Dear sir,

I met a strange probelm when I am trying to program my first
MFC extended DLl. That is, I need to use STL in my DLL and
I define some date type such as:

typedef CArray<char,char> CStatusArray;
typedef CArray<int,int> CIndexArray;

But When I compile the file, I got

error C2143: syntax error : missing ';' before '<'
error C2143: syntax error : missing ';' before '<'
warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared

I know this is related to the DLL programming itself since the error is not
incurred in my MFC exe project. But I am new to DLL programming. So I am posting this to get your help. Thank you very much and any suggestion is welcome.



Best regards,


Cheng LEI
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 11:47
protectorChristian Graus24-Oct-01 11:47 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 19:28
suss24-Oct-01 19:28 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 19:44
sitebuilderMichael Dunn24-Oct-01 19:44 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 20:23
suss24-Oct-01 20:23 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 20:42
sitebuilderMichael Dunn24-Oct-01 20:42 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Steen Krogsgaard24-Oct-01 20:59
Steen Krogsgaard24-Oct-01 20:59 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 21:25
sitebuilderMichael Dunn24-Oct-01 21:25 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Steen Krogsgaard24-Oct-01 22:16
Steen Krogsgaard24-Oct-01 22:16 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 14:40
sitebuilderMichael Dunn24-Oct-01 14:40 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 14:42
protectorChristian Graus24-Oct-01 14:42 
GeneralRepositioning a toolbar Pin
Walter Pak24-Oct-01 11:19
Walter Pak24-Oct-01 11:19 
GeneralRe: Repositioning a toolbar Pin
Christian Graus24-Oct-01 18:40
protectorChristian Graus24-Oct-01 18:40 
GeneralDatabase question Pin
Peter Molnar24-Oct-01 10:45
Peter Molnar24-Oct-01 10:45 
GeneralRe: Database question Pin
Michael P Butler24-Oct-01 11:21
Michael P Butler24-Oct-01 11:21 
GeneralRe: Database question Pin
Simon Walton24-Oct-01 11:28
Simon Walton24-Oct-01 11:28 
GeneralRe: Database question Pin
Michael P Butler24-Oct-01 11:38
Michael P Butler24-Oct-01 11:38 
GeneralRe: Database question Pin
Carlos Antollini24-Oct-01 11:49
Carlos Antollini24-Oct-01 11:49 

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.