This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Error 0x80040703
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 23, 2009
07:33 AM
Error 0x80040703
I'm trying to use a C# dll function, but I always get this error.
Error Number: 0x80040703
Description: Failed to find DLL function: ClassLibrary2.Test2
I have never done this before so perhaps there is something wrong with my code.
UseDLL function exits with succesffully (with 0).
Thank you for your help.
Error Number: 0x80040703
Description: Failed to find DLL function: ClassLibrary2.Test2
I have never done this before so perhaps there is something wrong with my code.
UseDLL function exits with succesffully (with 0).
prototype BOOL ClassLibrary2.Test2();
prototype TestDLL();
function TestDLL()
STRING sPath, sDllResult;
NUMBER nResult;
BOOL bResult;
begin
sPath=SUPPORTDIR ^ "ClassLibrary2.dll";
MessageBox(sPath, INFORMATION);
nResult=UseDLL(sPath);
NumToStr(sDllResult,nResult);
MessageBox(sDllResult, INFORMATION);
bResult = ClassLibrary2.Test2();
UnUseDLL(sPath);
end;
Thank you for your help.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 23, 2009
03:11 PM
UseDLL only works with native (think C or C++) DLLs. For .NET assemblies, look instead towards DotNetCoCreateObject or Managed Code Custom Actions.