I updated my MSVC-compiler to the newest version (latest patch for 6.0 that is - never saw the need to upgrade any further - created in 1998 and stil going strong
) which I forgot on my latest machine - and the bug disappeared (for now...).
But the new example is a very good idea, the info how to combine it all to call a DLL from script was all present in the SDK and forum, but it was very hard to piece together when I started my first DLL.
Might I suggest one tiny change for the example: rename the stringid used internally to the DLL to something other than the functionname? There is no technical link between them, and the way the exportedFunction script-function-pointer turns up as a string in callExported is already confusing enough without suggesting any relation to the string used for the callPlugin() to SJ_PLUGIN_CALL-param1 communication.
Thanks,
SilverEagleStatistics: Posted by SilverEagle — 7. Mar 09, 00:30
]]>