Search found 35 matches

by sigmason
Sat Mar 26, 2011 4:19 pm
Forum: Coding Questions
Topic: Updating my GUI function knowledge...
Replies: 1
Views: 600

Updating my GUI function knowledge...

A great part about PureBASIC is that it's powerful funtionality is always growing.
However, sometimes I find myself using code examples or trying to do something a way that is depricated.

I need to write some more GUI related code, but even the examples in my PureBASIC book appear out of date.

Can ...
by sigmason
Wed Jan 19, 2011 8:41 pm
Forum: Coding Questions
Topic: DD-WRT and PureBasic for Linux?
Replies: 1
Views: 493

DD-WRT and PureBasic for Linux?

Is there any chance it's possible to write code in PureBasic that can be compiled to run on a DD-WRT loaded Linksys router?

Just curious... :lol:
by sigmason
Mon Jan 10, 2011 11:08 pm
Forum: Coding Questions
Topic: CreateNetworkServer? How many clients?
Replies: 0
Views: 727

CreateNetworkServer? How many clients?

I have yet to use these functions, but I'm playing with sending some files around and the way these are documented they confuse me.

If you use the PureBasic CreateNetworkServer command how many clients can connect to that port at one time? Is it actually designed to work like a non-blocking server ...
by sigmason
Sun Oct 31, 2010 12:40 pm
Forum: Coding Questions
Topic: Wrapper for libxl, Apache POI or OpenOffice?
Replies: 9
Views: 3023

Re: Wrapper for libxl, Apache POI or OpenOffice?

OBC on Windows treats an .xls sheet as a database anyhow so there's no distinction to be made on that score.

True the usage is similar but if the back end doesn't exist it doesn't help much.

Outside of Mono, it appears unixODBC doesn't itself have an Excel backend (at least not shown in the ...
by sigmason
Sun Oct 31, 2010 9:41 am
Forum: Coding Questions
Topic: Wrapper for libxl, Apache POI or OpenOffice?
Replies: 9
Views: 3023

Re: Wrapper for libxl, Apache POI or OpenOffice?

I suppose I should add that while you can build an OLE DB link to Excel, this would require Excel to be present. Further it's a problem when you're not on Windows if you think about.

That is not entirely correct - only the relevant OLE-DB providers need to be installed. You can write to existing ...
by sigmason
Sun Oct 31, 2010 9:38 am
Forum: Coding Questions
Topic: Wrapper for libxl, Apache POI or OpenOffice?
Replies: 9
Views: 3023

Re: Wrapper for libxl, Apache POI or OpenOffice?

Why don't you create your spreadsheet and your template BEFORE the fact save a copy of them as the new file and use your app to just enter the data in the correct column/cell/page?

Simple no?

That is exactly what I'm trying to do. I suppose it would be easier if I stuck with the XML formats as ...
by sigmason
Sat Oct 30, 2010 12:33 am
Forum: Coding Questions
Topic: Wrapper for libxl, Apache POI or OpenOffice?
Replies: 9
Views: 3023

Re: Wrapper for libxl, Apache POI or OpenOffice?

I suppose I should add that while you can build an OLE DB link to Excel, this would require Excel to be present. Further it's a problem when you're not on Windows if you think about.
by sigmason
Sat Oct 30, 2010 12:30 am
Forum: Coding Questions
Topic: Wrapper for libxl, Apache POI or OpenOffice?
Replies: 9
Views: 3023

Re: Wrapper for libxl, Apache POI or OpenOffice?

Well, sRod has written a grid gadget for Windows, and he supplies the PB source code with it. Perhaps you can ask sRod if the source is adaptable for Mac and Linux.


I'm aware of this software, in fact I've been in communication with him recently about it.

The problem I have is that I need the ...
by sigmason
Fri Oct 29, 2010 9:35 pm
Forum: Coding Questions
Topic: Wrapper for libxl, Apache POI or OpenOffice?
Replies: 9
Views: 3023

Wrapper for libxl, Apache POI or OpenOffice?

I'm looking to use an Excel spreadsheet as a template and fill it with data.
I don't want to have to have Excel present to pull this off.

I can use the OpenOffice automation bridge on Windows to do this, but frankly, I'd like to be able to make this work in Linux as well and usually in Linux/Mac ...
by sigmason
Mon Oct 12, 2009 9:10 pm
Forum: Coding Questions
Topic: TIFF support for saving images...
Replies: 4
Views: 546

Re: TIFF support for saving images...

Thank you, at this point I guess I have to go external to PureBASIC for the function. That's fine.

There's nothing really wrong with that, I just wanted to confirm it, because I often find functions in older posts that people wanted, needed, or suggested they added support for in 3rd party ...
by sigmason
Mon Oct 12, 2009 8:51 pm
Forum: Coding Questions
Topic: TIFF support for saving images...
Replies: 4
Views: 546

Re: TIFF support for saving images...

With regards to GIF before TIFF...
The question isn't who is on first :wink:.

The question is:
If there isn't built in support for TIFF, which is a mature and complex format:

1. Do I call the libraries that I already have from PureBASIC to get my functionality for a much larger project...
(There ...
by sigmason
Mon Oct 12, 2009 6:03 pm
Forum: Coding Questions
Topic: TIFF support for saving images...
Replies: 4
Views: 546

TIFF support for saving images...

I have the need to save a raster image in a TIFF with the CCITT Group 3 format (black and white).

I see that there is a decoder for the vast number of variations of TIFF to be read in.
However, is there existing support to export TIFF in CCITT Group 3 format (think FAX machine).

Sigmason
by sigmason
Tue Jun 12, 2007 7:08 pm
Forum: Coding Questions
Topic: Cross process (cross platform) passing using memory maps
Replies: 15
Views: 2881

I've tracked down 4 things that operate in a similar manner to what I've described but not in the same way.

ExtremeDB is a C++ oriented (so it seems) database that can be gotten for free (single threaded only) that can in one version operate using shared memory and is compiled for a variety of OS ...
by sigmason
Fri Jun 08, 2007 7:31 pm
Forum: Coding Questions
Topic: Cross process (cross platform) passing using memory maps
Replies: 15
Views: 2881

Building on this (sorry, to those looking for working code right now, I'm kind of thinking out loud in this thread.)

In keeping with the idea of creating a database style place to exchange data in memory between 2 processes (perhaps not even writing in the same language or even compiled) perhaps a ...
by sigmason
Fri Jun 08, 2007 7:03 pm
Forum: Coding Questions
Topic: Cross process (cross platform) passing using memory maps
Replies: 15
Views: 2881

I'm still thinking about the twists of this a few days later and figure I post a few other twists I found to this.

It appears that the way Windows allocates the memory though the virtual memory API means that memory mapped to a file or allocated through it may not, likely by necessity, be mapped to ...