By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,379 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,379 IT Pros & Developers. It's quick & easy.

DLL -> Database

P: n/a
Is it a good idea to create a DLL API for DB connection + DB query

I guess it's the same for creating it in VC++ static library?

so my DLL will have API in header file like

SQLConnection sql = new SQLConnection();

getProgramForTVChannel ( String Channel, Time TimePeriod ){
// do the query for DB

searchProgram ( String Keyword ){
// do some DB query and return result

.... and other DLL API function for DB query
Mar 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.