All functions must be declared externally in your load module so that SAS can find them. For most platforms, external declaration is the default behavior for the compiler. However, many C compilers do not export function names by default. The following examples show how to declare your functions for external loading for most PC compilers:
_declspec(dllexport) int myfunc(int, double); _declspec(dllexport) int price2(int a, double foo);
Hi Matt, Thanks for the reply but that kinda gets at the heart of my question. Exporting functions in C# is all handled by the .net framework, You declare a function public in the dll and the framework takes care of the linking. It appears that jmp can only link into non-managed dlls (ie ones written in c/c++) That was my hunch but since I'm new to it I was hoping someone could confirm that was the case.