TatukGIS menu

Knowledge Base





KB10904 - Create VC++ MFC interface headers for use with DK for ActiveX.

We do not provide interfaces headers for VC++ because:
  • there are too many :)
  • our customers use a number of VC++ releases, even some quite old ones. Generating classes for all VC++ versions is impractical.
Creation of interface headers on your own is very easy (the procedure is as in Visual Studio 2012):
  • Open your MFC project
  • In a Solution explorer, right-click on a project to select "Add / Class..."
  • Select "MFC / MFC Class From TypeLib"
    MFCImport1
  • Select TatukGIS XDK file, for example: c:\Users\USERNAME\Documents\TatukGIS\XDK10\Lib\WIN32\TatukGIS_XDK10_WIN32.ocx 
    MFCImport2
  • Select required interfaces and create headers.
The procedure for importing CWnd wrapper classes for visual components is similar:
  • Open your MFC project
  • In a Solution explorer, right-click on a project to select "Add / Class..."
  • Select "MFC / MFC Class From ActiveX Control"
  • etc.

Created: June 13, 2014, Modified: June 13, 2014