Click here to Skip to main content
15,908,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionNeed help to make pop3 server Pin
dmid19-Apr-07 3:51
dmid19-Apr-07 3:51 
AnswerRe: Need help to make pop3 server Pin
Dave Kreskowiak19-Apr-07 4:54
mveDave Kreskowiak19-Apr-07 4:54 
Questionkeydown Pin
eagertolearn19-Apr-07 3:29
eagertolearn19-Apr-07 3:29 
AnswerRe: keydown Pin
Dave Kreskowiak19-Apr-07 3:39
mveDave Kreskowiak19-Apr-07 3:39 
GeneralRe: keydown Pin
eagertolearn19-Apr-07 4:28
eagertolearn19-Apr-07 4:28 
GeneralRe: keydown Pin
Dave Kreskowiak19-Apr-07 4:32
mveDave Kreskowiak19-Apr-07 4:32 
GeneralRe: keydown Pin
eagertolearn19-Apr-07 5:26
eagertolearn19-Apr-07 5:26 
QuestionCalling Dll C++ functions from Visual Basic 6 Pin
Kiske19-Apr-07 3:00
Kiske19-Apr-07 3:00 
I want to call functions of a C++ dll but Im having problems. The function in C++ in declared the next way:
__declspec( dllexport )int Initialize(char * in_szStatusLoc);

My code in Basic is:

Private Declare Function Initialize Lib "C:\Archivos de Programa\CallRex\CallrexApi.dll" (ByVal inszStatusLoc As String) As Integer

Private Sub Form_Load()
Dim error As Integer

error = Initialize("192.168.100.130")

End Sub

I alway get an error that says: Run-time error 49, Bad DLL calling convention.

What can be wrong?
AnswerRe: Calling Dll C++ functions from Visual Basic 6 Pin
Dave Kreskowiak19-Apr-07 3:37
mveDave Kreskowiak19-Apr-07 3:37 
GeneralRe: Calling Dll C++ functions from Visual Basic 6 Pin
Kiske19-Apr-07 3:54
Kiske19-Apr-07 3:54 
GeneralRe: Calling Dll C++ functions from Visual Basic 6 Pin
Dave Kreskowiak19-Apr-07 4:41
mveDave Kreskowiak19-Apr-07 4:41 
QuestionGraphics in VB Pin
Kumaran21cen19-Apr-07 2:46
Kumaran21cen19-Apr-07 2:46 
AnswerRe: Graphics in VB Pin
Dave Kreskowiak19-Apr-07 4:43
mveDave Kreskowiak19-Apr-07 4:43 
Questionstill cant do it(add to database) Pin
peteyshrew19-Apr-07 2:22
peteyshrew19-Apr-07 2:22 
AnswerRe: still cant do it(add to database) Pin
peteyshrew19-Apr-07 2:32
peteyshrew19-Apr-07 2:32 
GeneralRe: still cant do it(add to database) Pin
Dave Kreskowiak19-Apr-07 3:31
mveDave Kreskowiak19-Apr-07 3:31 
GeneralRe: still cant do it(add to database) Pin
Psycho-*Coder*-Extreme22-Apr-07 8:36
Psycho-*Coder*-Extreme22-Apr-07 8:36 
AnswerRe: still cant do it(add to database) Pin
klaydze19-Apr-07 3:19
klaydze19-Apr-07 3:19 
QuestionASP.NET Connection with sql server 2005. Pin
Sujit Mandal19-Apr-07 2:02
Sujit Mandal19-Apr-07 2:02 
AnswerRe: ASP.NET Connection with sql server 2005. Pin
kubben19-Apr-07 2:05
kubben19-Apr-07 2:05 
GeneralRe: ASP.NET Connection with sql server 2005. Pin
Sujit Mandal19-Apr-07 2:16
Sujit Mandal19-Apr-07 2:16 
GeneralRe: ASP.NET Connection with sql server 2005. Pin
kubben19-Apr-07 2:18
kubben19-Apr-07 2:18 
GeneralRe: ASP.NET Connection with sql server 2005. Pin
Sujit Mandal19-Apr-07 2:24
Sujit Mandal19-Apr-07 2:24 
GeneralRe: ASP.NET Connection with sql server 2005. Pin
kubben19-Apr-07 2:31
kubben19-Apr-07 2:31 
GeneralRe: ASP.NET Connection with sql server 2005. Pin
Sujit Mandal19-Apr-07 2:42
Sujit Mandal19-Apr-07 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.