Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Creating a Windows DLL with Visual Basic
Subject:   Calling .dll from Delphi app
Date:   2006-05-30 06:14:50
From:   archer1960
This works great for calling the .dll from another VB app, but when I try to call it from a Delphi app, I get "Access violation at address xxxxxx in MSVBVM60.dll". I've verified that all my calling and return parameters are on 4-byte boundaries, but still no luck. Any suggestions of what to look for? I've also tried various return types and values from DllMain, but nothing changes. Logging shows that it never starts executing the actual function I'm trying to call.
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Calling .dll from Delphi app
    2006-05-30 10:10:37  archer1960 [View]

    Some more info: another guy in the office is doing the Delphi piece of this app, and it looks like nothing which requires I/O from the VB .dll is working when running with a Delphi app: I can't write to a log file on disk, nor can I pop up a msgbox. Both of those work when I use the .dll from a VB app.
    • Calling .dll from Delphi app
      2007-02-25 04:25:17  jalal_panah_amand [View]

      please help me about sunject above