|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XalanTransformToFile can't find files? XalanGetLastErr
All,
I hope someone can help me out with this one.
The ExecTransFormer routine gets a valid handle. If I want to execute
ExecTransformer the result i is always -2 no matter what path I give as
parameters (file not found). The files are in the right directory, I
tried all posibble dirs to put the files in, no succes.
These functions are working just fine:
XalanInitialize(); <== works OK
CreateXalanTransformer(); <== works OK
Is there a problem with the specific platform for the path?
CString xml, xsl, out;
xml = "1.xml";
xsl = "2.xsl";
out = "3.html";
ExecTransForm ExecTransFormer = // <== valid
handle
(ExecTransForm)GetProcAddress(XalanLib, "XalanTransformToFile");
// Xalan Handle from CreateXalanTransformer is valid
int i = ExecTransFormer(xml, xsl, out, Xalan); // <== problem,
returns -2!
typedef char* (*XalanErr) (void);
XalanErr XalanGetLastError =
(XalanErr)GetProcAddress(XalanLib, "XalanGetLastError");
XalanGetLastError(); // <== this one
also crashes (0xC0000005)
I really hope someone can help me out.
Thx!
Mervin.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








