Search found 23 matches

by woki
Tue Feb 20, 2018 10:12 am
Forum: General Discussion
Topic: PureBasic and the Future
Replies: 20
Views: 8764

Re: PureBasic and the Future

+1
by woki
Mon May 10, 2010 6:11 pm
Forum: Coding Questions
Topic: Sound3D not working
Replies: 6
Views: 2023

Re: Sound3D not working

In the example change the line MoveCamera (...) to MoveNode (...)
by woki
Sun May 09, 2010 9:33 pm
Forum: Coding Questions
Topic: Sound3D not working
Replies: 6
Views: 2023

Re: Sound3D not working

You have to move the object not the camera like in the example.
by woki
Thu Oct 20, 2005 12:37 am
Forum: Coding Questions
Topic: Reading Serial Port
Replies: 10
Views: 4571

Here simple code snippets to do com port with windows api calls.
Hope that helps.

;r = CreateFile_("COM1:",#GENERIC_READ | GENERIC_WRITE,0,#NULL,#OPEN_EXISTING,0,#NULL)
devCB.DCB
r = OpenFile(0,"COM2:")

; use this to verify com port
If r
If GetCommState_(r,devCB)
SomeResults.s = "Baud rate ...
by woki
Sat Aug 13, 2005 2:02 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] Serial port commands
Replies: 31
Views: 11720

You can use serial communication commands from the WIN32API in PureBasic. It's as native as can be. The only thing you have to do is reading, thinking and coding. Think Forth!
That's what I do.
Nativ to PB and cross platform, I mean.
by woki
Tue Jul 19, 2005 9:49 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Serial port commands
Replies: 31
Views: 11720

I also vote for nativ COM commands and nativ USB handling.

Neither RS232 nor RS422 are protocols I think, they only describe the physical layer. It's up to the user to define his protocol. RS232 is as professional as RS422. Indeed RS422 more insensible to electric distortion and the better choice ...
by woki
Sat Sep 13, 2003 11:26 am
Forum: General Discussion
Topic: WE nEED OoP
Replies: 2
Views: 2511

I want no OOP !!!
by woki
Wed Sep 10, 2003 9:07 pm
Forum: Coding Questions
Topic: Send/ReceiveNetworkFile
Replies: 9
Views: 3242

No problem. It's only to say that SendNetworkFile works for both OS, Send_() and recv_() only in windows. I hope that PB will be more cross compatible as now in the future.
by woki
Wed Sep 10, 2003 6:28 pm
Forum: Coding Questions
Topic: Send/ReceiveNetworkFile
Replies: 9
Views: 3242

I hate windows centered people :wink:
by woki
Tue Jul 22, 2003 9:30 pm
Forum: Announcement
Topic: jaPBe 1.3.7.18
Replies: 24
Views: 12455

Me too, please !!! :D

ok, thanks for the quick response, i will try this as soon as i get off work.

there is one other small feature i would like to request for JaPBe, when you double-click on a pb file to open it, and JaPBe isn't open at the time, the file is opened with it, however all of the ...
by woki
Sat Jul 19, 2003 12:22 pm
Forum: Windows
Topic: how to connect PB to mysql with OpenDatabase?
Replies: 4
Views: 5089

Re: how to connect PB to mysql with OpenDatabase?

If DSN = billing exists than OpenDatabase(2, "billing","root", "test") should do it.

query.s = "INSERT INTO aktverb (persID, anschlussID) VALUES ('123','123')"
is ok if persID and anschlussID are defined as string

Result=DatabaseQuery(query.s)
CloseDatabase(2)

that's it.
by woki
Mon Jul 07, 2003 1:21 am
Forum: Coding Questions
Topic: PB Networking Code Example
Replies: 8
Views: 2649

Hi,

works with XP prof. SP1 local (127.0.0.1) and over the network (server on XP prof.SP1 - client on Windows ME)
by woki
Sun Jul 06, 2003 12:35 am
Forum: Announcement
Topic: jaPBe - Preview (just another PureBasic editor)
Replies: 33
Views: 14501

Hey, that's quick - it's all ok now.

Config Tools dialog work - reload source either.

:D :D :D :D
by woki
Sat Jul 05, 2003 10:08 pm
Forum: Announcement
Topic: jaPBe - Preview (just another PureBasic editor)
Replies: 33
Views: 14501

ASCII table shows up shortly and then the field is grey. Moving the cursor in the grey field shows characters in the little preview field. Moving the main window partial out of the screen and then selecting ASCII table in the menu the table does not appear. Moving the main window back to center of ...
by woki
Sat Jul 05, 2003 8:20 am
Forum: Coding Questions
Topic: Problem with for - next
Replies: 14
Views: 3826

endless loop: i.w -32768 / 32767
endless loop: i.l -2147483648 / 2147483647

if values are greater or less the loop never executes without any error.

Yes, would be nice, when the debugger can catch this.