My Drive Error

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

Moderator: Moderators

Post Reply
Quorthon3D
Posts: 2
Joined: Mon Oct 13, 2008 6:02 am

My Drive Error

Post by Quorthon3D »

Good Morning.
I'm making a drive for my app(virtual reality - control of mine of extract in 3d). I maked a demo in c# only for test, this demo build a DLL. that is ok. But when i maked in c++(my kernel is in c++), first i try making in basic console application, importing the dll TDxInput, how says documetaion.

Code: Select all

#import progid:TDxInput.Device embbeded_idl no_namespace
a error occurred, says:

Code: Select all

myObject uses undefined struct Device
try too uses my dll, importing a archive tlb, maked in c#, but error of sintax occurred, _TypePtr not is meeting in c++.
anybody how resolve this question? :wink:
ngomes
Moderator
Moderator
Posts: 3458
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Post by ngomes »

Hi Quorthon3D,

Apologises for not replying any sooner.

Is that the first error? You need to include the header file with the import directive in your cpp. If using Visual Studio, this is normally done by included the pre-compiled header file "stdafx.h" in the cpp.
Nuno Gomes
Post Reply