PRB: _IID_ISequentialStream Link Error w/OLE DB & Visual C++ 5.0 |
Q166084
When an OLE DB application uses an IID_ISequentialStream interface ID and is compiled under Visual C++ version 5.0, the OLE DB application may get the following error:
oledb.lib : error LNK2005: _IID_ISequentialStream already defined in uuid.lib(objidl_i_guid16.obj)
OLE DB libraries include IID_ISequentialStream definition because IID_ISequentialStream was not defined in the Uuid.lib file shipped with Visual C++ version 4.2. The IID_ISequentialStream definition is now included in the Uuib.lib shipped with Visual C++ version 5.0.
In the project Link setting, specify Oledb.lib or Oledbd.lib before Uuid.lib for the Object/Library modules setting.
Additional query words: viper
Keywords : kbinterop kbprg SSrvProg
Issue type : kbprb
Technology :
|
Last Reviewed: January 31, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |