Click here to Skip to main content
15,893,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where can I find guides on VSS? Pin
George229-Nov-02 18:36
George229-Nov-02 18:36 
GeneralRe: Where can I find guides on VSS? Pin
Ravi Bhavnani30-Nov-02 4:39
professionalRavi Bhavnani30-Nov-02 4:39 
GeneralRe: Where can I find guides on VSS? Pin
George230-Nov-02 16:28
George230-Nov-02 16:28 
GeneralWinsock gethostbyaddr problem Pin
Shamoon28-Nov-02 18:26
Shamoon28-Nov-02 18:26 
GeneralRe: Winsock gethostbyaddr problem Pin
Rickard Andersson2029-Nov-02 3:09
Rickard Andersson2029-Nov-02 3:09 
GeneralNeed help in removing element in std::map ! Pin
bahruddina28-Nov-02 15:20
bahruddina28-Nov-02 15:20 
GeneralRe: Need help in removing element in std::map ! Pin
Scott H. Settlemier28-Nov-02 16:27
Scott H. Settlemier28-Nov-02 16:27 
GeneralUnresolved symbol CLSID_SQLOLEDB Pin
paulb28-Nov-02 14:41
paulb28-Nov-02 14:41 
I am trying to connect to an SQL server database using the OLE DB templates but am getting above error when linking. The code causing the error is:

hr = m_srcProduct.OpenWithServiceComponents(CLSID_SQLOLEDB, &initStd, 1);
//(m_srcProduct is a CDataSource object)



I have sqloledb.h included in stdafx.h, it has the declaration for CLSID_SQLOLEDB but it is declared extern which I think may be the problem....


//----------------------------------------------------------------------------
// Provider-specific Class Ids
#ifdef DBINITCONSTANTS
// Provider CLSID {0C7FF16C-38E3-11d0-97AB-00C04FC2AD98}
extern const GUID CLSID_SQLOLEDB ={0xc7ff16cL,0x38e3,0x11d0,{0x97,0xab,0x0,0xc0,0x4f,0xc2,0xad,0x98}};



how to fix?

GeneralChanging a view in an SDI. Pin
VanHlebar28-Nov-02 14:32
VanHlebar28-Nov-02 14:32 
GeneralRe: Changing a view in an SDI. Pin
Anatari28-Nov-02 15:15
Anatari28-Nov-02 15:15 
GeneralRe: Changing a view in an SDI. Pin
VanHlebar29-Nov-02 7:40
VanHlebar29-Nov-02 7:40 
GeneralRe: Changing a view in an SDI. Pin
deffer1-Dec-02 17:50
deffer1-Dec-02 17:50 
GeneralRe: Changing a view in an SDI. Pin
valikac28-Nov-02 17:30
valikac28-Nov-02 17:30 
GeneralOpening a new document Pin
Andrew Bleakley28-Nov-02 12:50
Andrew Bleakley28-Nov-02 12:50 
GeneralRe: Opening a new document Pin
valikac28-Nov-02 17:33
valikac28-Nov-02 17:33 
GeneralRe: Opening a new document Pin
Roger Allen29-Nov-02 2:24
Roger Allen29-Nov-02 2:24 
GeneralRe: Opening a new document Pin
Jamie Hale29-Nov-02 9:04
Jamie Hale29-Nov-02 9:04 
GeneralClassWizard Not Working Properly Pin
Steven M Hunt28-Nov-02 11:29
Steven M Hunt28-Nov-02 11:29 
GeneralRe: ClassWizard Not Working Properly Pin
Anatari28-Nov-02 15:13
Anatari28-Nov-02 15:13 
GeneralFloating CControlbar Question ... Pin
Maximilien28-Nov-02 11:19
Maximilien28-Nov-02 11:19 
GeneralRe: Floating CControlbar Question ... Pin
Maximilien29-Nov-02 3:25
Maximilien29-Nov-02 3:25 
Questionhow to tab to next edit box by pressing 'return (enter key)' Pin
IrishSonic28-Nov-02 11:18
IrishSonic28-Nov-02 11:18 
AnswerRe: how to tab to next edit box by pressing 'return (enter key)' Pin
Chris Losinger28-Nov-02 17:27
professionalChris Losinger28-Nov-02 17:27 
AnswerRe: how to tab to next edit box by pressing 'return (enter key)' Pin
Roger Allen29-Nov-02 4:39
Roger Allen29-Nov-02 4:39 
GeneralLinking Pin
Anthony988728-Nov-02 11:05
Anthony988728-Nov-02 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.