Search found 4 matches

by tpsreports
Fri Jul 14, 2017 8:49 pm
Forum: General Discussion
Topic: OpenDataBase
Replies: 1
Views: 1564

OpenDataBase

Hi all,

I am wondering if you is #PB_ANY to do an ODBC OpenDatabase call what are the possible return values? I know that the help documentation says that it will return 0 if it failed, but will it return any non-zero number on a success? I have been trying to track down a connectivity issue for a ...
by tpsreports
Thu Mar 30, 2017 9:50 pm
Forum: Coding Questions
Topic: Help with Read Byte
Replies: 6
Views: 1881

Re: Help with Read Byte

Thanks for the help guys, using what infratec posted I was able to get the application working.

Mark
by tpsreports
Wed Mar 29, 2017 9:29 pm
Forum: Coding Questions
Topic: Help with Read Byte
Replies: 6
Views: 1881

Re: Help with Read Byte

Hi,

Thanks for the responses.

As to why I am doing this character by character, I am taking this over from someone else and we have to use the standard PureBasic with none of the extension libraries.

The file is a UTF-8 file and I have tried to use ReadString(),ReadCharacter() and ReadByte() all ...
by tpsreports
Wed Mar 29, 2017 7:36 pm
Forum: Coding Questions
Topic: Help with Read Byte
Replies: 6
Views: 1881

Help with Read Byte

Hello,

I am trying to read in XML files character by character, I have this part working but for some reason whenever there is a "&" in the value for a node the return has "amp;" after it. I have no idea why this happening and the method that I am using to read the value in is:

If ReadFile(#c ...