Click here to Skip to main content
15,920,217 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: ATL COM Pin
conman1101-Feb-05 20:27
conman1101-Feb-05 20:27 
GeneralRe: ATL COM Pin
vishalmore7-Feb-05 20:30
vishalmore7-Feb-05 20:30 
GeneralRe: ATL COM Pin
vishalmore8-Feb-05 2:58
vishalmore8-Feb-05 2:58 
GeneralSTL Vector sort, memory corruption Pin
Ron Arnan1-Feb-05 10:50
Ron Arnan1-Feb-05 10:50 
GeneralRe: STL Vector sort, memory corruption Pin
Joaquín M López Muñoz2-Feb-05 2:28
Joaquín M López Muñoz2-Feb-05 2:28 
GeneralRe: STL Vector sort, memory corruption Pin
Ron Arnan2-Feb-05 3:55
Ron Arnan2-Feb-05 3:55 
GeneralRe: STL Vector sort, memory corruption Pin
Jörgen Sigvardsson2-Feb-05 10:57
Jörgen Sigvardsson2-Feb-05 10:57 
GeneralRe: STL Vector sort, memory corruption Pin
Joaquín M López Muñoz2-Feb-05 21:59
Joaquín M López Muñoz2-Feb-05 21:59 
Hi Jörgen,

How can a faulty predicate generate memory corruption? A screwy order would be expected, but memory corruption? I'm baffled.

Well, the problem with the OP's compare predicate is not that is does not induce an order, but rather that it is inconsistent, i.e, there exist elements t1 and t2 such that ItemCompare(t1,t2)==ItemCompare(t2,t1)==true. I guess the sorting algorithm might jump out of bounds when this assumed consistency is breached. Anyway, the sort source code is so complex that it's hard to elucidate what's going on inside.

Best,





Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Want a Boost forum in Code Project? Vote here[^]!
GeneralWTL work around WM_NOTIFY Pin
conman1101-Feb-05 7:03
conman1101-Feb-05 7:03 
GeneralEnvDTE::Document.Open returns null Pin
JabraJabra1-Feb-05 6:12
JabraJabra1-Feb-05 6:12 
Generalget project full name Pin
JabraJabra1-Feb-05 2:49
JabraJabra1-Feb-05 2:49 
GeneralTBN_DROPDOWN : Problems with dropdown button in ATL Pin
tnguyen44431-Jan-05 10:16
tnguyen44431-Jan-05 10:16 
GeneralRe: TBN_DROPDOWN : Problems with dropdown button in ATL Pin
Michael Dunn31-Jan-05 11:14
sitebuilderMichael Dunn31-Jan-05 11:14 
GeneralCstring with ATL Pin
JabraJabra31-Jan-05 4:24
JabraJabra31-Jan-05 4:24 
GeneralRe: Cstring with ATL Pin
Ralph Wetzel31-Jan-05 5:49
Ralph Wetzel31-Jan-05 5:49 
GeneralRe: Cstring with ATL Pin
ThatsAlok31-Jan-05 18:09
ThatsAlok31-Jan-05 18:09 
GeneralRe: Cstring with ATL Pin
conman1101-Feb-05 2:12
conman1101-Feb-05 2:12 
GeneralRe: Cstring with ATL Pin
ThatsAlok1-Feb-05 2:54
ThatsAlok1-Feb-05 2:54 
GeneralRe: Cstring with ATL Pin
JabraJabra31-Jan-05 20:36
JabraJabra31-Jan-05 20:36 
Generalfindresource return null Pin
JabraJabra30-Jan-05 0:57
JabraJabra30-Jan-05 0:57 
GeneralParameter problem Pin
Monty229-Jan-05 22:14
Monty229-Jan-05 22:14 
GeneralRe: Parameter problem Pin
Jörgen Sigvardsson29-Jan-05 22:32
Jörgen Sigvardsson29-Jan-05 22:32 
GeneralRe: Parameter problem Pin
Monty229-Jan-05 22:40
Monty229-Jan-05 22:40 
GeneralFindResourceEx Pin
GanescuC27-Jan-05 23:36
GanescuC27-Jan-05 23:36 
QuestionHow to get the active project in visual studio Pin
JabraJabra26-Jan-05 21:51
JabraJabra26-Jan-05 21:51 

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.