Hi all.
I'm a beginner in C++.
Is there any well documented way to call COM objects in VC++ 6.0 (not .net)
for example instantiate "scripting.filesystemobject"
I tried googling but most of the cases do not have proper declarations and have no information on which header files to include.
pls guide me for any resource with all declarations and include headers that are required.
a code snippet would come handy as well.
I'm well aware of the equivalent code in vb ie :
1 2 3 4
Public Shared Function CreateObject( _
ByVal ProgId As String, _
Optional ByVal ServerName As String = "" _
) As Object