Search found 17 matches

by lazarusoft
Mon Oct 06, 2014 1:15 pm
Forum: Coding Questions
Topic: Lacewing c++ networking lib
Replies: 8
Views: 3831

Re: Lacewing c++ networking lib

Download the Lib-project.org site in http://lacewing-project.org/
Compile for Windows using Visual Studio (I used VS2010)
For Linux (My Favorite) is easier to compile.
Follow http://lacewing-project.org/docs/building.html
precompiled win32 lib and WebServer example:

http://201.20.20.44/Tmp ...
by lazarusoft
Sun Sep 28, 2014 11:02 pm
Forum: Coding Questions
Topic: Lacewing c++ networking lib
Replies: 8
Views: 3831

Re: Lacewing c++ networking lib

I use with PureBasic,
is perfect
http://lacewing-project.org/
by lazarusoft
Wed Jul 09, 2014 8:31 pm
Forum: Coding Questions
Topic: SetXMLAttribute with #LFCR$
Replies: 5
Views: 2659

Re: SetXMLAttribute with #LFCR$

I'll switch to SetXMLNodeText,
but in PureBasic 5.22 is working well,
for this reason I thought it was a bug.

; Purebasic 5.30 Beta 7 x 1 Brazil :oops:
by lazarusoft
Wed Jul 09, 2014 6:33 pm
Forum: Coding Questions
Topic: SetXMLAttribute with #LFCR$
Replies: 5
Views: 2659

Re: SetXMLAttribute with #LFCR$


OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(1, 8, 8, 306, 133)
For a = 0 To 5
AddGadgetItem(1, a, "Line "+Str(a))
Next
;
WaitWindowEvent()
;
Define.s tx = GetGadgetText(1)
;
Define xml = CreateXML(#PB_Any,#PB_UTF8)
CompilerIf ...
by lazarusoft
Wed Jul 09, 2014 5:31 pm
Forum: Coding Questions
Topic: SetXMLAttribute with #LFCR$
Replies: 5
Views: 2659

SetXMLAttribute with #LFCR$


;
; BUG Purebasic 5.30 Beta 7 x 1 Brazil
;
OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(1, 8, 8, 306, 133)
For a = 0 To 5
AddGadgetItem(1, a, "Line "+Str(a))
Next
;
WaitWindowEvent()

Define.s tx = GetGadgetText(1)

Delay(100 ...
by lazarusoft
Mon Jan 02, 2012 3:24 pm
Forum: Announcement
Topic: PureBasic 4.61 beta 1
Replies: 64
Views: 33248

Re: PureBasic 4.61 beta 1

Valeu
OK :D
by lazarusoft
Thu Dec 15, 2011 4:49 pm
Forum: Coding Questions
Topic: PurePDF
Replies: 4
Views: 2543

Re: PurePDF

http://www.verydoc.com/documents/acrojs ... g_0080.htm
EX:

Code: Select all

pdf_IncludeJS("var pp = this.getPrintParams();pp.pageSubset = pp.constants.subsets.all;pp.interactive = pp.constants.interactionLevel.full;this.print(pp);")
by lazarusoft
Tue Sep 14, 2010 1:40 pm
Forum: Announcement
Topic: PureBasic 4.51 is out !
Replies: 55
Views: 23262

Re: PureBasic 4.51 is out !


Structure pb
Year.i
Version.f
EndStructure
;
Define.pb PureBasic
;
PureBasic\Year=10
PureBasic\Version=4.51
;
If PureBasic\Year = 10
MessageRequester("PB Team", "Thanks and Happy Birthday! "+Chr(13)+"Version: "+StrF(PureBasic\Version,2),0)
EndIf


Great work!
PB Team
by lazarusoft
Mon Jul 26, 2010 2:11 pm
Forum: Announcement
Topic: PureBasic 4.51 RC1 released!
Replies: 27
Views: 13710

Re: PureBasic 4.51 RC1 released!

pb team

thanks , obrigado, gracias :D
by lazarusoft
Sat Jun 19, 2010 1:22 pm
Forum: Off Topic
Topic: Purebasic Repository
Replies: 35
Views: 8209

Re: Purebasic Repository

Good work ....
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL :P
by lazarusoft
Sun Mar 07, 2010 10:23 pm
Forum: Windows
Topic: Using SQLite3?
Replies: 4
Views: 2090

Re: Using SQLite3?

Native PB, it's easy


UseSQLiteDatabase()

ImportC ""
sqlite3_libversion()
EndImport

Debug "Sqlite3 Version: "+PeekS(sqlite3_libversion()) ; Sqlite3 Version: 3.6.23.1

Filename$ = "C:\mydb.db3"

If CreateFile(0, Filename$)
Debug "Database file created OK"
CloseFile(0)
EndIf

If ...
by lazarusoft
Wed Feb 17, 2010 4:38 pm
Forum: Linux
Topic: hi... X.509 certificates
Replies: 0
Views: 1263

hi... X.509 certificates

I want to implement x.509 certificates on a signature project in XML.
I wonder if someone already used some of these libraries or something like:
http://polarssl.org/ only for X.509 certificate to use native XML PB
or http://www.aleksey.com/xmlsec/ And also I have to use SOAP.

Any kind of help ...
by lazarusoft
Thu Nov 12, 2009 2:43 am
Forum: Linux
Topic: lib matrixssl
Replies: 1
Views: 970

lib matrixssl

Hi...
Has anyone used this
with PB?
http://www.matrixssl.org/

??
by lazarusoft
Mon Apr 20, 2009 11:10 pm
Forum: Linux
Topic: code pb json
Replies: 0
Views: 3782

code pb json

;;;;json pb
ImportC "/usr/local/lib/libjson.a"
json_object_new_object()
json_object_object_add(obj.l, key.s, value.l);
json_object_new_string(cars.s)
json_object_put(obj.l)
json_object_to_json_string(obj.l)
json_object_array_add(ds_dt.l,d_dt.l);
json_object_new_array();
EndImport ...
by lazarusoft
Mon Apr 20, 2009 1:50 pm
Forum: Linux
Topic: app Ajax, Json, with PB and Firefox
Replies: 0
Views: 1875

app Ajax, Json, with PB and Firefox

hi..
Teste with pb4.20 and Firefox(work only)

download and compile json lib for PB
http://oss.metaparadigm.com/json-c/

x library is free lib javascript with excellent speed
http://cross-browser.com/

mysql with PB
http://www.purebasic.fr/english/viewtopic.php?t=29361&highlight=mysql

CGI ...