HP OpenVMS Systemsask the wizard |
The Question is: The header file nfbdef.h is found when using C compiler (CC foo.c libraries) but not found, neither in SYS$LIB_C.TLB nor in SYS$STARLET_C.TLB, when using C++ compiler (CXX foo.c libraries). What would be the best way to deal with this problem while moving from C to C++??? The Answer is : The nfbdef module exists in sys$share:sys$lib_c.tlb. DEFINE CXX$TEXT_LIBRARY SYS$LIBRARY:SYS$LIB_C.TLB would be one approach. Please see the compiler documentation for complete instructions: http://www.openvms.compaq.com/commercial/ Specifically, please see the file include syntax and options for C++ for further details: http://www.openvms.compaq.com/commercial/ cplus/alpha_doc/ugvimpl.htm#file_incl_sec
|