Click here to Skip to main content
16,004,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIScriptControl question Pin
Hans Ruck30-Jul-02 22:01
Hans Ruck30-Jul-02 22:01 
Questiong-d dammit... where the hell is this defined??? Pin
Roman Nurik30-Jul-02 21:00
Roman Nurik30-Jul-02 21:00 
AnswerRe: g-d dammit... where the hell is this defined??? Pin
Nish Nishant30-Jul-02 21:08
sitebuilderNish Nishant30-Jul-02 21:08 
GeneralRe: g-d dammit... where the hell is this defined??? Pin
Roman Nurik31-Jul-02 7:13
Roman Nurik31-Jul-02 7:13 
GeneralCArrays of CArrays! Pin
JennyP30-Jul-02 18:17
JennyP30-Jul-02 18:17 
GeneralRe: CArrays of CArrays! Pin
JennyP30-Jul-02 18:22
JennyP30-Jul-02 18:22 
GeneralRe: CArrays of CArrays! Pin
Nish Nishant30-Jul-02 18:44
sitebuilderNish Nishant30-Jul-02 18:44 
GeneralRe: CArrays of CArrays! Pin
Daniel Lohmann30-Jul-02 21:13
Daniel Lohmann30-Jul-02 21:13 
I think, the problem comes from your t_SchDay struct. You need to define a overloaded CopyElements collection-class-helper function or an assignment operator (operator =) for it. If it is not defined, CArray uses it's default implementation of CopyElements, which performs a bitwise copy. And this does not work for the CArray member of your t_SchDay - we are running in the mysterious lands of "undefined behavior" OMG | :OMG:

--

Daniel Lohmann

http://www.losoft.de
GeneralRe: CArrays of CArrays! Pin
Roman Nurik30-Jul-02 18:58
Roman Nurik30-Jul-02 18:58 
GeneralRe: CArrays of CArrays! Pin
Roman Nurik30-Jul-02 19:00
Roman Nurik30-Jul-02 19:00 
GeneralRe: CArrays of CArrays! Pin
JennyP30-Jul-02 20:11
JennyP30-Jul-02 20:11 
GeneralRe: CArrays of CArrays! Pin
Alexandru Savescu30-Jul-02 22:45
Alexandru Savescu30-Jul-02 22:45 
GeneralRe: CArrays of CArrays! Pin
Daniel Lohmann31-Jul-02 2:35
Daniel Lohmann31-Jul-02 2:35 
GeneralRe: CArrays of CArrays! Pin
JennyP31-Jul-02 6:19
JennyP31-Jul-02 6:19 
GeneralRe: CArrays of CArrays! Pin
Roman Nurik31-Jul-02 7:16
Roman Nurik31-Jul-02 7:16 
GeneralPrint Preview - Sanity Check Please Pin
Russell Robinson30-Jul-02 17:34
Russell Robinson30-Jul-02 17:34 
GeneralRe: Print Preview - Sanity Check Please Pin
Chris Losinger30-Jul-02 18:44
professionalChris Losinger30-Jul-02 18:44 
GeneralRe: Print Preview - Sanity Check Please Pin
Roman Nurik30-Jul-02 19:02
Roman Nurik30-Jul-02 19:02 
GeneralMultiple Line Edit Box Pin
Stew30-Jul-02 17:33
Stew30-Jul-02 17:33 
GeneralRe: Multiple Line Edit Box Pin
Chris Losinger30-Jul-02 18:45
professionalChris Losinger30-Jul-02 18:45 
GeneralRe: Multiple Line Edit Box Pin
Stew31-Jul-02 8:11
Stew31-Jul-02 8:11 
GeneralRe: Multiple Line Edit Box Pin
Chris Losinger31-Jul-02 8:15
professionalChris Losinger31-Jul-02 8:15 
GeneralRe: Multiple Line Edit Box Pin
Roman Nurik30-Jul-02 19:03
Roman Nurik30-Jul-02 19:03 
GeneralRe: Multiple Line Edit Box Pin
Rage30-Jul-02 23:05
professionalRage30-Jul-02 23:05 
GeneralRe: Multiple Line Edit Box Pin
Stew31-Jul-02 8:25
Stew31-Jul-02 8:25 

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.