Is there anything specific that needs to be done for connecting to a remote database over the default port 3306? I am getting nothing back from the test example, and I am sure I can connect to the database, since it works with HeidiSQL which uses libmysql.dll.
In case anyone cares, it was ...
Search found 12 matches
- Mon Jul 01, 2013 9:00 pm
- Forum: Windows
- Topic: LibMySQL Wrapper for MySQL Databases
- Replies: 17
- Views: 25088
- Mon Jul 01, 2013 7:34 pm
- Forum: Windows
- Topic: LibMySQL Wrapper for MySQL Databases
- Replies: 17
- Views: 25088
Re: LibMySQL Wrapper for MySQL Databases
Is there anything specific that needs to be done for connecting to a remote database over the default port 3306? I am getting nothing back from the test example, and I am sure I can connect to the database, since it works with HeidiSQL which uses libmysql.dll.
- Sat May 11, 2013 7:02 pm
- Forum: Coding Questions
- Topic: I wrote a loop wrong, and my brain is too broken to fix it.
- Replies: 1
- Views: 572
Re: I wrote a loop wrong, and my brain is too broken to fix
I think I fixed it, hopefully it isn't terrible.
Count = CountString(*plink\Output, #CRLF$)
For x = 1 To Count
DirectoryCount = 0
CurrentLine = 0
If CachePointCount > 0
For y = 1 To CachePointCount
DirectoryCount = Val(StringField(*plink\Output, y, Chr(10))) + CurrentLine + 1
For z = 2 ...
Count = CountString(*plink\Output, #CRLF$)
For x = 1 To Count
DirectoryCount = 0
CurrentLine = 0
If CachePointCount > 0
For y = 1 To CachePointCount
DirectoryCount = Val(StringField(*plink\Output, y, Chr(10))) + CurrentLine + 1
For z = 2 ...
- Fri May 10, 2013 10:03 pm
- Forum: Coding Questions
- Topic: I wrote a loop wrong, and my brain is too broken to fix it.
- Replies: 1
- Views: 572
I wrote a loop wrong, and my brain is too broken to fix it.
Hey guys, I've been banging my head against this one for two days now, and I am clearly doing something obvious (except to me) wrong. Here is the input I've got:
1
21
19.6G /vmfs/volumes/4c361ff9-f5ab5aa5-411a-003048c85ebe/Support2 MCP/UnideskLayers/OS/Win7 x86 SP1
25.3G /vmfs/volumes/4c361ff9 ...
1
21
19.6G /vmfs/volumes/4c361ff9-f5ab5aa5-411a-003048c85ebe/Support2 MCP/UnideskLayers/OS/Win7 x86 SP1
25.3G /vmfs/volumes/4c361ff9 ...
- Fri Mar 29, 2013 6:46 pm
- Forum: Tricks 'n' Tips
- Topic: libcurl (linux,windows,MacOS) (x64 & x86)
- Replies: 8
- Views: 11891
Re: libcurl (linux & windows) (x64 & x86)
For anyone searching for this, there was a change in PB 5.10 that impacts this lib.
I made the following changes, and confirmed it was working with all samples provided in the RW_LibCurl zip.
;{ Structures }
Structure Curl_HTTPPost
*Next_.Curl_HTTPPost ; Next entry in the list
*name.String ...
I made the following changes, and confirmed it was working with all samples provided in the RW_LibCurl zip.
;{ Structures }
Structure Curl_HTTPPost
*Next_.Curl_HTTPPost ; Next entry in the list
*name.String ...
- Wed Mar 27, 2013 9:35 pm
- Forum: Coding Questions
- Topic: Need help with a program I am writing (VMware, SOAP, etc).
- Replies: 2
- Views: 717
Re: Need help with a program I am writing (VMware, SOAP, etc
I am not trying to write a backdoor per VM, I am trying to determine the best way to approach talking to vSphere using PureBasic. I saw your PM, and I appreciate the offer, but I am not looking to pay someone to do something I am doing as an exercise in learning to program in PureBasic.
- Wed Mar 27, 2013 2:56 pm
- Forum: Coding Questions
- Topic: Need help with a program I am writing (VMware, SOAP, etc).
- Replies: 2
- Views: 717
Need help with a program I am writing (VMware, SOAP, etc).
Hey guys, I need some help with a program I am writing. I am trying to write a UI that allows automation for a number of services. It's designed to talk with VMs over a network so that you can automate scripts and tasks in order to save time. I've had a great amount of success with PureBasic ...
- Wed Nov 07, 2012 5:56 pm
- Forum: General Discussion
- Topic: The PureBasic Doomsday Quotes
- Replies: 76
- Views: 43229
Re: PureBasic Longevity Quotes
Maybe this isn't the right thread to post in, but I just wanted to add some warm fuzzies somewhere.
I used to program when I was in high school using Visual Basic. When VB.NET came out, it hurt my brain with the changes. I have always been good at troubleshooting, but programming was always a ...
I used to program when I was in high school using Visual Basic. When VB.NET came out, it hurt my brain with the changes. I have always been good at troubleshooting, but programming was always a ...
- Mon Nov 05, 2012 7:53 pm
- Forum: Announcement
- Topic: SpeedbarGadget
- Replies: 26
- Views: 17125
Re: SpeedbarGadget
First off, I wanted to say that this Gadget is fantastic. I like the look of it, and how it displays data. :)
I have one question/request/not sure:
Is there any way to increase either the size of the lines or space between the data points so that the actual output can be bigger? I'd love to use ...
I have one question/request/not sure:
Is there any way to increase either the size of the lines or space between the data points so that the actual output can be bigger? I'd love to use ...
- Sat Sep 08, 2012 7:39 pm
- Forum: Coding Questions
- Topic: Problems receiving output from RunProgram and plink.exe.
- Replies: 4
- Views: 1294
Re: Problems receiving output from RunProgram and plink.exe.
That worked perfectly!
Thanks
Thanks

- Sat Sep 08, 2012 4:20 pm
- Forum: Coding Questions
- Topic: Problems receiving output from RunProgram and plink.exe.
- Replies: 4
- Views: 1294
Re: Problems receiving output from RunProgram and plink.exe.
That code returned this in the debug window:
"Unable to read from standard input: The handle is invalid."
"Unable to read from standard input: The handle is invalid."
- Sat Sep 08, 2012 2:39 pm
- Forum: Coding Questions
- Topic: Problems receiving output from RunProgram and plink.exe.
- Replies: 4
- Views: 1294
Problems receiving output from RunProgram and plink.exe.
I am having an issue receiving any output from plink.exe using PureBasic. If I call the program like so:
Process = RunProgram("C:\plink.exe","-l user -pw password ip_address df -h",GetCurrentDirectory(),#PB_Program_Open | #PB_Program_Read)
Debug ReadProgramString(Process)
Debug ReadProgramError ...
Process = RunProgram("C:\plink.exe","-l user -pw password ip_address df -h",GetCurrentDirectory(),#PB_Program_Open | #PB_Program_Read)
Debug ReadProgramString(Process)
Debug ReadProgramError ...