Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: pthread_create Pin
Priyank Bolia13-May-05 1:44
Priyank Bolia13-May-05 1:44 
GeneralRe: pthread_create Pin
Tuscon13-May-05 1:51
Tuscon13-May-05 1:51 
GeneralRe: pthread_create Pin
Priyank Bolia13-May-05 2:24
Priyank Bolia13-May-05 2:24 
GeneralRe: pthread_create Pin
David Crow13-May-05 2:11
David Crow13-May-05 2:11 
GeneralRe: pthread_create Pin
Bob Stanneveld13-May-05 4:00
Bob Stanneveld13-May-05 4:00 
GeneralDirectX - DrawIndexedPrimitive Pin
Marekh13-May-05 0:57
Marekh13-May-05 0:57 
GeneralDLL memory issue Pin
Andrew Hoole13-May-05 0:48
Andrew Hoole13-May-05 0:48 
GeneralRe: DLL memory issue Pin
lynchspawn13-May-05 1:54
lynchspawn13-May-05 1:54 
Ah - I see what happened now.

I ran into the same problem years ago. I wasn't intentionally using different headers but by mistake ended up doing something very similar.

I'm sure someone else can give you a more detailed explanation of this but the short story is that the address of your ID is off into a bogus area due to the multiple header files.

I think if you really need to be able to do this, you need to setup some dummy variables so that both of the headers represent a class with the same layout/size. I'm still not sure if it is going to work in that case but I do know from experience that using multiple headers holding different variables will cause big problems. Sorry I can't give more/better info.
GeneralRe: DLL memory issue Pin
Andrew Hoole13-May-05 2:39
Andrew Hoole13-May-05 2:39 
GeneralRe: DLL memory issue Pin
Andrew Hoole13-May-05 2:54
Andrew Hoole13-May-05 2:54 
GeneralRe: DLL memory issue Pin
Blake Miller13-May-05 4:03
Blake Miller13-May-05 4:03 
GeneralRe: DLL memory issue Pin
Andrew Hoole13-May-05 5:04
Andrew Hoole13-May-05 5:04 
GeneralRe: DLL memory issue Pin
Blake Miller13-May-05 6:05
Blake Miller13-May-05 6:05 
Generalbyte to hex string Pin
richiemac12-May-05 23:50
richiemac12-May-05 23:50 
GeneralRe: byte to hex string Pin
toxcct12-May-05 23:54
toxcct12-May-05 23:54 
GeneralRe: byte to hex string Pin
richiemac13-May-05 0:13
richiemac13-May-05 0:13 
GeneralRe: byte to hex string Pin
toxcct13-May-05 0:51
toxcct13-May-05 0:51 
GeneralRe: byte to hex string Pin
richiemac13-May-05 1:37
richiemac13-May-05 1:37 
GeneralRe: byte to hex string Pin
David Crow13-May-05 2:15
David Crow13-May-05 2:15 
GeneralRe: byte to hex string Pin
toxcct13-May-05 2:20
toxcct13-May-05 2:20 
GeneralRe: byte to hex string Pin
itkid13-May-05 1:47
itkid13-May-05 1:47 
GeneralRe: byte to hex string Pin
David Crow13-May-05 2:19
David Crow13-May-05 2:19 
GeneralRe: byte to hex string Pin
richiemac13-May-05 3:18
richiemac13-May-05 3:18 
GeneralRe: byte to hex string Pin
David Crow13-May-05 3:26
David Crow13-May-05 3:26 
GeneralRe: byte to hex string Pin
richiemac13-May-05 4:02
richiemac13-May-05 4:02 

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.