Results 1 to 8 of 8

Thread: bad dll calling convention

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2001
    Posts
    54

    Question 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
  •  



Click Here to Expand Forum to Full Width