Search found 31 matches
- Mon Oct 21, 2013 6:51 pm
- Forum: Coding Questions
- Topic: OCI Wrapper?
- Replies: 3
- Views: 2338
Re: OCI Wrapper?
As I indicated above, you can actually make OCI connections using OCILib. It is pretty easy to use for basic access and seems to have a lot of power for more advanced functionality... Are you looking for an alternative to OCILib?
- Sun Aug 11, 2013 9:24 am
- Forum: Coding Questions
- Topic: Having some trouble compressing Web Pages
- Replies: 16
- Views: 5533
Re: Having some trouble compressing Web Pages
Apparently, according to the zlib manual if you actually want to use gzip instead of deflate, you should call deflateInit2 with a specific value in the windowBits parameter
#windowBits 15
#GZIP_ENCODING 16
#Z_DEFAULT_COMPRESSION -1
#Z_DEFAULT_STRATEGY 0
#Z_DEFLATED 8
deflateInit2 (strm, #Z ...
#windowBits 15
#GZIP_ENCODING 16
#Z_DEFAULT_COMPRESSION -1
#Z_DEFAULT_STRATEGY 0
#Z_DEFLATED 8
deflateInit2 (strm, #Z ...
- Sat Aug 10, 2013 8:18 pm
- Forum: Coding Questions
- Topic: Having some trouble compressing Web Pages
- Replies: 16
- Views: 5533
Re: Having some trouble compressing Web Pages
I tipically use Apache. The XAMPP package is good for development and testing.
For the project I mentioned, I actually used zlibstat.lib importing the required functions:
Import "ZlibStat.lib"
gzclose(a.l) As "_gzclose@4"
gzopen(a.l,b.l) As "_gzopen@8"
gzread(a.l,b.l,c.l) As "_gzread@12 ...
For the project I mentioned, I actually used zlibstat.lib importing the required functions:
Import "ZlibStat.lib"
gzclose(a.l) As "_gzclose@4"
gzopen(a.l,b.l) As "_gzopen@8"
gzread(a.l,b.l,c.l) As "_gzread@12 ...
- Sat Aug 10, 2013 8:47 am
- Forum: Coding Questions
- Topic: Having some trouble compressing Web Pages
- Replies: 16
- Views: 5533
Re: Having some trouble compressing Web Pages
That's weird. Note that I have a site where I pre-compress the static css and js files in order to reduce the load of the server. To do that, I simply gzip those files and modify the .htaccess to redirect the requests to the css and js files to their css.gz and js.gz counterparts. I can suggest you ...
- Fri Aug 09, 2013 11:44 pm
- Forum: Coding Questions
- Topic: Having some trouble compressing Web Pages
- Replies: 16
- Views: 5533
Re: Having some trouble compressing Web Pages
In one of my projects, I had to do the reverse, that is, to uncompress an gzipped http content. The easiest way I found was to create a temporary file, use the gzread function and delete the temporary file. I imagine that in order to compress the stream you could use the same technique, but using ...
- Fri Aug 09, 2013 5:36 pm
- Forum: Coding Questions
- Topic: OCI Wrapper?
- Replies: 3
- Views: 2338
OCI Wrapper?
I have searched through the forum looking for ways to access Oracle without having a preconfigured ODBC DSN or having to create it on the fly and the alternatives I found are ADO and OCI. OCI seems more efficient and OCILib seems to be the way to go.
Apparently, there seems to be some kind of OCI ...
Apparently, there seems to be some kind of OCI ...
- Mon Feb 04, 2013 12:10 am
- Forum: Coding Questions
- Topic: pipe debugging
- Replies: 2
- Views: 710
Re: pipe debugging
Thank you, Fred. I have managed to connect to the debugger window, but the program stays open waiting for input from stdin, disregarding the way it was actually called (using a pipe).
- Sun Feb 03, 2013 9:51 am
- Forum: Coding Questions
- Topic: pipe debugging
- Replies: 2
- Views: 710
pipe debugging
How can I run the debugger when a program takes its input from a pipe (ReadConsoleData) connected to another program or when a program sends its output to a pipe (WriteConsoleData) also connected to another program?
- Sun Mar 06, 2011 11:58 pm
- Forum: Applications - Feedback and Discussion
- Topic: Maestro: a chess gui (wip)
- Replies: 20
- Views: 8753
Re: Maestro: a chess gui (wip)
The resizing works perfectly, now that I know where to click 
- Sat Mar 05, 2011 7:42 pm
- Forum: Applications - Feedback and Discussion
- Topic: Maestro: a chess gui (wip)
- Replies: 20
- Views: 8753
Re: Maestro: a chess gui (wip)
Although the thread is a little bit old now, I just downloaded the demo an I have a couple of comments:
- I do not see the nice textured background posted in one of the first posts. I see the board with solid colors.
- I am not able to resize the board
I am on Windows XP SP3.
- I do not see the nice textured background posted in one of the first posts. I see the board with solid colors.
- I am not able to resize the board
I am on Windows XP SP3.
- Fri Jan 21, 2011 5:37 pm
- Forum: Tricks 'n' Tips
- Topic: Capturing Text from under your mouse cursor
- Replies: 26
- Views: 15135
Re: Capturing Text from under your mouse cursor
It seems to be workin just replacing
with
and
with
Code: Select all
DrawImage (handcursor,0,0)Code: Select all
DrawIconEx_(hdc, 0,0, handcursor, 0,0,0,0,#DI_NORMAL)Code: Select all
DrawImage (nocursor,0,0)Code: Select all
DrawIconEx_(hdc, 0,0, nocursor, 0,0,0,0,#DI_NORMAL)- Fri Jan 21, 2011 5:19 pm
- Forum: Tricks 'n' Tips
- Topic: Capturing Text from under your mouse cursor
- Replies: 26
- Views: 15135
Re: Capturing Text from under your mouse cursor
I do not know when this stopped working, but I am using PB 4.51 and the hand cursor is not shown on the ImageGadget. Is there any problem with DrawImage (handcursor,0,0) related to a change in the 2D libraries used by PB?
- Fri Apr 24, 2009 10:46 pm
- Forum: PureFORM & JaPBe
- Topic: PurePOP3 library : POP3 functions
- Replies: 336
- Views: 234835
multiline headers
This is a great library!
I just found a little thing: it seems that PurePOP3_HeaderFindNext() removes any preceding blank spaces. I am not sure it is a desired behaviour, since sometimes the header is folded in more than one line and, in order to indicate that, the first char of the line is either ...
I just found a little thing: it seems that PurePOP3_HeaderFindNext() removes any preceding blank spaces. I am not sure it is a desired behaviour, since sometimes the header is folded in more than one line and, in order to indicate that, the first char of the line is either ...
- Mon Dec 08, 2008 12:08 am
- Forum: Announcement
- Topic: COMate - control COM objects via automation - OBSOLETE!
- Replies: 577
- Views: 221949
- Sun Dec 07, 2008 11:54 pm
- Forum: Announcement
- Topic: COMate - control COM objects via automation - OBSOLETE!
- Replies: 577
- Views: 221949
enum with strings
I am having problems with collections of strings. The call to CreateEnumeration works fine, but the first call to GetNextObject seems to fail, since they are actually strings. I can call GetNextVariant OK, but then I do not know what to do with the resulting variant...
Any help?
Any help?