Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCan't catch OnClose() in CSocket Pin
Bash5-Jun-03 19:55
Bash5-Jun-03 19:55 
GeneralCalling function from VB dll in VC++ Pin
modular5-Jun-03 19:35
modular5-Jun-03 19:35 
GeneralRe: Calling function from VB dll in VC++ Pin
Ernesto D.5-Jun-03 22:19
Ernesto D.5-Jun-03 22:19 
GeneralRe: Calling function from VB dll in VC++ Pin
Michael P Butler6-Jun-03 1:59
Michael P Butler6-Jun-03 1:59 
GeneralDisplaying icon along with item in the Clistctrl Pin
Anonymous5-Jun-03 18:24
Anonymous5-Jun-03 18:24 
GeneralRe: Displaying icon along with item in the Clistctrl Pin
Ravi Bhavnani5-Jun-03 18:40
professionalRavi Bhavnani5-Jun-03 18:40 
QuestionCArray of structs? Pin
Dan Savilonis5-Jun-03 18:24
Dan Savilonis5-Jun-03 18:24 
AnswerRe: CArray of structs? Pin
Christian Graus5-Jun-03 18:31
protectorChristian Graus5-Jun-03 18:31 
A struct is just a class with default access of public, so there's no reason for this not to work. CArray does no sorting, so it can't need operator <, therefore the problem is probably with the code that I can't see because you didn't tick 'show this message as is' below. My suspicion is that your CArray can't see the definition of the struct.

CArray is, in any case, crap. You should use std::vector by preference and CArray only if you have a compelling reason to ( I can't imagine what that would be ).


Christian

NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma

Anonymous wrote:
OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window.

I think you are a good candidate for Visual Basic.
- Nemanja Trifunovic
GeneralRe: CArray of structs? Pin
Dan Savilonis5-Jun-03 20:51
Dan Savilonis5-Jun-03 20:51 
GeneralRe: CArray of structs? Pin
Christian Graus5-Jun-03 21:36
protectorChristian Graus5-Jun-03 21:36 
GeneralRe: CArray of structs? Pin
Anonymous6-Jun-03 3:02
Anonymous6-Jun-03 3:02 
GeneralRe: CArray of structs? Pin
Dan Savilonis6-Jun-03 12:00
Dan Savilonis6-Jun-03 12:00 
GeneralRe: CArray of structs? Pin
Anonymous6-Jun-03 3:08
Anonymous6-Jun-03 3:08 
GeneralClistCtrl control Pin
modular5-Jun-03 18:14
modular5-Jun-03 18:14 
GeneralRe: ClistCtrl control Pin
Ravi Bhavnani5-Jun-03 18:37
professionalRavi Bhavnani5-Jun-03 18:37 
GeneralRe: ClistCtrl control Pin
Ernesto D.5-Jun-03 22:47
Ernesto D.5-Jun-03 22:47 
QuestionHow to realize a Sequential-Verify test on floppy disk Pin
FlyingDancer5-Jun-03 17:33
FlyingDancer5-Jun-03 17:33 
QuestionHow to Display special document Pin
storein5-Jun-03 16:30
storein5-Jun-03 16:30 
AnswerRe: How to Display special document Pin
Roger Allen6-Jun-03 10:39
Roger Allen6-Jun-03 10:39 
GeneralRe: How to Display special document Pin
storein8-Jun-03 14:56
storein8-Jun-03 14:56 
GeneralAbout ActiveX Control Pin
wzw5-Jun-03 15:21
wzw5-Jun-03 15:21 
GeneralAbout Progress Control (MFC) Pin
jcpooh5-Jun-03 15:20
jcpooh5-Jun-03 15:20 
GeneralRe: About Progress Control (MFC) Pin
FlyingDancer5-Jun-03 15:55
FlyingDancer5-Jun-03 15:55 
GeneralRe: About Progress Control (MFC) Pin
jcpooh5-Jun-03 16:00
jcpooh5-Jun-03 16:00 
GeneralRe: About Progress Control (MFC) Pin
FlyingDancer5-Jun-03 16:37
FlyingDancer5-Jun-03 16:37 

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.