It seems that HAVE_SSIZE_T isn't set to 1. This should be defined in your setup.h. When it isn't set/defined, please take a look at the config.log (when you ./configure'd the sources) why ssize_t wasn't detected.
Regards,
Mark
Search found 93 matches
- Wed May 04, 2005 12:38 am
- Forum: Platform Related Issues
- Topic: Issue linking against wxWidgets 2.6.0 on Mac OS X 10.4
- Replies: 1
- Views: 1557
- Tue May 03, 2005 10:30 pm
- Forum: General Development
- Topic: wxInputStream and SeekI function
- Replies: 4
- Views: 1715
AFAIK seeking and querying the input stream size aren't supported for i-net streams (http and ftp). I think the problem with seeking is that it works in a different way. When using SeekI, the file has to be open already. But when you query data using http or ftp, you have to specify the read positio...
- Sun Apr 17, 2005 8:55 pm
- Forum: C++ Development
- Topic: wxPrintout Help plz
- Replies: 4
- Views: 1584
The usage of wxPrintout is very similar to the event handler classes used in Java. You must derive your own class from wxPrintout and you should implement the following functions: virtual bool HasPage(int page); virtual bool OnPrintPage(int page) = 0; When your data to be printed should be splitted ...
- Sun Apr 17, 2005 8:35 pm
- Forum: Announcements and Discoveries
- Topic: new development snapshot of wxFormBuilder
- Replies: 2
- Views: 1612
Sorry, I cannot install it. I always get the following message: This installer you are trying to use is corrupted or incomplete. This could be the result of a damaged disk, a failed download or a virus. You may want to contact the author of this installer to obtain a new copy. It may be possible to ...
- Sun Apr 17, 2005 8:28 pm
- Forum: C++ Development
- Topic: wxStream problems
- Replies: 2
- Views: 1162
When you just want to test if a file could be opened, then you should try the following:
Regards,
Mark
Code: Select all
wxFileInputStream InputFile(_T("FileName.Ext"));
if (!InputFile.Ok())
wxLogFatalError(_("Failed to open file"));
Mark
- Fri Apr 15, 2005 5:06 pm
- Forum: C++ Development
- Topic: wxLongLong_t from string
- Replies: 7
- Views: 2218
- Fri Apr 15, 2005 4:56 pm
- Forum: C++ Development
- Topic: wxLongLong_t from string
- Replies: 7
- Views: 2218
- Fri Apr 15, 2005 3:31 pm
- Forum: C++ Development
- Topic: wxLongLong_t from string
- Replies: 7
- Views: 2218
- Fri Apr 15, 2005 3:04 pm
- Forum: C++ Development
- Topic: wxLongLong_t from string
- Replies: 7
- Views: 2218
wxLongLong_t from string
Hi,
I'd like to get a wxLongLong_t from a string but I was unable to find a suitable function for it. Maybe I overlooked something? Is it possible to use wxSscanf? What's the format specifier for wxSscanf?
Regards,
Mark
I'd like to get a wxLongLong_t from a string but I was unable to find a suitable function for it. Maybe I overlooked something? Is it possible to use wxSscanf? What's the format specifier for wxSscanf?
Regards,
Mark
- Fri Apr 15, 2005 9:30 am
- Forum: C++ Development
- Topic: wxStaticText on Win32 word wrapping question
- Replies: 2
- Views: 1075
- Wed Apr 13, 2005 10:45 pm
- Forum: C++ Development
- Topic: wxDb
- Replies: 3
- Views: 1445
I assume that the ODBC driver isn't compliant with wxWidgets. It tests for several ODBC features and when the driver doesn't support them correctly, it'll fail. A well-known example is the MyODBC driver which only works well since version 3.51.11 - previous versions had a bug that prevented the usag...
- Tue Apr 12, 2005 3:38 pm
- Forum: C++ Development
- Topic: Problem with reading file from FTP
- Replies: 2
- Views: 1133
Re: Problem with reading file from FTP
[quote="zogi"]
Code: Select all
wxInputStream *in = ftp.GetInputStream( file );
// Pr
- Tue Apr 12, 2005 12:08 am
- Forum: General Development
- Topic: uses for wxthread
- Replies: 6
- Views: 2099
- Tue Apr 12, 2005 12:02 am
- Forum: C++ Development
- Topic: What is the Memory Mapped File Class?
- Replies: 9
- Views: 2824
- Sun Apr 10, 2005 10:54 pm
- Forum: C++ Development
- Topic: Locale again
- Replies: 3
- Views: 1396
Re: Locale again
Anyone knows how use *.po / *.mo files to compile a static binary? Just using wxLocale and the _("") Makro doesn't work for static Builds. I need static versions in different languages, so one can copy just the executable (and no *.mo files) on CD, and use it on different Hosts (even on H...