General information
Category:
Pictures and Image processing
Hi Alexander,
I have unzipped the capture.zip into the directory capture. I have tried the capture.dll and it works.
I have also tried to rebuild it using VC++ 6.0. When I open the capture.dsw, the project only contains 2 source files: capture.cpp and stdafx.cpp, 1 header file: stdafx.h, and the ReadMe.txt. If I just build the capture.dll, I will get fatal error C1083: Cannot open include file: 'GdiPlus.h': No such file or directory. I also notice that basetsd.h is added to External Dependencies. I believe the error is actually normal since capture.cpp has the #include "GdiPlus.h". So, I copied all the gdiplus*.h from the Platform SDK to the capture directory and try building the dll again. Well, this time I got a lot of errors and I kind of figure out that the errors are caused by having an older version of stdafx.h in the C:\Program Files\Microsoft Visual Studio\VC98\Include directory. So, I copied the one from Platform SDK. Then I only get fatal error LNK1181: cannot open input file "gdiplus.lib". So, I copied the one from Platform SDK to the capture directory. Finally, I can rebuild the capture.dll.
I guess now I just need to understand the capture.cpp and add some error/exception checking.:-)
Thank you,
Peter
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only