Exporting a variable an enum and a class to VB !
-
Hi everybody, i'm trying to export a variable (integer) from a c++Win32 Dll to VB. Later on an enum and a class ! Exprting functions is no problem but the rest !???! Could you explaim what the .def file and the Vb code have to contain (code). Btw. do you know good books or tuts which cover these problenms ? I only have heared from this book : "Professional ATL COM Programming" von Dr. Richard Grimes thanks very much for your help ;) Croc
-
Hi everybody, i'm trying to export a variable (integer) from a c++Win32 Dll to VB. Later on an enum and a class ! Exprting functions is no problem but the rest !???! Could you explaim what the .def file and the Vb code have to contain (code). Btw. do you know good books or tuts which cover these problenms ? I only have heared from this book : "Professional ATL COM Programming" von Dr. Richard Grimes thanks very much for your help ;) Croc
classes? I think you have to go through
COM
and export interfaces rather than instances of classes. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]