Hi Sebastian!

I have not used VS2003, 1200 is VC6 and 1500 is VS2008. I think 1300 is
correct for 2003, but just search for _MSC_VER in your documentation. You
are right, I made the change before 0.7 was branched. If 2003 does not
support streams with wchar_t you might have to change the comparision.

Uli

-----Ursprüngliche Nachricht-----
Von: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17)
[mailto:[email protected]] 
Gesendet: Montag, 9. Februar 2009 15:12
An: [email protected]
Cc: [email protected]
Betreff: AW: [Podofo-users] Problems compiling 0.7 on Windows and
VisualStudio

Hello Uli,

I'm using the 0.7.0 relase version and not the trunk.

I've seen this ifdef and the comparison in PdfInputDevice.cpp
>#ifdef _WIN32
>#if defined(_MSC_VER)  &&  _MSC_VER <= 1200                    // nicht für
Visualstudio 6
>#else
>PdfInputDevice::PdfInputDevice( const wchar_t* pszFilename )

But I'm not using VC6, I use VS 2003 .NET.

What number I need for this VS version?

Bye
Sebastian 

-----Ursprüngliche Nachricht-----
Von: Ulrich Arnold [mailto:[email protected]]
Gesendet: Montag, 9. Februar 2009 15:01
An: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17);
[email protected]
Betreff: Re: [Podofo-users] Problems compiling 0.7 on Windows and
VisualStudio

Hi Sebastian!

I had this problem too, when I had to work with Visual-Studio 6 and I
introduced the #ifdef at line 59 of PdfInputDevice.cpp and some other places
in SVN-trunk, because not all stream-functions of VC6 are wchar_t aware. If
you are already using the trunk, you might have to modify the 1200 in the
comparision. I've only tested in VC6 (=1200) and VS2008 (=1500). 

Uli 

-----Ursprüngliche Nachricht-----
Von: EXTERNAL Loch Sebastian (Firma Ferchau;BhP/TEF17)
[mailto:[email protected]]
Gesendet: Montag, 9. Februar 2009 14:43
An: [email protected]
Betreff: [Podofo-users] Problems compiling 0.7 on Windows and Visual Studio

Hello all,

today I wanna give the new release a try, but I can't compile the dll, as I
there's something wrong with the input parameter of the ctor
PdfInputDevice::PdfInputDevice( const wchar_t* pszFilename )

s:\vsprojects\podofo-0.7.0\src\PdfInputDevice.cpp(72): error C2664:
'std::basic_ifstream<_Elem,_Traits>::basic_ifstream(const char
*,std::_Iosb<_Dummy>::openmode,int)': Konvertierung des Parameters 1 von
'const wchar_t *' in 'const char *' nicht möglich
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Dummy=int
        ]

I'm on Windows XP with VS .NET.

Any ideas to resolve the conversion problem?

Thanks!

Bye
Sebastian 


 

__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3838
(20090209) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3838
(20090209) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com
 


----------------------------------------------------------------------------
--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing
skills and code to build responsive, highly engaging applications that
combine the power of local resources and data with the reach of the web.
Download the Adobe AIR SDK and Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3838
(20090209) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com


 

__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3838
(20090209) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com
 


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to