Re: Service & database.
"Eitan M" <no_spam_please@nospam_please.com> wrote in message
news:O9yikuiEHHA.1196@TK2MSFTNGP02.phx.gbl
1) Does it metter if I program *.c file or *.cpp file for creating a
service ?
Not in the slightest.
on the other hand in *.cpp the following cannot be compiled :
ReportEvent(hEventSource, // handle of event source
EVENTLOG_ERROR_TYPE, // event type
0, // event category
0, // event ID
NULL, // current user's SID
2, // strings in lpszStrings
0, // no bytes of raw data
lpszStrings, // array of error strings
NULL); // no raw data
I don't see any reason why this should not compile. Show the exact error
message.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925