All, I'm trying to compile Inline::Ruby on win32, using visualc++ v6 and activestate perl, without too much luck, in trying to get HttpWatch to work with perl.
In particular, I'm having difficulty with the headers. When you try to compile it, the lines in malloc.h and signal.h (win32 headers) turn from: _CRTIMP void (__cdecl * __cdecl signal(int, void (__cdecl *)(int)))(int); into __declspec(dllimport) void (__cdecl * __cdecl (*(*Perl_IProc_ptr(((PerlInterpreter *)Perl_get_context())))->pSignal) ((*Perl_IProc_ptr(((PerlInterpreter *)Perl_get_context()))), (int), (void (__cdecl *)(int))) ) (int); This also happens with malloc, etc in the files: \visualc\VC98\Include\SIGNAL.H and \visual\VC98\Include\MALLOC.H with the errors: C:\visualc\VC98\INCLUDE\signal.h(102) : error C2059: syntax error : '(' C:\visualc\VC98\INCLUDE\malloc.h(106) : error C2059: syntax error : '(' C:\visualc\VC98\INCLUDE\malloc.h(107) : error C2059: syntax error : '(' C:\visualc\VC98\INCLUDE\malloc.h(108) : error C2059: syntax error : '(' Same thing happens with ruby (the win32.h headers) I am using http://rubyforge.org/frs/?group_id=167 as a ruby executable (native win32) and http://rubyforge.org/frs/?group_id=104 As I said, the ultimate goal is to be able to use HttpWatch (http://www.httpwatch.com) with perl - it pisses me off, it has a ruby API but no perl API. Given that this is the best tool I've ever used for sniffing http traffic (even does https unencryption transparently) and that it would allow perl to very finely control IE (and ultimately firefox) using OLE, I'd love to get this to work natively (rather than try to loop it in through a separate, ruby script). And not having the time to write a native perl API for the program myself, I thought I'd borrow ruby's. . Any ideas on helping compile this would be very helpful.. Also, any line on a HttpWatch API for perl would be very welcome. Ed _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs