PureDispHelper UserLib - Update with Includefile for Unicode
PureDispHelper UserLib - Update with Includefile for Unicode
PureDispHelper is based on DispHelper, a free open source C library
developed by xtmous http://disphelper.sourceforge.net
This userlib doesn't support unicode, sorry
With this lib, you can use COM, ActiveX, OCX and so on, without Interfaces!
Helpfile english
Some examples added:
ado, flash, ie, mediaplayer, msxml, network, sapi, vbs and word
//edit
added: agent, excel, regex
//edit2
added "ComEventSink.pb" from freak, to use events with OCX
thanks freak for this
Special thank to kiffi (beta tester and author from many examples)
PureDisphelper v.1.5
// edit
update to pb 4.20 ...
developed by xtmous http://disphelper.sourceforge.net
This userlib doesn't support unicode, sorry
With this lib, you can use COM, ActiveX, OCX and so on, without Interfaces!
Helpfile english
Some examples added:
ado, flash, ie, mediaplayer, msxml, network, sapi, vbs and word
//edit
added: agent, excel, regex
//edit2
added "ComEventSink.pb" from freak, to use events with OCX
thanks freak for this
Special thank to kiffi (beta tester and author from many examples)
PureDisphelper v.1.5
// edit
update to pb 4.20 ...
Last edited by ts-soft on Sat Mar 29, 2008 9:42 pm, edited 12 times in total.
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.
thanks at all
DoneRings wrote:Thomas: you should write in the title,
that with this lib you can easily use Com-Objects.
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.
The MediaPlayer example is at first start a bit slow, but if you restart, it's load
the Video from browsercache and should work normal
the Video from browsercache and should work normal
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.
added Agent - Example
Have fun
Code: Select all
dhToggleExceptions(#True)
Define.l oAgent, oGenie
oAgent = dhCreateObject("Agent.Control.1")
If oAgent
dhPutValue(oAgent, "Connected = %b", #True)
dhCallMethod(oAgent, "Characters.Load(%s)", @"Genie")
dhGetValue("%o", @oGenie, oAgent, "Characters(%s)", @"Genie")
If oGenie
dhCallMethod(oGenie, "Show")
dhCallMethod(oGenie, "MoveTo(%d,%d)", 300, 200)
dhCallMethod(oGenie, "Play(%s)", @"Greet")
dhCallMethod(oGenie, "Speak(%s)", @"Hello, feel the ..Pure.. Power of PureBasic")
dhCallMethod(oGenie, "Play(%s)", @"Reading")
Delay(20000)
dhCallMethod(oGenie, "Stop")
dhCallMethod(oGenie, "Speak(%s)", @"PureBasic is a nice computer language")
MessageRequester("Agent", "click ok to end")
dhCallMethod(oGenie, "Play(%s)", @"Hide")
Delay(3000)
dhReleaseObject(oGenie)
EndIf
dhReleaseObject(oAgent)
EndIf
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.