Hi efgee,
It looks okay from here.
Was PureBasic able to load the DLL? LoadLibrary is a direct call to the Kernel.
Charles
Anywhere PE Viewer 0.17
C:\cevp\projects\opcode\OxygenBasic\Examples\UseRTL32\dll_math_o2.dll
Export table
Characteristics=0, TimeDateStamp=1294783729, MajorVersion=0, MinorVersion=0, Name=45104, Base=1, NumberOfFunctions=5, NumberOfNames=5, AddressOfFunctions=45124, AddressOfNames=45160, AddressOfNameOrdinals=45148,
TimeDateStamp:Tue Jan 11 22:08:49 GMT 2011
IsInitialized (Ordinal: 1, Entry Point RVA: 3440h (13,376))
MathAdd (Ordinal: 2, Entry Point RVA: 3470h (13,424))
MathDiv (Ordinal: 3, Entry Point RVA: 34b0h (13,488))
MathMul (Ordinal: 4, Entry Point RVA: 34f0h (13,552))
MathSub (Ordinal: 5, Entry Point RVA: 3530h (13,616))
Generated with Anywhere PE Viewer/APEVPX (http://www.ucware.com/)