[XviD-devel] Did OutputDebugStringf(const char*, ...) get lost in the Forbidden Forest?

Kerewin pyromedia at tiscali.co.uk
Wed Feb 15 10:59:01 CET 2006


Hi,

Thanks,. I have written one already...

Better use the one in CVS though. It is good refresh after 15 years variable
length argument lists...

#include <stdio.h>
#include <Windows.h>
#include "debug.h"

void OutputDebugStringf(char *format, ...) 
{ 
	va_list l; 
	char s[512]; 

	va_start(l, format); 
	vsprintf((char *)s, format, l); 
	va_end(l); 
	OutputDebugString((LPCTSTR)s);
}

Kerewin.

-----Original Message-----
From: xvid-devel-bounces at xvid.org [mailto:xvid-devel-bounces at xvid.org] On
Behalf Of pete
Sent: 15 February 2006 09:22
To: xvid-devel at xvid.org
Subject: Re: [XviD-devel] Did OutputDebugStringf(const char*,...) get lost
in the Forbidden Forest?

hi there,

On Wed, 15 Feb 2006 03:46:15 -0000 "Kerewin" <pyromedia at tiscali.co.uk>
wrote:
> I am orf to roll an OutputDebugStringf(lpcstr c,...) coz release 1.1.0
lacks
> debug.c. The I am going to have -0.0 cups of coffee.

debug.c (including OutputDebugStringf) is available within the cvs
repository.

cheers,
-- pete

_______________________________________________
XviD-devel mailing list
XviD-devel at xvid.org
http://list.xvid.org/mailman/listinfo/xvid-devel



More information about the XviD-devel mailing list