Saturday, April 17, 2010

Google Wave Hacked?

I have just read  China's Internet Paradox at MIT Technology Review and thought the topic can be referred to the situation happened with me this morning.

Today I’ve visited the CodeCamp conference in Kyiv. After the greeting words I  had a couple of minutes. I checked my mailbox and found a suspicious letter from my college who was sitting nearby.

The content was:

image 

The message was sent on Saturday at 6.30 a.m.! Furthermore the content was definitely a spam. And finally my college didn't know my private email address (gmail account) as well as private addresses of other recipients of the letter. But!!! All the recipients are subscribed to the same google wave.

The only place how this information could be disclosed is the google address book. And what is the worst the message was found in the sent messages queue of gmail client.

Looks like google had not learned yet it has become a pawn of a big game.

Singing: M@ney, m@ney, m@ney

Sunday, April 11, 2010

ActiveX Version Registration

On Friday I spent some time for investigation of ActiveX versioning issue when it is installed using msi package. This msi package registers the ActiveX control as a COM server using regasm tool.

The problem was the version part of the codebase attribute did not work properly. I have found some similar complaints at different sites.

As a result there is a need to create a registry key:

HKCR/CLSID/{GUID}/InstalledVersion/(Default)

where default value is the version referenced in the Html (decimals replaced by commas).

Per-user, this value is at:

HKCU/Software/Classes/{GUID}/InstalledVersion/(Default).

NOTE: You have to create this key, regasm does not create it.

Thursday, April 01, 2010

Delivering Client Application Using ActiveX

Recently at work I investigated the possibility of delivering our rich client application as an ActiveX control. I was surprised to know there is no good support of ActiveX CAB delivering in Visual Studio 2008. What I had to do is to learn a little the syntax of cab inf file. Strange format as for me:

[Setup Hooks]
hook1=hook1

[hook1]
run=msiexec.exe /i "%EXTRACT_DIR%\setup1.msi" /qn

[Version]
signature="$CHICAGO$" AdvancedINF=2.0

I've 'rambled' many sites, some of them can be useful for you:
http://www.osronline.com/ddkx/install/create-inf_4l47.htm
http://msdn.microsoft.com/en-us/library/aa751974(VS.85).aspx