You may post here on any subjects related to this site or the software therein.
(Most everything on this site is tied into the forums so that you may leave or post comments about it.)
From Macromedia:
The problem lies in the cfx code itself. The cfx doesn`t call CoInitialize(NULL) to init the ADSI COM object. This code worked ok on the native langauge (c++) based CF platform (<=CF5), but now that we`re on Java we don`t get the init call for free. If you add the CoInitialize() and CoUninitialize() you`ll get a little further.
There is a MS KB article covering this:
http://support.microsoft.com/?kbid=171724
It looks like this project needs some updating to run from the Java platform. Luckily the source is available from Intrafoundation.
void ProcessTagRequest( CCFXRequest* pRequest )
{
try
{
::CoInitialize(NULL); //<-------line 6208 inside the processTagReqest
seconds.Format("%u",span.GetTotalSeconds());
pRequest->SetVariable( "IISSeconds", seconds);
::CoUninitialize(); //<---------line 6334 before the function closes.
That's what I love about open-source -- it lets other people find your mistakes. :)
As I mentioned to someone from Macromedia it was a surprise to me the code didn't call coinit. It was in there at one time. It probably got misplaced while doing copy/pastes in the haste to release the project as open-source when I had to drop it because of an exclusivity clause with a new job a few years back.
At any rate, although it doesn't SAY it's different, the version of IHTK downloadable NOW was recompiled with the fix today. If I have the time this weekend I might even change the documention to reflect this. :)
--min