PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → external c++ tlb
external c++ tlb
Iniciado por a.lugtenburg, 08,oct. 2004 16:39 - 3 respuestas
Publicado el 08,octubre 2004 - 16:39
Hi,
I have to use a *.tlb file with an executable wich are written in C/C++ and i really don't know how to begin.
I already trie'd to make an ocx or a dll but can't load that. Everything is registered in the register and i believe it has something to do with a dcom but
how it works i don't know Can sombody help me ???
Thanks Ab
Publicado el 08,octubre 2004 - 20:40
Hi Ab
*.tlb Extension is Normally associated
with ASP
Do you have MS Visual Studio ?
Keep well
Peter Purton
Hi,
I have to use a *.tlb file with an executable wich are written in C/C++ and i really don't know how to begin.
I already trie'd to make an ocx or a dll but can't load that. Everything is registered in the register and i believe it has something to do with a dcom but
how it works i don't know Can sombody help me ???
Thanks Ab
Publicado el 08,octubre 2004 - 23:28
Hi Ab,
*.tlb is an acronym for type-library
1) type-libraries are COM (datatype-)interfaces
2) Windev has no support for typelibrary Import ( as f.i. VB or Delphi )
3) don't waste time with regsvr32
4) Accessing COM (COM+/DCOM) components through WINDEV normaly requires C++
5) Thanks to the IUnknownInterface object automation syntax can help ( sometimes)
for example:
// Déclaration d'un l'objet automation
MonObjetAutomation est un objet automation MonServeur
...have a look at the onlimne manual
hth Björn

Hi,
I have to use a *.tlb file with an executable wich are written in C/C++ and i really don't know how to begin.
I already trie'd to make an ocx or a dll but can't load that. Everything is registered in the register and i believe it has something to do with a dcom but
how it works i don't know Can sombody help me ???
Thanks Ab
Miembro registrado
5 mensajes
Publicado el 12,febrero 2016 - 09:42
Hi,
I understand that this is an old post and at that time (2004) it was not possible to import type library like in VB. Has this changed? Is it still not possible?

I have a posted a question about this before bumping to this post

http://forum.pcsoft.fr/en-US/pcsoft.us.windev/56385-use-com-objects/read.awp

Kind regards
Mr G.