Cecil
19+ years progress programming and still learning.
OS: Windows 10 64bit
OE: 11.7.1
I'm calling .NET object but I believe the .NET object is then calling another .dll file (MMMReaderHighLevelAPI.dll). I have the offending .dll but where should it go?
So far I have put the offending .ddl in the working directory and C:\windows\system32
What is the order in which it tries to find .dll files?
Here is my code.
OE: 11.7.1
I'm calling .NET object but I believe the .NET object is then calling another .dll file (MMMReaderHighLevelAPI.dll). I have the offending .dll but where should it go?
So far I have put the offending .ddl in the working directory and C:\windows\system32
What is the order in which it tries to find .dll files?
Here is my code.
Code:
USING MMM.Readers.QA.* FROM ASSEMBLY.
USING MMM.Readers.QA.FullPage.* FROM ASSEMBLY.
USING MMM.Readers.QA.Interop.* FROM ASSEMBLY.
DEFINE VARIABLE i AS INTEGER NO-UNDO.
DO ON ERROR UNDO, THROW:
MMM.Readers.FullPage.Reader:EnableLogging(true, 1, -1, "HLBlockingExample.Net.log"). /** <--- fails here!! **/
CATCH e AS Progress.Lang.Error :
DO i = 1 TO e:NumMessages:
MESSAGE e:GetMessage(i)
VIEW-AS ALERT-BOX ERROR TITLE "SCANNER Error".
END.
END CATCH.
END.