Search found 13 matches
- Mon Sep 05, 2005 7:03 pm
- Forum: Coding Questions
- Topic: mysql with MDB_lib problem
- Replies: 0
- Views: 749
mysql with MDB_lib problem
Hi, I've a huge problem with the MDB_lib: Everything is working fine here when I'm testing on my local programming computer. (XP, XAMP, ODBC drivers installed) On other PCs (also running XP) I got an error the program can't connect although libmysql.dll and odbc32.dll are installed in /system32/ e.g...
- Sat Dec 11, 2004 7:13 pm
- Forum: Tricks 'n' Tips
- Topic: GetURL source code
- Replies: 26
- Views: 15386
- Sat Dec 11, 2004 4:38 pm
- Forum: Tricks 'n' Tips
- Topic: GetURL source code
- Replies: 26
- Views: 15386
- Thu Dec 09, 2004 6:54 pm
- Forum: General Discussion
- Topic: 64k string limit, gone?
- Replies: 4
- Views: 1416
@NelsonN:
Look at this topic viewtopic.php?t=13271
Good news! Time to come back to PureBasic!Has the limit been removed?
Look at this topic viewtopic.php?t=13271
- Thu Dec 09, 2004 12:36 pm
- Forum: Tricks 'n' Tips
- Topic: GetURL source code
- Replies: 26
- Views: 15386
- Thu Dec 02, 2004 6:06 pm
- Forum: Tricks 'n' Tips
- Topic: hack >64k strings is fixed...
- Replies: 2
- Views: 3996
hack >64k strings is fixed...
Code updated For 5.20+ See this topic: http://forums.purebasic.com/english/viewtopic.php?t=9194 After update http://www.purebasic.com/update/ from November 30th, the 64k limit is gone! ReplaceString, RemoveString is working. ; ; Procedure SetStringManipulationBufferSize(Bytes) ; PBStringBase.l = 0 ...
- Wed Jun 02, 2004 8:04 pm
- Forum: Tricks 'n' Tips
- Topic: GetURL source code
- Replies: 26
- Views: 15386
- Fri Apr 16, 2004 12:55 pm
- Forum: Announcement
- Topic: Huge Easter Egg: PureBasic 3.90 just eclosed !
- Replies: 31
- Views: 9501
- Fri Feb 06, 2004 11:00 pm
- Forum: Coding Questions
- Topic: stringgadget wordwrap problem!?
- Replies: 7
- Views: 1828
- Fri Feb 06, 2004 6:07 pm
- Forum: Coding Questions
- Topic: stringgadget wordwrap problem!?
- Replies: 7
- Views: 1828
stringgadget wordwrap problem!?
Hi, following question about a program from purearea.net: If OpenWindow(0,0,0,340,480,#PB_Window_SystemMenu,"") And CreateGadgetList(WindowID(0)) StringGadget(0,8,8,326,466,"Does anybody know how to set this stringgadget to auto-word wrap? When the text is too long, it is cut out and ...
- Sun Oct 19, 2003 12:53 pm
- Forum: Coding Questions
- Topic: freeing ram (aka ram defragmentation)?
- Replies: 20
- Views: 4139
It could work like this:muab256 wrote:umm... and how would i do that? ;PFred wrote:Windows doesn't map a ram area if it's not used. So just very a byte at the very end of the buffer an d the whole ram will be allocated.
Code: Select all
*freecache=AllocateMemory(1,100000001,0)
PokeB(*freecache+100000000,1)
- Sun Oct 19, 2003 12:06 pm
- Forum: Coding Questions
- Topic: freeing ram (aka ram defragmentation)?
- Replies: 20
- Views: 4139
I didn't test it, but in Visual Basic it works like this:
The script request 100MB for the string, and frees the memory if it ends.
In PB you may have to fill the Memory with some values.
F.
Code: Select all
;
; Visual Basic Code !!!!!!!!!!!!!!!!!!!
;
a=string(100000000,"x")
In PB you may have to fill the Memory with some values.
F.
- Sun Oct 19, 2003 11:26 am
- Forum: Coding Questions
- Topic: freeing ram (aka ram defragmentation)?
- Replies: 20
- Views: 4139
Hi,
try this one:
F.
try this one:
Code: Select all
;
; FreeRAM
;
*freecache=AllocateMemory(1,100000000,0)
;
;if you have 128MB RAM
;100000000 = ca. 3/4 of the installed memory
F.