Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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