Menu ▾ ▴

#131 Wrapper doesn't compile with Visual Studio 2005

open
nobody
5
2012-12-11
2006-08-06
No

Hi all,

I just discover this project and i have tried to
rebuilt the native parts but i haven't been able to
compile it out-of-box with Visual Studio 8/2005,
PlatformSDK and Windows XP Pro SP2.

I have modified various files in order to compile the
native libs, mostly to replace references to VC98 by
references to VC.

The only modification i had to do in the code, and i
would like to have feedback on it since i'm a newbie in
C++ under Windows, is the following:
void _CRTAPI1 main(int argc, char **argv) {
Has been modified in :
void /*_CRTAPI1*/ main(int argc, char **argv) {

Discussion

  • Ludovic MAITRE

    Ludovic MAITRE - 2006-08-06

    Diffs used to compile with VC2005

     
  • Ludovic MAITRE

    Ludovic MAITRE - 2006-08-06

    Logged In: YES
    user_id=91231

    Oups, it seems that the diff for wrapper_win.c hasn't been
    included. To use the patch you have also to modify
    src/c/wrapper_win.c, line 3611 :
    void _CRTAPI1 main(int argc, char **argv) {
    by
    void /*_CRTAPI1*/ main(int argc, char **argv) {

     

Log in to post a comment.