Gaston Milano's WebLog

About something...

Sponsors

News

General

Usability

VS Automation

VSIP

June 2004 - Posts

VSIP: Babel Fix
After I developed a language service with babel, I noted that when you are
 in a file that use this language service, the SearchCombo (Find combo) is
 empty, the same happen with  configurations combo. I was trying to fix
 this problem and finally I found the cause of the problem. In the babel
 package in the ViewFilter.cpp there is an error.
 In the execute method

 STDMETHODIMP ViewFilter::Exec(in const GUID* commandGroup, ....., out
 VARIANT* result)
 {
     if (result) VariantInit(result);
         ....
 }

 If you comment the "if" statement everything start working
 The problem is that the ViewFilter can't initialize this variant always,
it should initialize the result only if it handle the command, because it is
in  a message chain.

 Now my problem is how to distribute my babel package, I don't wanna change
 the guids only for this fix, may be in the site the VSIP Team could upload
a new merge module for babel with fixes.
Posted: Jun 30 2004, 08:53 AM by GMilano | with 3 comment(s)
Filed under:
More Posts