CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Delaware, USA
    Posts
    12

    DLL returns value to VB, causes exception

    I have written an MFC DLL with a function which returns an integer. A coworker is calling the function from a Visual Basic program. When my code returns the integer, it causes an exception 10H. I originally thought it was a problem with the size of the return types, but they're the same size. Any ideas?

    Kevin Kelly



  2. #2
    Join Date
    Apr 1999
    Location
    Alabama, USA
    Posts
    261

    Re: DLL returns value to VB, causes exception

    Are you certain that the VB code's Declare statement for your DLL is correct ?




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