1.13 release notes updates with more details about redistributable packages.

This commit is contained in:
clay_shooter
2007-10-06 22:06:49 +00:00
parent 0896762db6
commit bd1c33ef40
3 changed files with 63 additions and 10 deletions

View File

@@ -5,13 +5,13 @@
<h3>What's New</h3>
<ul>
<li>
Now compiles with with Visual Studio 2005 (M1).
Binaries compiled with with Visual Studio 2005 in place of VC98.
</li>
<li>
Changed milestone release naming convention from "pre..." to "M..."
</li>
<li>
unittest directory now a JUnit 3.8.1 test repository
The unittest directory now a JUnit 3.8.1 test repository
</li>
</ul>
@@ -83,8 +83,10 @@
</tr>
<tr>
<td width="13%" valign="top">VC++ libraries</td>
<td width="87%" valign="top">Jacob 1.13 is built with VC++ 2005 that creates a dependency on msvcr80.dll.
Users of older systems may have to obtain the dll as from the MS downloads site.</td>
<td width="87%" valign="top">Jacob 1.13 is built using VC++ 2005.
That creates a dependency on the Visual C++ 2005 libraries and msvcr80.dll.
This library is normally installed on XP systems but may have to be manually
installed on older systems. It can be obtained from the MS downloads site.</td>
</tr>
</table>
@@ -94,7 +96,7 @@
<h3>What's New</h3>
<ul>
<li>
<b>Now compiles with with Visual versions later than VC 98</b>
Now compiles with with Visual versions later than VC 98
</li>
</ul>

View File

@@ -55,14 +55,20 @@ should be fixed in some future release, fix method and time not yet determined.
<h2>Microsoft Visual C++ library dependencies.</h2>
Jacob 1.13 is built with VC++ 2005 that creates a dependency on msvcr80.dll.
Windows XP and later seem to already include the necessary components.
NT/2000 and Server/2003 require that you download vcredist_x86.exe
from the microsoft web site.
NT/2000 and Server/2003 require that you download the Visual C redistributable package,
vcredist_x86.exe from the microsoft web site.
Microsoft has a download available that supplies the necessary components.
It is distributed as a redistributable package.
See the following links.
<p>
If you see the following message then you probably don't have the right C++ libraries.
<pre>
http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\apps\...\jacob.dll: This application has fa
iled to start because the application configuration is incorrect. Reinstalling the application may fix this pr
oblem
</pre>
<pre>
<A href="http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en">
Visual C redistributable installer SP1</A>
</pre>
<p>

View File

@@ -0,0 +1,45 @@
package com.jacob.samples.office;
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.ComFailException;
import com.jacob.com.Dispatch;
/**
* Snippet to show Visio print dialog
* <p>
* Sample submitted by fatbuttlarry in SourceForge 1803140
* as part of bug report
* <p>
* Tested with Java 6.0SE and MS Office 2003 ** Note: 1010 = VB's
* visCmdFilePrint constant
*/
public class VisioPrintTest {
/**
* Runs the print ant lets the user say ok or cancel. Note the funky Visio
* behavior if someone hits the cancel button
*
*/
public void testPrintDialog() {
ActiveXComponent oActiveX = new ActiveXComponent("Visio.Application");
Dispatch oDocuments = oActiveX.getProperty("Documents").toDispatch();
// create a blank document
Dispatch.call(oDocuments, "Add", "");
try {
Dispatch.call(oActiveX, "DoCmd", new Integer(1010))
.getInt();
System.out.println("User hit the ok button.");
} catch (ComFailException e) {
System.out.println("User hit the cancel button: " + e);
} finally {
oActiveX.invoke("Quit");
}
return;
}
/** quick main() to test this */
public static void main(String[] args) {
VisioPrintTest testObject = new VisioPrintTest();
testObject.testPrintDialog();
}
}