Thanks Patrice,
This o2 header is a lightly retouched verion of your c++ header:
'http://www.objreader.com/index.php?topic=322.msg5971#new
'dependencies:
' GDImage64.dll
' Bass.dll
'www.objreader.com/download/demo/OR17.7z
% IN
typedef sys HWND,HMENU
extern lib "ORDLL64.dll"
HWND OR_CreateWindow(IN dword dwExStyle, IN HWND hParent, IN dword dwStyle, IN long x, IN long y, IN long w, IN long h, IN HMENU CtrlID)
long OR_DetectGPU()
wchar* OR_GPUinfo()
wchar* OR_About()
void OR_ViewReset()
long OR_GetAudioVolume()
void OR_SetAudioVolume(IN long nVolume)
void OR_ProcessCommandLine(IN wchar* lpCmdLine)
wchar* OR_Vertices()
wchar* OR_Triangles()
wchar* OR_Indices()
wchar* OR_Meshes()
wchar* OR_Materials()
wchar* OR_ObjSize()
wchar* OR_LoadTime()
wchar* OR_Version()
end extern
and some very basic test code with ORDLL64.dll, GDImage64.dll and Bass.dll in the same folder.
filename "test.exe"
uses RTL64
'uses corewin
uses OR64
wstring cr=chr(13,10)
print OR_version() cr OR_About() cr OR_GPUinfo()