NewsArchive
02-21-2005, 05:38 AM
[Tuesday, February 15, 2005 8:10 PM]
I thought I'd mention this in case it can save someone else a couple of hours
of frustration. The short version of this is if you're calling into a DLL
that itself makes other external DLL calls, Load DLL may be required for
those externals.
In testing a Clarion DLL for use in SB5 I found a called function was failing
silently. As best as I could tell it wasn't actually being called at all.
This DLL has dependencies in two other C++ DLLs. After a couple of hours of
fooling with this it dawned on me that those C++ DLLs were apparently not
being loaded. Two Load DLL calls in the SB5 script was all that was needed.
--
Best regards,
Mark
I thought I'd mention this in case it can save someone else a couple of hours
of frustration. The short version of this is if you're calling into a DLL
that itself makes other external DLL calls, Load DLL may be required for
those externals.
In testing a Clarion DLL for use in SB5 I found a called function was failing
silently. As best as I could tell it wasn't actually being called at all.
This DLL has dependencies in two other C++ DLLs. After a couple of hours of
fooling with this it dawned on me that those C++ DLLs were apparently not
being loaded. Two Load DLL calls in the SB5 script was all that was needed.
--
Best regards,
Mark