How to handle system.EntryPointNotFoundException

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GayatriS
    New Member
    • Aug 2007
    • 3

    #1

    How to handle system.EntryPointNotFoundException

    Hi.

    I am new to this domain.
    I have created a dll in VC++.
    But while calling that dll from my VB script,I am getting system.EntryPoi ntNotFoundExcep tion (Unable to find an entry point named 'add' in DLL 'testCalc.dll'. ).I have used def file to export the function also.So I dont know where I m going wrong.

    Any help would be highly appreciate.

    Gayatri.
  • JonJacobs
    New Member
    • Aug 2007
    • 22

    #2
    VC++ does name-mangling, uh I mean decorating, for exported routines. Perhaps you need the "decorated" name rather than just plain "add" for your entry point.

    Comment

    Working...