PDA

View Full Version : dynamic link dll



Ali Reza
20th July 2012, 05:53
Hi guys
good your times
I have a problem. i want to use some statics function that developed in some specific classes such as Qprocess in visual basic 6
I know that i must package this functions in a capsulate dynamic link dll. But i dont know how do it ???
Please help me.
Thanks

ChrisW67
20th July 2012, 06:22
You create a library with your project using:


TEMPLATE = lib

in your PRO file: see Building a Library in the manual.

VB6 can access C-style interfaces directly (a similar way to Windows API calls). To provide a more OO interface you will need to make your project into a COM object/ActiveX control using ActiveQt. As usual, this information can be found in the manual and examples.

Ali Reza
20th July 2012, 15:45
perfect !!
thanks Chris