ComLib_PB4
ComLib_PB4
This Lib based on the Lib from aXend, updated for use with PB4
Removed: (not required in PB4)
- Uni2Ansi(unicodestr.l)
- Ansi2Uni(ansistr.s)
Available:
CreateObject(ProgID.s) ; Creates COM object from ProgID
ReleaseObject(object.l) ; Releases Object from memory
This Lib works in ASCII and UNICODE-Mode!
some small examples added
source included
Download (5,5 KB)
Removed: (not required in PB4)
- Uni2Ansi(unicodestr.l)
- Ansi2Uni(ansistr.s)
Available:
CreateObject(ProgID.s) ; Creates COM object from ProgID
ReleaseObject(object.l) ; Releases Object from memory
This Lib works in ASCII and UNICODE-Mode!
some small examples added
source included
Download (5,5 KB)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Extra Example (separat download)
Using AutoItX3 as ActiveX.dll
Requires ComLib_PB4
Download AutoItX3 example (260 KB)
Using AutoItX3 as ActiveX.dll
Requires ComLib_PB4
Download AutoItX3 example (260 KB)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Well, I can get a conneciton and issue a sql statement to do an insert but record sets aren't working.
I went back to 3.94 and the example works but not much else.
So, some of the changes between 3.94 and 4 have changed something fundamental.
I just don't know what else to do. The documentation is completely useless for purebasic.
I ordered the book hopefully it will help me out.
Wes
I went back to 3.94 and the example works but not much else.
So, some of the changes between 3.94 and 4 have changed something fundamental.
I just don't know what else to do. The documentation is completely useless for purebasic.
I ordered the book hopefully it will help me out.
Wes
@Intrigued
Help for com? No
I don't speak good english and i think the 2 functions a really clear, it's the
same syntax like VBScript or JScript.
See the examples, it's allways the same
For create Interfaces you can use the OLE/COM Interface-Genrator by S. Möbius.
http://www.purebasic.fr/english/viewtopic.php?t=23370
For using of Variant Types you find examples in the ScriptContol
http://www.purebasic.fr/german/viewtopi ... iptcontrol
There is a includefile for Variants.
I hope this helps a bit
regards
Thomas
Help for com? No
I don't speak good english and i think the 2 functions a really clear, it's the
same syntax like VBScript or JScript.
See the examples, it's allways the same
For create Interfaces you can use the OLE/COM Interface-Genrator by S. Möbius.
http://www.purebasic.fr/english/viewtopic.php?t=23370
For using of Variant Types you find examples in the ScriptContol
http://www.purebasic.fr/german/viewtopi ... iptcontrol
There is a includefile for Variants.
I hope this helps a bit
regards
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

I think the missing InterFaces not usefull in other programming languages.
I have no idea to use it. It's all for the scripting languages itself
regards
Thomas
I have no idea to use it. It's all for the scripting languages itself
regards
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Thank you Thomas.ts-soft wrote:@Intrigued
Help for com? No
I don't speak good english and i think the 2 functions a really clear, it's the
same syntax like VBScript or JScript.
See the examples, it's allways the same
For create Interfaces you can use the OLE/COM Interface-Genrator by S. Möbius.
http://www.purebasic.fr/english/viewtopic.php?t=23370
For using of Variant Types you find examples in the ScriptContol
http://www.purebasic.fr/german/viewtopi ... iptcontrol
There is a includefile for Variants.
I hope this helps a bit
regards
Thomas

Intrigued - Registered PureBasic, lifetime updates user
small bugfix, the buffer for unicode was 1 byte to short 

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
