Re: DirectShow, compilation problem after install SDK
- From: "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@xxxxxxxxxxxxxxx>
- Date: Sun, 3 Jun 2007 19:45:43 -0700
untitled wrote:
after i installed the SDK for platform and directx, i configured the
VC directory for lib and include of both.
now after i added the first line in a windows prject :
#include "DShow.h"
i got this error messages, dosens of them:
D:\Program\Microsoft Platform SDK for Windows Server 2003 R2\Include
\strsafe.h(288) : error C4439: 'StringVPrintfWorkerA' : function
definition with a managed type in the signature must have a __clrcall
calling convention
don't know what did i screw up.
whats the problem? thanks!
Your project is set up for managed code - DirectX is native code. Are you
using VC++ Express, by any chance? (If you are, look here:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ for help in
configuring VC++ Express for SDK development). If you're using VC++
Standard or higher, then go into your project properties and change the
project type from managed to unmanaged (native).
-cd
.
- Follow-Ups:
- Re: DirectShow, compilation problem after install SDK
- From: untitled
- Re: DirectShow, compilation problem after install SDK
- References:
- DirectShow, compilation problem after install SDK
- From: untitled
- DirectShow, compilation problem after install SDK
- Prev by Date: Re: Need help with InternetOpenUrl
- Next by Date: Re: Visual C++ Express and DDK for HID interfacing
- Previous by thread: DirectShow, compilation problem after install SDK
- Next by thread: Re: DirectShow, compilation problem after install SDK
- Index(es):