#include "cconsolestream.h"
#include "cfilestream.h"
using namespace P6R;
using namespace P6EXAMPLES;
namespace {
{
if(
P6SUCCEEDED(err = cpFileInit->initialize(pszFilepath))) {
}
}
return err;
}
{
}
}
return err;
}
{
NULL, 0 );
NULL, 0 );
NULL, 0 );
{
valueLength = 100;
}
pConsole->
writeStdout(
"example failed [ %1$ ]\n",&args,1,NULL);
}
return err;
}
}
int main(int argc,char *argv[])
{
{
{
err = runDOM( cpConsole, cpDebugStream );
cpConsole->
writeStdout(
"runDOM result: [ %1$ ]\n",&args[0],1,NULL);
cpConsole = NULL;
}
}
else printf("ERROR: Failed to initialize the loader [ %x ]\n", err );
}
else printf( "ERROR: Failed to create CConsoleStream [ %x ]\n", err );
return err;
}