TB Lib: COM Event handler
TB Lib: COM Event handler
Tailbite library to handle COM events in an easy way, if you don't know what is COM this probably not for you
Functions:
cevConnect()
cevDisconnect()
cevBindEvent()
There are 2 libs, the other one is a linked list used by the COM lib, functions:
LLNew(), LLCurrent(), LLIndex(), LLCount(), LLAdd(), LLFirst(), LLLast(), LLNext(), LLPrev(), LLClear(), LLDestroy()
This lib was necessary because the COM lib uses a hash table wich can not be done with the current PB linked list. This lib is not documented i'll post the source code if there is some interest.
The COM lib is documented, there is a webbrowser example, you will need to be familiar with COM to use it. I initially did it to use the NeroCOM object (DVD Burning), in wich events are a must. I'll post the Nero sample when i finish it if there is some interest.
Download:
http://www.angelfire.com/cantina/justin1/COMEvents.rar
if you have problems downloading right click on the link and save target as.
Functions:
cevConnect()
cevDisconnect()
cevBindEvent()
There are 2 libs, the other one is a linked list used by the COM lib, functions:
LLNew(), LLCurrent(), LLIndex(), LLCount(), LLAdd(), LLFirst(), LLLast(), LLNext(), LLPrev(), LLClear(), LLDestroy()
This lib was necessary because the COM lib uses a hash table wich can not be done with the current PB linked list. This lib is not documented i'll post the source code if there is some interest.
The COM lib is documented, there is a webbrowser example, you will need to be familiar with COM to use it. I initially did it to use the NeroCOM object (DVD Burning), in wich events are a must. I'll post the Nero sample when i finish it if there is some interest.
Download:
http://www.angelfire.com/cantina/justin1/COMEvents.rar
if you have problems downloading right click on the link and save target as.
Re: TB Lib: COM Event handler
> Tailbite library to handle COM events in an easy way
> [...]
> Download:
> http://www.angelfire.com/cantina/justin1/COMEvents.rar
> if you have problems downloading right click on the link and save target
> as.
sounds interesting but the Rar-Archive seems to be broken(?)
Greetings ... Kiffi
> [...]
> Download:
> http://www.angelfire.com/cantina/justin1/COMEvents.rar
> if you have problems downloading right click on the link and save target
> as.
sounds interesting but the Rar-Archive seems to be broken(?)
Greetings ... Kiffi
-
- Enthusiast
- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
Well, i created a geocites page quickly, there is direct link. this is an updated version. strings by reference are passed now by reference, it is explained in the doc. also added another lib to handle unicode/bstr strings.
http://www.geocities.com/mesias2030/justinsPlace.html
http://www.geocities.com/mesias2030/justinsPlace.html
-
- Enthusiast
- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
Thanks so much for your COMEvents lib, Justin.
I want to ask if there is any luck in a PB4 version of it, as it gives the usual "cannot find library: LibraryExtension" error everytime I try to compile sources with its commands inside.
I'm using it for a private project since the last year, and I was trying to convert it to PB4 when I got this error.
I spent many hours on msdn trying to figure out how to use COM events, and I got alot of headaches (you all know how messy that site is).
What I need is to use just the cevConnect(), cevBindEvent() and the cevDisconnect() commands (so mostly the TB_COMEvent_JN lib). If you or anyone is able to explain how to make them with PB code, or you can update your lib to support PB4 that will be really appreciated.
I want to ask if there is any luck in a PB4 version of it, as it gives the usual "cannot find library: LibraryExtension" error everytime I try to compile sources with its commands inside.
I'm using it for a private project since the last year, and I was trying to convert it to PB4 when I got this error.
I spent many hours on msdn trying to figure out how to use COM events, and I got alot of headaches (you all know how messy that site is).
What I need is to use just the cevConnect(), cevBindEvent() and the cevDisconnect() commands (so mostly the TB_COMEvent_JN lib). If you or anyone is able to explain how to make them with PB code, or you can update your lib to support PB4 that will be really appreciated.
@krensauce, in the meantime maybe this tool is useful to you
http://www.purebasic.fr/english/viewtopic.php?t=23370
@Justin, thanks alot for the Nero example - very interesting.
http://www.purebasic.fr/english/viewtopic.php?t=23370
@Justin, thanks alot for the Nero example - very interesting.
Thanks for the tip!mskuma wrote:@krensauce, in the meantime maybe this tool is useful to you
http://www.purebasic.fr/english/viewtopic.php?t=23370
@Justin, thanks alot for the Nero example - very interesting.
But I already know how to access the ATL.dll interfaces, the problem is how do I get the fired event parameters and how to change them: http://www.purebasic.fr/english/viewtop ... highlight=
The real problem is how to access the VARIANT structure, I must search more on the forum and do some tests...