Solved

SQL in VC++ DLL

Posted on 2000-03-20
3
281 Views
Last Modified: 2010-04-10
I am trying to run a SQL stored procedure in a VC++ DLL.  I can create the DLL, I can create an EXE which does the stored procedure well.  I cannot seem to use the dbinit() function from within my DLL.  It complains of an unresolved external reference "_dbinit".  Due to my inexperience, I believe I'm missing something fairly simple.  klsanders@thegrid.net
0
Comment
Question by:ksanders
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
wardkd earned 50 total points
ID: 2636696
Did you include the dblib library in your link step???
0
 

Author Comment

by:ksanders
ID: 2636900
Thank you wardkd.  I found a .lib file called ntwdblib.lib, included it and the DLL compiled!  I know this is just the beginning for me, but it was very important that I get an answer and a way to proceed FAST.  Thank you very much.  kls
0
 

Author Comment

by:ksanders
ID: 2636909
Thank you very much.  I'm sure you'll be seeing me around here often.  kls
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question