Click here to Skip to main content
16,011,502 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Way to Prevent memeory leak? Pin
User 58385228-Jun-04 20:43
User 58385228-Jun-04 20:43 
GeneralRe: Way to Prevent memeory leak? Pin
nachilau28-Jun-04 21:09
nachilau28-Jun-04 21:09 
GeneralRe: Way to Prevent memeory leak? Pin
User 58385228-Jun-04 21:34
User 58385228-Jun-04 21:34 
AnswerRe: Way to Prevent memeory leak? Pin
wb28-Jun-04 21:42
wb28-Jun-04 21:42 
GeneralRe: Way to Prevent memeory leak? Pin
nachilau28-Jun-04 21:51
nachilau28-Jun-04 21:51 
GeneralRe: Way to Prevent memeory leak? Pin
wb28-Jun-04 22:05
wb28-Jun-04 22:05 
GeneralSerial Communication in WIN CE Pin
Chinnaa Ganesh Kumar28-Jun-04 20:07
Chinnaa Ganesh Kumar28-Jun-04 20:07 
Generalstd::queue and Managed class Pin
Vadim Tabakman28-Jun-04 19:54
Vadim Tabakman28-Jun-04 19:54 
Hi all,

I'm trying to do the following :

std::queue <MyManagedClass *> m_qSomeName;

but I get the following compile error
...\Vc7\include\deque(59): error C2847: cannot apply sizeof to managed type 'TestApp1::MyManagedClass'

ok.. so I changed MyManagedClass to a non Managed Class, and now I get a different compile error:
...\TestApp1\MyServer.h(29): error C3633: cannot define 'm_qSomeName' as a member of managed 'TestApp1::MyServer'

Now I'm just trying things out, but is it not possible to use the std::queue template class in managed c++? what about other STL classes?

<EDIT>
Before anyone says, why aren't you using .NET queue/list classes. I'm geniunely curious why I am not able to use STL
</EDIT>

Thanx Smile | :)
GeneralRe: std::queue and Managed class Pin
Nemanja Trifunovic29-Jun-04 7:23
Nemanja Trifunovic29-Jun-04 7:23 
GeneralRe: std::queue and Managed class Pin
Vadim Tabakman29-Jun-04 13:36
Vadim Tabakman29-Jun-04 13:36 
GeneralQuestion on prefix and post fix Pin
rohit.dhamija28-Jun-04 19:49
rohit.dhamija28-Jun-04 19:49 
GeneralRe: Question on prefix and post fix Pin
PJ Arends28-Jun-04 19:57
professionalPJ Arends28-Jun-04 19:57 
GeneralRe: Question on prefix and post fix Pin
Ian Darling29-Jun-04 2:57
Ian Darling29-Jun-04 2:57 
GeneralRe: Question on prefix and post fix Pin
Vadim Tabakman28-Jun-04 19:58
Vadim Tabakman28-Jun-04 19:58 
GeneralRe: Question on prefix and post fix Pin
rohit.dhamija28-Jun-04 20:14
rohit.dhamija28-Jun-04 20:14 
GeneralRe: Question on prefix and post fix Pin
Vadim Tabakman28-Jun-04 20:28
Vadim Tabakman28-Jun-04 20:28 
GeneralSOAP 3.0 Question Pin
NeoHobbit28-Jun-04 19:28
NeoHobbit28-Jun-04 19:28 
GeneralZoom In and Zoom Out Pin
aparajita28-Jun-04 19:28
aparajita28-Jun-04 19:28 
GeneralRe: Zoom In and Zoom Out Pin
PJ Arends28-Jun-04 19:59
professionalPJ Arends28-Jun-04 19:59 
GeneralRe: Zoom In and Zoom Out Pin
Vadim Tabakman28-Jun-04 20:03
Vadim Tabakman28-Jun-04 20:03 
GeneralA question to COM gurus Pin
Anonymous28-Jun-04 19:28
Anonymous28-Jun-04 19:28 
QuestionHow to Set a Directory path for PATH environment variable Pin
pubududilena28-Jun-04 19:22
pubududilena28-Jun-04 19:22 
AnswerRe: How to Set a Directory path for PATH environment variable Pin
palbano28-Jun-04 19:30
palbano28-Jun-04 19:30 
GeneralRe: How to Set a Directory path for PATH environment variable Pin
pubududilena28-Jun-04 19:38
pubududilena28-Jun-04 19:38 
AnswerRe: How to Set a Directory path for PATH environment variable Pin
Yogesh Kshatriya29-Jun-04 2:04
Yogesh Kshatriya29-Jun-04 2:04 

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.