2006-04-27, 19:33
ok here is what i have done - all files reside in the "xbmc/xbmc/xbmc/cores/dllloader/exports" directory:
emu_kernel32.cpp - appended:
now a friend of mine build the xbmc using the "xbmcdbr" (xbmc download, build, and rar script 1.1. this does nothing really fancy besides calling
(a) i can't find the "encodepointer" in the resulting default.xbe with a hexeditor (windows) and strings+grep (unix).
(b) the "xbmc.log" contains:
what's wrong?
thanks alot, patrick / ravemax
emu_kernel32.cpp - appended:
Quote:extern "c" pvoid winapi dllencodepointer(pvoid ptr)emu_kernel32.h - inserted before the last "#endif":
{
// do something
}
Quote:extern "c" pvoid winapi dllencodepointer(pvoid ptr);exports_kernel32.cpp - inserted before the last, closing "}"
Quote:g_dlls.kernel32.addexport("encodepointer", (unsigned long)dllencodepointer);kernel32.def - appended:
Quote:encodepointer
now a friend of mine build the xbmc using the "xbmcdbr" (xbmc download, build, and rar script 1.1. this does nothing really fancy besides calling
Quote:"%net%"/out "%home%\finished builds\logs\vs2003_log.txt" /rebuild release "xbmc.sln"but it seems that i miss something because
(a) i can't find the "encodepointer" in the resulting default.xbe with a hexeditor (windows) and strings+grep (unix).
(b) the "xbmc.log" contains:
Quote: warning unable to resolve: kernel32.dll encodepointer
what's wrong?
thanks alot, patrick / ravemax