|
|
Choosing A Webhost: |
__stdcall ?: msg#00043apache.logging.log4cxx.user
I am writing some installation code, and wanted to include logging in it. Do I have to install lib4cxxd.dll before I can use it? Do I just add it to the PATH? or LIBPATH? The code used in a .msi must be __stdcall, does that have an effect? I haven't crossed this bridge before. Here is my code: extern "C" UINT __stdcall ValidateActuateiServerSettings(MSIHANDLE hInstall) { char ServerPort[MAX_PATH]; DWORD ServerPortLen = MAX_PATH; BasicConfigurator::configure(); LoggerPtr rootLogger = Logger::getRootLogger(); LOG4CXX_INFO(rootLogger, "Entering ValidateActuateiServerSettings"); MsiGetProperty (hInstall, "ISERVERPORT", ServerPort, &ServerPortLen); MsiSetProperty (hInstall, "PORTBUSY", ServerPort[0] == '1' ? "1" : "0"); LOG4CXX_INFO(rootLogger, "Exiting ValidateActuateiServerSettings"); return ERROR_SUCCESS; }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Errors compiling apr-1.1.0 with cc task on Solaris 10, jwert |
|---|---|
| Next by Date: | Trying to build win32 CVS Head, Javier |
| Previous by Thread: | Errors compiling apr-1.1.0 with cc task on Solaris 10, Chris Williams |
| Next by Thread: | Re: __stdcall ?, Owen Corpening |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |