Page 1 of 1

Raster XChange

Posted: Fri Nov 17, 2006 8:36 pm
by sten2006
I see the description of Raster-XChange says there is a royalty-free SDK.

I can't find this. Is Image-XChange the same ?


Posted: Mon Nov 20, 2006 9:32 am
by John - Tracker Supp

The Raster-Xchange SDK is currently not listed - but is shortly to be made available - you can download an evaluation from here : and the cost is $699 for Royalty free use.


Posted: Thu Nov 23, 2006 10:12 pm
by sten2006

I downloaded this, but I can't get the VB example to run.

Run-time error '-2147467259 ....
Method 'Printer' of object 'IPrinterFactory' failed.

on statement
Set m_Printer = m_PrinterFactory.Printer("", "")

Posted: Fri Nov 24, 2006 2:25 pm
by John - Tracker Supp

I tried the VB sample and it seems to work without errors - I assume you have tried both the ready compiled exe and recompiled and tried ?

Can I ask please :

1. what windows version you use.
2. does the C++ sample work ok.
3. Are you able to print anything (the test page for instance) manually.


Posted: Sat Nov 25, 2006 3:08 pm
by sten2006

Yes the compiled version has the same error

1) The operating system is Windows XP SP2 Media Center Edition

2) The C++ program"Sample1.exe" gives a runtime error

3) I can print the Test Page or from Word OK (with the Demo logo).

The installation was from RXC_SDK.exe, to the default locations.
No modification has been made the the environment path. No DLLs have been copied or moved.
The VB program and source is located at:
C:\Program Files\Tracker Software\Raster-XChangeSDK\Examples\VB\RasterXChange


Here is the error message from C#:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at RXCCOMLib.PrinterFactoryClass.get_Printer(String pServerName, String pPrinterName)
at RasterXChange.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
Assembly Version:
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Program%20Files/Tracker%20Software/Raster-XChangeSDK/Examples/csharp/RasterXChange/RasterXChange/bin/Release/RasterXChange.exe
Assembly Version:
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/
Assembly Version:
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/
Assembly Version:
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Program%20Files/Tracker%20Software/Raster-XChangeSDK/Examples/csharp/RasterXChange/RasterXChange/bin/Release/Interop.RXCCOMLib.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the section.
The application must also be compiled with debugging

For example:

< jitDebugging="true" />

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Posted: Mon Nov 27, 2006 9:52 am
by John - Tracker Supp

We did find one minor problem in the demo app and have uploaded an update :

I will also ask our project manager for Raster-XChange to take a look at the detailed info provided.

Thanks for your patience.

Posted: Tue Nov 28, 2006 12:46 pm
by John - Tracker Supp
Hi Steve,

We have created a special trace/debug version to try and assist with locating/reproducing the problem you have had and would very much appreciate your help to locate.

Could you please download, install :

then restart your PC

to use and provide the required info :

1: Please download and install debugview from the link below and then run then start the problem demo application

2: Save DebugView's log to a file and then please ZIP and upload.

Hopefully this will provide the desired trace information to allow us to resolve the issue to both our benefit.

Many thanks ! :)