Hans Leidekker hans@it.vu.nl writes:
+/***********************************************************************
SnmpUtilPrintOid (SNMPAPI.@)
- */
+void WINAPI SnmpUtilPrintOid(AsnObjectIdentifier *oid) +{
- unsigned int i;
- TRACE("(%p)\n", oid);
- if (!oid) return;
- for (i = 0; i < oid->idLength; i++)
- {
printf("%u", oid->ids[i]);
if (i < oid->idLength - 1) printf(".");
- }
+}
You don't want to use stdio functions in Wine. If apps really depend on these functions you'd have to use msvcrt, but otherwise you can simply use TRACE (or not implement them at all).
On Monday 22 January 2007 12:49, Alexandre Julliard wrote:
You don't want to use stdio functions in Wine. If apps really depend on these functions you'd have to use msvcrt, but otherwise you can simply use TRACE (or not implement them at all).
What's the alternative for sprintf?
-Hans
On Monday 22 January 2007 08:13, Hans Leidekker wrote:
On Monday 22 January 2007 12:49, Alexandre Julliard wrote:
You don't want to use stdio functions in Wine. If apps really depend on these functions you'd have to use msvcrt, but otherwise you can simply use TRACE (or not implement them at all).
What's the alternative for sprintf?
Methinks you're free to use it if you use it safely (mind the buffer overflows).
Cheers, Kuba