Click here to Skip to main content
15,913,156 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:42
bhanu_850927-Jun-08 6:42 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:47
bhanu_850927-Jun-08 6:47 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:38
Mark Salsbery27-Jun-08 6:38 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:16
Mark Salsbery27-Jun-08 6:16 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:38
bhanu_850927-Jun-08 6:38 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:43
Mark Salsbery27-Jun-08 6:43 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:48
bhanu_850927-Jun-08 6:48 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 7:05
Mark Salsbery27-Jun-08 7:05 
1) First you need to change your project settings to use /clr WITHOUT the :pure or :safe.
Right click the project in solution explorer, choose properties -
General/Common Language Runtime Support

If your assembly MUST be pure, then you'll need to use interop or the managed wrappers
for DirectShow, and none of the following applies.

2) Try starting with a stdafx file with the following:
#pragma once


#ifndef WINVER                          // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0600           // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINDOWS          // Specifies that the minimum required platform is Windows 98.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE                       // Specifies that the minimum required platform is Internet Explorer 7.0.
#define _WIN32_IE 0x0700        // Change this to the appropriate value to target other versions of IE.
#endif


#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers


#include <windows.h>	// Windows Header File
#include <dshow.h>	// DirectShow header - also includes windows.h

Set the version macros to target the operating system version you want to target.

3) Make sure you've set your VC++ directories to use the PSDK 2003 R2 files BEFORE using
the VS Windows SDK files, as we discussed already.

4) Make sure you include the following library in your project: Strmiids.lib







GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 21:13
bhanu_850927-Jun-08 21:13 
QuestionReferncing a wsdl created by axis2 in Visual studio2008 [modified] Pin
Xaria23-Jun-08 5:01
Xaria23-Jun-08 5:01 
AnswerRe: Referncing a wsdl created by axis2 in Visual studio2008 Pin
led mike23-Jun-08 5:59
led mike23-Jun-08 5:59 
QuestionDark GDK Pin
Manfr3d23-Jun-08 2:48
Manfr3d23-Jun-08 2:48 
AnswerRe: Dark GDK Pin
led mike23-Jun-08 4:57
led mike23-Jun-08 4:57 
GeneralRe: Dark GDK Pin
Manfr3d23-Jun-08 5:07
Manfr3d23-Jun-08 5:07 
GeneralRe: Dark GDK Pin
led mike23-Jun-08 5:56
led mike23-Jun-08 5:56 
QuestionI couldn,t able to select Pin
rose19621-Jun-08 1:51
rose19621-Jun-08 1:51 
AnswerRe: I couldn,t able to select Pin
Mark Salsbery24-Jun-08 6:16
Mark Salsbery24-Jun-08 6:16 
QuestionDataGridView in a GroupBox Pin
Oddball19-Jun-08 7:42
Oddball19-Jun-08 7:42 
QuestionCan you suspend the OnPaint function? Pin
BuckBrown18-Jun-08 7:37
BuckBrown18-Jun-08 7:37 
AnswerRe: Can you suspend the OnPaint function? Pin
Christian Graus23-Jun-08 12:01
protectorChristian Graus23-Jun-08 12:01 
AnswerRe: Can you suspend the OnPaint function? Pin
Luc Pattyn23-Jun-08 14:39
sitebuilderLuc Pattyn23-Jun-08 14:39 
GeneralRe: Can you suspend the OnPaint function? Pin
BuckBrown25-Jun-08 12:14
BuckBrown25-Jun-08 12:14 
QuestionCan you use Forms Designer to index controls? Pin
BuckBrown17-Jun-08 10:54
BuckBrown17-Jun-08 10:54 
AnswerRe: Can you use Forms Designer to index controls? [modified] Pin
Mark Salsbery17-Jun-08 11:38
Mark Salsbery17-Jun-08 11:38 
GeneralRe: Can you use Forms Designer to index controls? Pin
led mike19-Jun-08 6:11
led mike19-Jun-08 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.