I use VC6, (no MFC) and I am not familiar with COM's

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
rompelstilchen
Posts: 12
Joined: Wed Oct 03, 2007 5:10 pm

I use VC6, (no MFC) and I am not familiar with COM's

Post by rompelstilchen »

Hi folks,

I am currently evaluating a space navigator and just found out about the SDK.
I try to compile the cube example with VC6(cannot afford a new ide and don't wanna hear about MS ligthweight versions "express" or what so ever)
I also want to keep the 3DX panel capabilities, so don't want to talk to USB directly, bypassing the main driver

I've set WINVER to 400 :
-----------------------------------
#ifndef WINVER // Allow use of features specific to Windows XP or later.
#define WINVER 0x0401 // Change this to the appropriate value to target other versions of Windows.
#endif

I commented those lines
------------------------------
/*#include <atlbase>
#include <atlcom>
#include <atlwin>
#include <atltypes>
#include <atlctl>
#include <atlhost>

using namespace ATL;*/

this line : #import "progid:TDxInput.Device.1" no_namespace
does not seem to be VC6 compatible:
src\stdafx.h(43) : fatal error C1083: Cannot open type library file: 'progid:TDxInput.Device.1': No such file or directory
Math3d.cpp

can someone help ?
I want to integrate this to my engine
http://www.blackburst3D.com

my compagny is intending to make video games and btw if you know how to make Blender operate correctly, plz
drop me a life saving solution on this one
viewtopic.php?p=6721#6721
sheers
Phil
ngomes
Moderator
Moderator
Posts: 3353
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Post by ngomes »

Hi rompelstilchen,

Lookup the doc for the #import statement in the MSDN Library. You should be able to use it with the DLL (3DxInput.dll) file which contains all the type information.
Nuno Gomes
Post Reply