Skip to content

Commit

Permalink
1.13 release notes updates with more details about redistributable pa…
Browse files Browse the repository at this point in the history
…ckages.
  • Loading branch information
clay_shooter committed Oct 6, 2007
1 parent a593a26 commit 3328e58
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 10 deletions.
12 changes: 7 additions & 5 deletions jacob/docs/ReleaseNotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ <h2>JACOB 1.13</h2>
<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>

Expand Down Expand Up @@ -83,8 +83,10 @@ <h3>Tracked Changes</h3>
</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>
Expand All @@ -94,7 +96,7 @@ <h2>JACOB 1.12</h2>
<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>

Expand Down
16 changes: 11 additions & 5 deletions jacob/docs/UsingJacob.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,20 @@ <h2> The Jacob DLL </h2>
<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>
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>
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
<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>
Expand Down
45 changes: 45 additions & 0 deletions jacob/samples/com/jacob/samples/office/VisioPrintTest.java
Original file line number Diff line number Diff line change
@@ -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();
}
}

0 comments on commit 3328e58

Please sign in to comment.