Gess ...

xalan-c_1_8.dll != Xalan-C_1_8.dll
try to debug more...

let the dll be in c:\cachesys\bin directory
//Set libdir="<whateverdir> or empty to get @ c:\cachesys\bin"
Set lib2load=$G(libdir,$G(^%SYS("bindir")))
Set lib2load=lib2load_"Xalan-C_1_8.dll"
Write lib2load,!
Set status=$ZF(-4,1,lib2load)

Nuno

Ton Elie wrote:

Nuno,

Tested it! with libdir= ""
result: the same <DYNAMIC LIBRARY LOAD>.
Now line is placed in cconsole.log file:
  07/30-12:28:00:923 ( 2096) Error loading dll
(c:\cachesys\mgr\tondb\xalan-c_1_8.dll) is 126
the dll is in that folder and also in  c:\cachesys\bin.

What does error 126 mean?
greetings Ton

"Nuno Canas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

Ton,

Try this:
Set libdir="<whateverdir> or empty to get @ c:\cachesys\bin"
Set lib2load=$G(libdir,$G(^%SYS("bindir")))
Set lib2load=lib2load_"Xalan-C_1_8.dll"
Set status=$ZF(-4,1,lib2load)
Write status

Nuno


Ton Elie wrote:

Peter,

Thanks! Your suggestion did help me!. De Xalan-C_1_8.dll is not an

ActiveX

type but the Microsoft version of a XSLT Processor: :msxml3.dll is, so I
created via the Activate Wizard wrapper classes.

Still want to know what was wrong with the objectscript code line: "Set
result=$ZF(-4,1,"Xalan-C_1_8")" ?

"Peter Cooper" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


Ton

have you looked at the Activate Wizard

this automatically looks at an Active X dll gets all the publc calls
and makes Cache class wrappers for the thing

Also you might browse around the %XML.SAX classes
there are $zf's there that call out to the SAX parser

peter



On Thu, 29 Jul 2004 17:26:25 +0200, "Ton Elie" <[EMAIL PROTECTED]>
wrote:



I 'am trying to Load a .dll with the following command:

Set result=$ZF(-4,1,"Xalan-C_1_8") or Set result=$ZF(-3,"Xalan-C_1_8").

The


dll is located in the database directory of the namespace where i am

running


the command. (Same as CACHE.DAT is located).
I getting the error :<DYNAMIC LIBRARY LOAD>. In the cconsole.log file

no

errors are logged.(another problem!?)
Has anyone experience with loading/working with external dll's in

Cach�?

I assume the files are in the right place because when I use: Set
result=$ZF(-2,"SimpleTransform.exe") this application is succesfully
executed?

Greeting Ton









Reply via email to