Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling COM Components...

Status
Not open for further replies.

Vallurupa

Programmer
Oct 17, 2001
38
US
Hi

please tell me how to call other COM components in VC++ while the dll would be a exteneded stored procedure.

ven
 
I don't believe that is correct. Extended stored procedures execute in the database engine not in your application. To verify this go to the SQL Server forum.

Therefore to execute any stored procedure you utilize one of the database connection techniques like OLEDB, ADO, ODBC etc.

Good luck
-pete
 
You cant call a Stored Procedure DLL directly. Either use SQL-Server API to interact with your SQL-Server, or make a connection like palbano said, with ODBC or anything else and send a Query like "EXEC xp_anything".

Greetings
Remo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top