EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17) wrote:
Good morning,
I'm back in the office.
Could you please check which issues you resolved
when compiling under VS2008?
Thanks for your help.
Regards
Sebastian
The attached diff files identify the changes from the files in
podofo-0.7.0 .tar.gz
I disabled some of the deprecated function warnings (warning 4996) and
defined UNICODE in the compiler preprocessor options.
As far as I remember, that is all it took.
The one change in PdfFontCache which replaces the strcpy routine is
something I think is a security issue, unless there is some way that the
rest of the software ensures and enforces that lf.lfFaceName never
exceeds the buffer size.
Arnold
-----Ursprüngliche Nachricht-----
Von: jecxz112 [mailto:[email protected]]
Gesendet: Donnerstag, 8. Oktober 2009 20:46
An: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17)
Betreff: Re: [Podofo-users] Problems building PoDoFo on Windows
EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17) wrote:
Hello,
I'm trying to build the actual svn version
with VS 2003 and getting compile errors.
See the attached log for details please.
Any ideas?
Regards
Sebastian
Hi,
although I don't know what help I can give at this time - I'm of for the
rest of the day more or less - and I am not using Cmake, but I am very
much interested in compiling podofo under windows using Visual Studio.
I have succeeded compiling he library under Visual Studio 2008 C++
Express - the free version - and have been able to build the info
console app. It has been a while since I last worked on it, but there
were a number of issues I had to resolve.
If you're interested in compiling under MSVS, let me know and I may be
able to look back to see what I had to change to make it compile; mind
you there will also be some differences due to VS versions
Arnold
--
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.14/2433 - Release Date: 10/13/09 13:25:00
--
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml
35c35
<
---
> #include <stdio.h>
394,395c394,396
< strcpy( static_cast<char*>(lf.lfFaceName), pszFontName );
<
---
> //?? strcpy( static_cast<char*>(lf.lfFaceName), pszFontName );
> wcsncpy( lf.lfFaceName, (TCHAR *)pszFontName, LF_FACESIZE-1 );
>
68,69c68,69
< #if defined(_MSC_VER) && _MSC_VER <= 1200 // nicht für
Visualstudio 6
< #else
---
> //#if defined(_MSC_VER) && _MSC_VER <= 1200 // nicht für
> Visualstudio 6
> //#else
75c75
< #endif
---
> //#endif
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users