Thread Local Storage (TLS)
From: Max Mayer (mayer_max_at_web.de)
Date: 07/30/04
- Next message: K. S. Huang: "Re: boot loader build error"
- Previous message: Sujith: "Re: What to do with nb0 and nb1 files?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Jul 2004 12:45:16 +0200
Hi,
I get the following DebugBreak when I call TlsSetValue in DllMain at
DLL_PROCESS_ATTACH:
Coredll: DEBUGCHK failed in file ... .TlsAlloc was called successfully
before.
The source-code of the coredll includes the following debug check:
GetCurrentProcessId () == GetOwnerProcess ().
GetCurrentProcessId () != GetOwnerProcess (), when I load my user-DLL
from a stream-interface-driver-dll
so I get the debug failed message. If I load the same DLL from a user
program this message does not occur.
I could not find anything that there are any restrictions using TLS.
Thanks in advance
Max
- Next message: K. S. Huang: "Re: boot loader build error"
- Previous message: Sujith: "Re: What to do with nb0 and nb1 files?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|