Click here to Skip to main content
15,888,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Good way to optimize or replace a nested for loop? Pin
«_Superman_»2-Mar-14 15:48
professional«_Superman_»2-Mar-14 15:48 
GeneralRe: Good way to optimize or replace a nested for loop? Pin
NilssonCreative3-Mar-14 6:20
professionalNilssonCreative3-Mar-14 6:20 
GeneralRe: Good way to optimize or replace a nested for loop? Pin
«_Superman_»3-Mar-14 14:53
professional«_Superman_»3-Mar-14 14:53 
GeneralRe: Good way to optimize or replace a nested for loop? Pin
NilssonCreative3-Mar-14 16:07
professionalNilssonCreative3-Mar-14 16:07 
QuestionAdding new GUID to uuids.h and the new library won't link Pin
Vaclav_1-Mar-14 7:48
Vaclav_1-Mar-14 7:48 
AnswerRe: Adding new GUID to uuids.h and the new library won't link Pin
«_Superman_»1-Mar-14 20:46
professional«_Superman_»1-Mar-14 20:46 
GeneralRe: Adding new GUID to uuids.h and the new library won't link SOLVED Pin
Vaclav_2-Mar-14 5:37
Vaclav_2-Mar-14 5:37 
GeneralRe: Adding new GUID to uuids.h and the new library won't link SOLVED Pin
Vaclav_2-Mar-14 7:11
Vaclav_2-Mar-14 7:11 
Spoke too soon.
My attempt to stop multiple defintions run into a snag.
I added a "standard" #ifndef / #define flag/ switch to uuids.h - the one I have modified.
I make sure I use that one.
The "problem" is with plain / non modified DirectShow BaseClasses WXDebug.cpp file.
It compiler get wild in this macro :


/* Stuff for printing out our GUID names */
GUID_STRING_ENTRY g_GuidNames[] = {
#define OUR_GUID_ENTRY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
{ #name, { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } },
#include <uuids.h>
};


D:\00\0 SDK\DIrectShow 8.1 SDK\samples\Multimedia\DirectShow\BaseClasses\wxdebug.cpp(936) : error C2059: syntax error : '}'
D:\00\0 SDK\DIrectShow 8.1 SDK\samples\Multimedia\DirectShow\BaseClasses\wxdebug.cpp(936) : error C2143: syntax error : missing ';' before '}'
D:\00\0 SDK\DIrectShow 8.1 SDK\samples\Multimedia\DirectShow\BaseClasses\wxdebug.cpp(936) : error C2143: syntax error : missing ';' before '}'
D:\00\0 SDK\DIrectShow 8.1 SDK\samples\Multimedia\DirectShow\BaseClasses\wxdebug.cpp(939) : error C2070: illegal sizeof operand
Error executing cl.exe.

Apparently the #include <uuids.h> header is no longer OK in the GUID_STRING_ENTRY macro.
I have no clue how to modify this macro and keep the DirectShow debug happy.
Not realy sure if I need the debug, so I may just skip it from compiling if things don't fall apart more.
JokeRe: Adding new GUID to uuids.h and the new library won't link SOLVED Pin
«_Superman_»2-Mar-14 15:43
professional«_Superman_»2-Mar-14 15:43 
QuestionCircular buffer for file Pin
Dansveen28-Feb-14 10:36
Dansveen28-Feb-14 10:36 
AnswerRe: Circular buffer for file Pin
CPallini28-Feb-14 12:44
mveCPallini28-Feb-14 12:44 
QuestionMFC App & Physical Memory Pin
Don Guy28-Feb-14 9:41
Don Guy28-Feb-14 9:41 
AnswerRe: MFC App & Physical Memory Pin
Richard Andrew x6428-Feb-14 10:28
professionalRichard Andrew x6428-Feb-14 10:28 
GeneralRe: MFC App & Physical Memory Pin
Don Guy28-Feb-14 10:57
Don Guy28-Feb-14 10:57 
AnswerRe: MFC App & Physical Memory Pin
Richard Andrew x6428-Feb-14 11:02
professionalRichard Andrew x6428-Feb-14 11:02 
AnswerRe: MFC App & Physical Memory Pin
David Crow1-Mar-14 6:05
David Crow1-Mar-14 6:05 
QuestionProgram Involving Many changing strings, library’s, and or databases and files? Pin
Craig McRae28-Feb-14 8:01
Craig McRae28-Feb-14 8:01 
AnswerRe: Program Involving Many changing strings, library’s, and or databases and files? Pin
Garth J Lancaster28-Feb-14 11:47
professionalGarth J Lancaster28-Feb-14 11:47 
GeneralRe: Program Involving Many changing strings, library’s, and or databases and files? Pin
Craig McRae2-Mar-14 16:20
Craig McRae2-Mar-14 16:20 
GeneralRe: Program Involving Many changing strings, library’s, and or databases and files? Pin
Garth J Lancaster2-Mar-14 19:58
professionalGarth J Lancaster2-Mar-14 19:58 
GeneralRe: Program Involving Many changing strings, library’s, and or databases and files? Pin
Craig McRae4-Mar-14 8:24
Craig McRae4-Mar-14 8:24 
GeneralRe: Program Involving Many changing strings, library’s, and or databases and files? Pin
Craig McRae2-Mar-14 16:22
Craig McRae2-Mar-14 16:22 
AnswerReply 2 Pin
Garth J Lancaster28-Feb-14 11:55
professionalGarth J Lancaster28-Feb-14 11:55 
GeneralRe: Reply 2 Pin
Craig McRae2-Mar-14 15:42
Craig McRae2-Mar-14 15:42 
AnswerRe: Program Involving Many changing strings, library’s, and or databases and files? Pin
jschell28-Feb-14 13:21
jschell28-Feb-14 13:21 

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.