Title: | MS Windows NT Developers |
Notice: | See note 1222 for MS bug reporting info |
Moderator: | TARKIN::LIN EIBER |
Created: | Mon Nov 11 1991 |
Last Modified: | Tue Jun 03 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3247 |
Total number of notes: | 15633 |
I have a partner who is porting their Intel based app to alpha. Dr. Watson kicks in even before their desktop app gets to main(). They are running NT 4.0 and used VC++ 4.0 to build the app. The error messages look something like this: cthreadslotdata::getvaluemember cprocessorlocalobject::getdata() AFX_module_state::AFX_get_app_module_state Does anyone recognize these? Or have any suggestions on how to get rid of them? Thanks. Pat Bryant Software Partners Engineering
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3215.1 | initialization order different on an Alpha? | DECWET::PETERSON | Thu Mar 27 1997 08:46 | 8 | |
I'm guessing that the initialization code is trying to read thread local storage before it is allocated. If that doesn't ring any bells with the partner, have the partner look at his static constructors for any use of thread local storage (which may be declared with __declspec(thread) or allocated using special runtime routines (TlsAlloc, TlsGetValue, ...) | |||||
3215.2 | Had to recompile appmodule.cpp | NNTPD::"[email protected]" | Pat Bryant | Thu May 15 1997 08:37 | 4 |
They are not using thread local storage. They finally got it to work by recompiling appmodule.cpp within the MFC. Any insight as to why they had to compile and link this module explicitly? [Posted by WWW Notes gateway] |