Cannot build example in VS2015

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message

Michael Sachs

  • Posts: 3
  • Joined: Mon Jul 17, 2017 11:53 am

Cannot build example in VS2015

PostMon Jan 15, 2018 8:53 pm

I am trying to build the DirectShow Playback example and am getting the following errors:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\atlwinverapi.h(710): error C3861: 'LCMapStringEx': identifier not found
1> amfilter.cpp

I have Windows 7, .Net 4.7.2 and VS2015 Professional

Any help would be appreciated, thanks.

Cameron Nichols

Blackmagic Design

  • Posts: 140
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Cannot build example in VS2015

PostTue Jan 16, 2018 11:28 pm

Hi Michael,

LCMapStringEx is a feature targeting Windows Vista and later, so you will need to set _WIN32_WINNT to 0x0600 (or later) [1] in %SDK%\Win\DirectShow\Samples\DeckLinkPlayback\stdafx.h


[1] ... 45(v=vs.85).aspx

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 3 guests