|
-
Sep 4th, 2002, 09:30 AM
#1
Thread Starter
Junior Member
vb6.exe Application Error !? Origin ?
Hello,
I have designed a VB program that calls a C DLL.
Each time I call a function from the DLL, VB crashes with the following error:
vb6.exe Apllication Error
The instruction at "0x0FB3191D" referenced at "0x00000000".
The memory could not be read.
What could be the origin of this error and what's the solution ?
Thanks in advance.
she
-
Sep 4th, 2002, 09:41 AM
#2
Frenzied Member
Depends on how you declared them functions.
You can't reference a C dll into your vb app.
The functions must be declared in the general declerations section and used with the correct params.
The names of the C dll can contain unrecognized words.
ie underscores at the beginning cannot in vb then you have to use an alias
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Sep 4th, 2002, 09:46 AM
#3
Thread Starter
Junior Member
Originally posted by swatty
Depends on how you declared them functions.
You can't reference a C dll into your vb app.
The functions must be declared in the general declerations section and used with the correct params.
The names of the C dll can contain unrecognized words.
ie underscores at the beginning cannot in vb then you have to use an alias
Thank you for your advices.
I have already checked this. Nothing is wrong.
I really don't know the origin of the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|