A
Aleksandr Ignatov
I am using System.Diagnostics.EventLog object and it looks.
like there is no way that I can't pass array of the string for
parameters in given message from custome message files as it was posible
to do in standart SDK function
BOOL ReportEvent(
HANDLE hEventLog,
WORD wType,
WORD wCategory,
DWORD dwEventID,
PSID lpUserSid,
WORD wNumStrings, // Number of strings in the array
DWORD dwDataSize,
LPCTSTR* lpStrings, // Pointer to a buffer containing an
array of // null-terminated strings that are merged into // the
message from the message file
LPVOID lpRawData
);
Correct me if I am wrong, but wouldn't be reasonable to
have a function WriteEntry that will take String[]
as a parameter.
Thank's
Aleksandr
like there is no way that I can't pass array of the string for
parameters in given message from custome message files as it was posible
to do in standart SDK function
BOOL ReportEvent(
HANDLE hEventLog,
WORD wType,
WORD wCategory,
DWORD dwEventID,
PSID lpUserSid,
WORD wNumStrings, // Number of strings in the array
DWORD dwDataSize,
LPCTSTR* lpStrings, // Pointer to a buffer containing an
array of // null-terminated strings that are merged into // the
message from the message file
LPVOID lpRawData
);
Correct me if I am wrong, but wouldn't be reasonable to
have a function WriteEntry that will take String[]
as a parameter.
Thank's
Aleksandr