Ok. Wait... HUH?!?![]()
![]()
What the heck is IDispatch, etc?
Maybe I'm just showing some n00bness, but I've never heard of that...
Hi,
Is it possible to implement an interface in VB6 which is not directly derived from IDispatch ?
ie
Can VB6 implement an interface IDerived derived from IBase which in turn is derived from IDispatch ? If yes can you tell me how.
TIA
Satish
VOICES Status : Rework in Progress [||--------](20%)
Preview Version at http://voices.techworldonline.com
Ok. Wait... HUH?!?![]()
![]()
What the heck is IDispatch, etc?
Maybe I'm just showing some n00bness, but I've never heard of that...
The ALEXIS Project
MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
Color Coding :
DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED
IDispatch: Also know as dispinterface or dual interface is required to be implemented by C++ COM objects so that the non virtual table aware lanugage like VBscript can access COM component.Originally Posted by deadweasel
VOICES Status : Rework in Progress [||--------](20%)
Preview Version at http://voices.techworldonline.com
Ok. Well damn, that puts me out of the range of being able to help. Crap. You just made my eyes glaze over, and that's not always easy!Originally Posted by SilentAdmirer
![]()
The ALEXIS Project
MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
Color Coding :
DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED
Look up Fast Fourier TransformOriginally Posted by deadweasel
![]()
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
Oh. My. GOD!!!Originally Posted by frodobaggins
Geez, thanks! I was about to attribute the brain damage to the beer, but nope. Now I feel stupid. Crap.![]()
The ALEXIS Project
MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
Color Coding :
DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED
So... um... I say you just layout something or use DirectX. What the hell?
Tried looking some of it up... looks like more Microsoft crap... uh... DAMN.
Me brain no workies now.
Satish, when I used to work with Visual Basic, I remember that it only allowed for one level of interface inheritance (i.e. VB-compatible interfaces must directly derive from IUnknown or IDispatch). This might have changed in VB6, but I highly doubt it.Originally Posted by SilentAdmirer
Now is a good time to switch to C++.![]()
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
The only second app I have ever made in VB was the GPS test app as a lot of user in the forum are VB programmers.
Been a C++ programmer ever since I started programmingNo plans to switch to any other language in the near feature...
Just wanted to know as I was designing a Plugin based system for VOICES and supporting VB is very necessary . I had a special requirement in which I would have mutliple outgoing or source interface which would be derived from a single Base interface which in turn would be derived from IDispatch. This would allow much easy use, as I would be holding the list of base interface and querying for the Derived interface only for special reason rather than holding a list of IDispatch and quering it every time.
Now the IEnumXXXX Interface makes sense, I used to always thing why MS didnot have IEnumerator as the base class for the IEnumXXXX interface when all the IEnumXXXX had the same method calls.
VOICES Status : Rework in Progress [||--------](20%)
Preview Version at http://voices.techworldonline.com
Glad to hear you still working on VOICES![]()
-Jesus- King of Kings Lord of Lords
Bookmarks