Donate Share

Java Service Wrapper

Tracker: Bugs

5 Wrapper doesn't compile with Visual Studio 2005 - ID: 1535403
Last Update: Comment added ( rastaman )

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) {


Ludovic MAITRE ( rastaman ) - 2006-08-06 13:30

5

Open

None

Nobody/Anonymous

Configuration

None

Public


Comment ( 1 )




Date: 2006-08-06 13:35
Sender: rastamanAccepting Donations

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 comment.

Attached File ( 1 )

Filename Description Download
vc2005.diff Diffs used to compile with VC2005 Download

Change ( 1 )

Field Old Value Date By
File Added 187848: vc2005.diff 2006-08-06 13:30 rastaman