Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fstream question Pin
Nick Parker7-May-03 7:44
protectorNick Parker7-May-03 7:44 
GeneralCHeaderCtrl, 2 Problems Pin
schoni7-May-03 7:09
schoni7-May-03 7:09 
GeneralRe: CHeaderCtrl, 2 Problems Pin
David Crow7-May-03 8:01
David Crow7-May-03 8:01 
GeneralCHeaderCtrl Pin
schoni7-May-03 7:08
schoni7-May-03 7:08 
GeneralRe: CHeaderCtrl Pin
Roger Allen8-May-03 1:26
Roger Allen8-May-03 1:26 
GeneralAccessing a Sybase Stored Procedure Pin
Unplugged7-May-03 5:37
Unplugged7-May-03 5:37 
GeneralRe: Accessing a Sybase Stored Procedure Pin
jmkhael7-May-03 6:11
jmkhael7-May-03 6:11 
GeneralRe: Accessing a Sybase Stored Procedure Pin
basementman7-May-03 11:14
basementman7-May-03 11:14 
You need to either use the Sybase CTlib directly or use a higher level abstraction layer, such as ODBC or ADO.

If using ODBC, you need the Sybase ODBC driver installed on the system and configured correctly. Once that is done, you can use SQLExecDirect or SQLPrepare/SQLExecute to invoke the SP. Remember that you either need to change to the appropriate database (using a CTLib function or SQL USE {database} query -OR- embed the database name in the procedure)

sprintf(caSQLBuf,"exec %s.dbo.MyProcedure '%s'", caDBName, caParam1);

SQLExecDirect(caSQLBuf).

Let me know if you need a generic ODBC class library or if you don't want to roll your own.


GeneralSimulating Jave 'package' access modifier in C++ Pin
roel_7-May-03 5:28
roel_7-May-03 5:28 
QuestionWhy have my Classes disappeared? Pin
LittleYellowBird7-May-03 5:10
LittleYellowBird7-May-03 5:10 
AnswerRe: Why have my Classes disappeared? Pin
Carlos Antollini7-May-03 5:14
Carlos Antollini7-May-03 5:14 
GeneralRe: Why have my Classes disappeared? Pin
LittleYellowBird7-May-03 5:36
LittleYellowBird7-May-03 5:36 
AnswerRe: Why have my Classes disappeared? Pin
Hari Krishnan (Noida)7-May-03 5:39
Hari Krishnan (Noida)7-May-03 5:39 
GeneralRe: Why have my Classes disappeared? Pin
LittleYellowBird7-May-03 22:43
LittleYellowBird7-May-03 22:43 
AnswerRe: Why have my Classes disappeared? Pin
David Crow7-May-03 8:04
David Crow7-May-03 8:04 
GeneralRe: Why have my Classes disappeared? Pin
LittleYellowBird7-May-03 22:42
LittleYellowBird7-May-03 22:42 
Questiondynamic creation of buttons and tooltips? Pin
jimNLX7-May-03 5:01
jimNLX7-May-03 5:01 
AnswerRe: dynamic creation of buttons and tooltips? Pin
Hari Krishnan (Noida)7-May-03 5:26
Hari Krishnan (Noida)7-May-03 5:26 
GeneralRe: dynamic creation of buttons and tooltips? Pin
jimNLX7-May-03 5:38
jimNLX7-May-03 5:38 
Generalconvert project file from visual c++.net to visual c++ 6.0 Pin
AhMan7-May-03 4:53
AhMan7-May-03 4:53 
GeneralRe: convert project file from visual c++.net to visual c++ 6.0 Pin
John M. Drescher7-May-03 4:58
John M. Drescher7-May-03 4:58 
GeneralRe: convert project file from visual c++.net to visual c++ 6.0 Pin
Anonymous7-May-03 17:04
Anonymous7-May-03 17:04 
Generalversion and problem with mscomm32 Pin
Dr-Kuulun7-May-03 4:32
Dr-Kuulun7-May-03 4:32 
GeneralRe: version and problem with mscomm32 Pin
David Crow7-May-03 4:38
David Crow7-May-03 4:38 
GeneralRe: version and problem with mscomm32 Pin
Sean Cundiff7-May-03 4:43
Sean Cundiff7-May-03 4:43 

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.