Advertisement

05.01.2008 at 02:15AM PDT, ID: 23367955
[x]
Attachment Details

Using a custom DLL in a project

Asked by alan_ITG in Microsoft Visual Basic.Net, Visual Studio 2008

Hi,

I want to develop and use a custon Data DLL for a project. The Data DLL will be functions used to query a database using Linq which I am adding to an existing project.

My questions are:-
1) I am writing functions in the Data DLL to return values to the calling code. These functions are currently set as Public Shared. is this correct?

 I have added the Data DLL project to the existing project and added a reference to the DLL file created by my Data DLL project. I have added an Imports DataDll statement to the module in the calling program and a declare statement for the function I want to use as follows:

'Declare Function lnqGetSysID Lib "lnqCompEngine" (ByVal s As String) As String'

However, when I try to use a function in the Data DLL I get an EntryPointNotFoundException error in the calling program 'Unable to find an entry point named 'lnqGetSysID' in DLL 'lnqCompEngine'.

Can you help in resolving this error? What do I need to do to set up the Data Dll correctly?

regards,


Alan
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.01.2008 at 05:10AM PDT, ID: 21477871

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, Visual Studio 2008
Sign Up Now!
Solution Provided By: DarrenD
Participating Experts: 1
Solution Grade: B
 
 
[+][-]05.01.2008 at 05:11AM PDT, ID: 21477877

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 05:34AM PDT, ID: 21478004

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 06:50AM PDT, ID: 21478522

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 06:56AM PDT, ID: 21478596

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 06:57AM PDT, ID: 21478604

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628