|
-
Jan 17th, 2002, 11:59 PM
#1
Thread Starter
Member
bad dll calling convention
here is C function:
int Dosth (char inflag)
here is calling from VB:
public declare function Dosth lib "**.dll" (byval flag as byte) as long
dim a as byte
dim ret as long
ret=Dosth(a)
when I call Dosth, got "bad dll calling convention"..... is it because the dll itself(it is now a try version dll) or my vb code?
Thanks if you can answer.
Last edited by ejudy; Jan 18th, 2002 at 12:02 AM.
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
|