[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Using Vc++ dll in VB 6.0 application

Asked by himanath in Visual Studio, Visual Basic Programming, C++ Programming Language

Tags: Error 49 Bad dll convection

Below is the code how i declared function for vc++ dll

Private Declare Function rlm_init Lib "Car.dll" _
     (ByRef lfPath As String, _
      ByRef progPath As String, ByRef licString As String) As Long

Below is the code in  header file

extern struct cart_handle *      cart_init(const char *, const char *,
                                                const char *);
below is th code how i was calling the function

Dim handle As Long
Sub Main()
handle = rlm_init(".", "E:\BobCostLicense.lic", "")
.....
.....

End Sub

I was recieving Bad dll convection error 49
[+][-]11/06/09 07:28 AM, ID: 25759903Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 09:22 AM, ID: 25761066Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 09:41 AM, ID: 25761202Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 09:50 AM, ID: 25761288Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 12:45 PM, ID: 25762879Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 01:05 AM, ID: 25774331Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625