Solved

SQL in VC++ DLL

Posted on 2000-03-20
3
290 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

Industry Leaders: 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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

623 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