Tuesday, July 27, 2004
Monday, July 19, 2004
Title: Explore &Target Directory
Parameters: /e,/select, $EXENAME
Title: Explore &Source Directory
Parameters: /e,/select, $EDNAME
Title: Open Source in &Notepad2
Program: C:\Program Files\Notepad2\Notepad2.exe
Title: &Console in Target Directory
Parameters: /k cd $PATH($EXENAME)
Title: C&onsole in Source Directory
Parameters: /k cd $PATH($EDNAME)
Title: Explore &Delphi Directory
Parameters: "C:\Program Files\Borland\Delphi7",/e
Title: &Resource Explorer
A quote from MSDN:
"There is no indication of success or failure. Failure is rare. There is no extended error information for this function; do not call GetLastError."
I think this gem should be archived for future generations ;-)
It's an excerpt from documentation of CharLower API function.
Under certain circumstances, httpsrvr.dll may make one additional, superfluous call to ReadClient after all data has already been read. In such case, the call will time out after 60 seconds.
Only happens if the client request content length is so big (from my tests, >48K) that it has to be read in chunks.
Sunday, July 18, 2004
Friday, July 16, 2004
The easiest way to create such a package is to let the Delphi IDE generate it for you ;-)
It does it when you double-click a .dcp node in the package designer, so, for example, if you want it to generate vcldb.bpl you first need to open a package which contains vcldb.dcp in its requires clause. Or create a new temporary .dpk project and add vcldb.dcp to its requires clause so you can double-click it.
Save the generated package project under a name corresponding with the target .bpl file name - for example, in Delphi 7 save generated vcldb.dpk as vcldb70.dpk. This will make the Translation Manager create the correct resource DLL project file name and you won't have to rename it before deployment.
From this point on, everything is pretty much standard - you use the Translation Manager to add new languages and translate the resources as usual. I've just tried it and it works. Easy, isn't it?
Tuesday, July 06, 2004
I'm going to the hospital tomorrow. Should be back home on Friday, if everything goes well. The right arm will be fixated again.
Oh my. More pain. More one-hand typing... Grrrrr.