| Summary: | [OLE] SWT OLE causes MS Project to crash in 3.3 M6 | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Girish Betadpur <betadpur> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Felipe Heidrich <eclipse.felipe> |
| Severity: | normal | ||
| Priority: | P3 | CC: | snorthov |
| Version: | 3.3 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
I don't have MS Project to try to reproduce the problem. However, can you try removing the line oleCSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE); in your code and run it again to see if it works? (In reply to comment #1) > I don't have MS Project to try to reproduce the problem. However, can you try > removing the line > > oleCSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE); > > in your code and run it again to see if it works? > Duong, I still get the same crash even without the doVerb line. BTW, there is a time-limited trial download of MS Project, if it helps. -Girish Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info. This is a one-off bulk update. (The last one in the triage migration). Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process: https://wiki.eclipse.org/SWT/Devel/Triage See Bug 518478 for details. Tag for notification/mail filters: @TriageBulkUpdate This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Build ID: I20070323-1616 Steps To Reproduce: The below piece of code works fine in Eclipse 3.2 (Version: 3.2.0, Build ID: M20060629-1905) but causes MS Project to crash in 3.3M6. public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setSize(600, 400); shell.setLayout(new FillLayout()); OleFrame oleFrame = new OleFrame(shell, SWT.NONE); OleClientSite oleCSite = new OleClientSite(oleFrame, SWT.NONE, "MSProject.Project"); oleCSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } oleCSite.dispose(); display.dispose(); } The MS Projech crash window appears (i.e., the one which offers to send a report to MS) on shell.open() in the above code. Loading a word document or excel sheet works fine (via ProgIDs "Word.Document" or "Excel.Sheet") More information: The MS Project version used for testing is "MS Project 2007"