Results 1 to 3 of 3

Thread: Error Number: 0x80040703 Description:Failed to find dll function

  1. #1
    gmartin Guest

    Error Number: 0x80040703 Description:Failed to find dll function

    I have a dll that is written in managed C++. I am trying to call the a few methods but I received an error .
    Error Number: 0x80040703
    Description:Failed to find dll function: SAM.AddProperty

    I am able to load the dll but not call the methods.

    The method that is being called from my c++.NET dll is:
    void AddProperty(String *name, String *value) throw(...);

    Below is my install script:

    prototype SAM.AddProperty(POINTER,POINTER);
    nResult = UseDLL(SUPPORTDIR ^ "SAM.dll");

    STRING sKey;
    STRING sValue;
    POINTER psKey;
    POINTER psValue;
    sKey="Key";
    sValue="Value";

    psKey = &sKey;
    psValue=&sValue;

    AddProperty(psKey, psValue);

    I also tried sending in STRINGS instead of POINTER but that didn't work either.

    prototype SAM.AddProperty(STRING,STRING);
    nResult = UseDLL(SUPPORTDIR ^ "SAM.dll");

    STRING sKey;
    STRING sValue;

    sKey="Key";
    sValue="Value";

    AddProperty(sKey, sValue);

    Are there additional things I need to do in order to call a .NET dll?
    Thanks
    G

  2. #2
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    8

    Did u find any Solution for this?

    Hi,

    Did u find any Solution for this?

    Thanks n Regards
    R.Raju

  3. #3
    Join Date
    May 2007
    Posts
    3

    Did u find a solution?

    I also hav the same problem.
    I wrote my dll in vb.net and I'm using installshield devstudio 9.

    if any body can pls help.
    Ruwan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •