Thread: VirtualDub2
View Single Post
Old 28th June 2016, 15:27   #29  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Seems that afxres.h is not included with Express versions and so plugin cannot be compiled under VS 2008 Express.

(Part of MFC, is that really necessary ?)

Code:
Compiling...
accel.cpp
c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\accel.cpp(67) : 
fatal error C1083: Cannot open include file: 'afxres.h': No such file or directory

AVSViewer.cpp
c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\avsviewer.cpp(62) : 
fatal error C1083: Cannot open include file: 'afxres.h': No such file or directory
Everything else seems to compile OK.

EDIT: For accel.cpp
if I comment out include "afxres.h" I get this

Code:
1>c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\accel.cpp(80) : error C2065: 'ID_FILE_NEW' : undeclared identifier
1>c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\accel.cpp(81) : error C2065: 'ID_FILE_OPEN' : undeclared identifier
1>c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\accel.cpp(91) : error C2065: 'ID_EDIT_REDO' : undeclared identifier
1>c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\accel.cpp(92) : error C2065: 'ID_EDIT_UNDO' : undeclared identifier
1>c:\temp\vdfiltermod-scripted-d01fa5f6f9aeaf63cb6171347c2cad604e842fe1\accel.cpp(102) : error C2065: 'ID_EDIT_FIND' : undeclared identifier
EDIT: More or less same if compiling AVSViewer.cpp with missing header commented out.
Someone on StackOverFlow, says can replace afxres.h with windows.h if not using MFC.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 28th June 2016 at 15:50.
StainlessS is offline   Reply With Quote