CarbonLib - I get in problem the pbsoimporter generate an error msg 'Cant Open File and the hang....
Dylibs -
Here is an testDylib
Code: Select all
#include "SampleDylib.h"
#include <string.h>
int addFunction( int a, int b ) {
return a + b;
}
int stringLength( char *str ) {
return strlen(str);
}
two functions that return an integer
How do i assign the returned value to myValue??
Code: Select all
If OpenLibrary(0, "test.dynlib")
FunctionPointer = IsFunction(0, "MyFunc")
If FunctionPointer
CallFunctionFast(FunctionPointer, Arg1, Arg2)
EndIf
EndIf
More next day, thanks.. time for sleep...
Regards,
SEO