CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2009
    Posts
    19

    Question Dll without documenation

    I have a dll without documents included. I always get errors although the function is called fine and it does what it was implemented to do.

    "Access viation error. This is likely because of your declaration which is different from the calling convention implemented"

    SOMEBODY can help me ?

    Thanks
    Last edited by Sonye; September 23rd, 2009 at 08:05 PM.

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: Dll without documenation

    It looks like you may be using the wrong calling convention. Without docs, you'll have to use trial and error to get it to work:

    http://blogs.msdn.com/dsvc/archive/2...-mismatch.aspx
    http://social.msdn.microsoft.com/For...-11c7ee748868/
    ...

    Viggy

  3. #3
    Join Date
    Mar 2003
    Location
    India {Mumbai};
    Posts
    3,871

    Re: Dll without documenation

    You can use Dependency Walker to find out what the calling convention is, of the exported functions for the DLL.
    My latest article: Explicating the new C++ standard (C++0x)

    Do rate the posts you find useful.

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: Dll without documenation

    Quote Originally Posted by Ajay Vijay View Post
    You can use Dependency Walker to find out what the calling convention is, of the exported functions for the DLL.
    Dang, forgot about that!!!

    Viggy

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

Featured