Problem loading library using gSystem->Load() on WinXP

Dear ROOTers

Now, that I could create my library xps.dll I experience the next unexpected problem, I cannot load it!

Here is my situation:
I have a macro containing following function to load my library:

void Init(const char *libxps)
{
   gSystem->Load("libGui");
   gSystem->Load(libxps);
}

The library is located at: "C:\home\Rabbitus\rootcode\xps\xps.dll"
My macro is located at: “E:\ROOT\MS”

Thus, on the MS-DOS console I did: cd /D E:\ROOT\MS
Then I started root and tried to load my library in two different ways:

root [0] .L macro4XPSfat32vc.C
root [1] Init("C:\home\Rabbitus\rootcode\xps\xps.dll")
ootcode does not exist in .;c:\root/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW
S\System32\Wbem;c:\Programme\Microsoft SQL Server\90\Tools\binn\;C:\root\bin;C:\
Programme\Microsoft Visual Studio 9.0\VC\bin;C:\Programme\Microsoft SDKs\Windows
\v6.0A\bin;C:\Programme\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90
.CRT;;;c:\root/lib,
or has wrong file extension (.dll)

root [2] Init("/home/Rabbitus/rootcode/xps/xps.dll")
Error in <TWinNTSystem::DynamicPathName>: /home/Rabbitus/rootcode/xps/xps.dll do
es not exist in .;c:\root/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32
\Wbem;c:\Programme\Microsoft SQL Server\90\Tools\binn\;C:\root\bin;C:\Programme\
Microsoft Visual Studio 9.0\VC\bin;C:\Programme\Microsoft SDKs\Windows\v6.0A\bin
;C:\Programme\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT;;;c:\
root/lib,
or has wrong file extension (.dll)
  1. Can someone tell me how to load a library into root?
  2. Is there a documentation how to use root from WinXP?

Thank you in advance.
Best regards
Christian

P.S.:
I apologize since I have just posted the question on an old topic but decided that it is better to create a new topic, see:
root.cern.ch/phpBB2/viewtopic.php?t=6202

Hi,

I think you meant:Init("C:\\home\\Rabbitus\\rootcode\\xps\\xps.dll");

Cheers,
Philippe

Dear Philippe

Thank you very much, I forgot this, sorry.

Best regards
Christian