[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::objectbroker_development

Title:ObjectBroker Development - BEA Systems' CORBA
Notice:See note 2 for kit locations; note 4 for training
Moderator:RECV::GUMBELd
Created:Thu Dec 27 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2482
Total number of notes:13057

2450.0. "_CONTEXT problem on WNT alpha" by ULYSSE::CATTOLICO () Fri Mar 07 1997 09:05

    Hi.
    
       With OBB 2.7-11, on WNT 4.0 Alpha, VC++ 4.2,
       I'm having a strange problem.
    
       I am using quickstart. My IDL (one interface, one simple method)
       compiles and works fine on my WNT 4.0 INTEL machine (VC++ 4.2).
       On Alpha, instead, I succesfully generate C (or CXX)
       files, then, just after the first compilation begins,
       I get some warning from the compiler and the following  error:
    
       d:\msdve\include\winnt.h: Error C2011: '_CONTEXT' :
         'struct' type redefinition
    
       nmake: fatal error U1077 ...
    
    This happens also with any of the bank example idl files.
    
    Any hint?
    
    Thanks in advance
    
    Paolo
     
      
T.RTitleUserPersonal
Name
DateLines
2450.1SEND::SLAVINFri Mar 07 1997 11:463
See note 2414 in this notes file. OBB does not support VC++V4.2. It 
supports VC++ V4.0. There are many reported problems with VC++ V4.2. 
They relate to the compiler more than to ObjectBroker.
2450.2REQUE::BOWERPeter Bower, ObjectBrokerSat Mar 08 1997 06:366
    
    What line number in winnt.h ? You could specify the preprocess
    only option to the compiler and then search for _CONTEXT to
    see where it is defined twice.