Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Bugzilla Bug 9025 (Was: Windows CE question)

Hi Chris,

Has been out for a while, but I have looked at CVS now and both
FileDialog and Menus are great :-)

Now I would like to discuss Bugzilla Bug 9025, "OLE, StyledText widget
and WinCE". How is written in remarks, the problem why StyledText is not
working is that Clipboard support is calling OLE.

I have made some patches to swtole.c to get StyledText working (or at
least to show up and draw some colored lines) and so I would like to
know if this is the right place (swtole.c) or if OLE should be separated
from Clipboard.

Thanks,

David Podhola


-----Original Message-----
From: platform-swt-dev-admin@xxxxxxxxxxx
[mailto:platform-swt-dev-admin@xxxxxxxxxxx] On Behalf Of
Christophe_Cornu@xxxxxxx
Sent: Tuesday, March 05, 2002 7:37 PM
To: platform-swt-dev@xxxxxxxxxxx
Subject: Re: [platform-swt-dev] Windows CE question


David,

FYI a workaround in FileDialog.open() has now been checked in for HPC.
As well, a flag OS.isHPC has been introduced on the java side.
Thanks for pointing out the source of the problem,

Chris



 

                      "David Podhola"

                      <podhola@xxxxxxxxx>             To:
<platform-swt-dev@xxxxxxxxxxx>                                          
                      Sent by:                        cc:

                      platform-swt-dev-admin@         Subject:
[platform-swt-dev] Windows CE question                                  
                      eclipse.org

 

 

                      02/28/2002 07:52 AM

                      Please respond to

                      platform-swt-dev

 

 




Hello,

I have successfully compiled SWT library (DLL) using Microsoft eMbedded
Visual C++ for MIPS HPC Pro (WCE 2.11) with minor modifications to *.h
and *.c files.

Most examples is running fine, but I have observed some strange
behaviors e.g. in org.eclipse.swt.widgets.FileDialog. Due to
bugs/changes in this version of Windows CE, struct.nFileOffset inside
open() method is returning 0 (instead of expected nonzero number)
resulting in runtime error.

My question is:
Should this be fixed somehow and if, where? In the DLL ( structs.c,
cacheOPENFILENAMEFids() ) or in Java code (FileDialog.java, open() )?
And then using platform specific code ( if (OS.IsWinCE) {...} ) or not?

Thanks.

David
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev






Back to the top