PDA

View Full Version : cElectosVersionManager not working?



Jakob Kruse
2-Nov-2007, 01:38 PM
It seems there's a problem with the cElectosVersionManager class included in
Electos 3.0. Code like:

Get phoVersionInfo To hoVersionInfo

doesn't work. It should be:

Get phoVersionInfo of oApplication To hoVersionInfo

Without this change I always get 0.0 or 0.0.0.0 from the version functions.
With that slight change it works as expected.

Has this bug been fixed?
--
/Jakob

Edwin van der Velden
3-Nov-2007, 05:05 PM
Hi Jakob,

This bug does not seem to occur for me. But I see no harm in adding the
oApplication part so I 'll change this for the next release.

-Edwin



"Jakob Kruse" <kruse@kruse-net.dk> wrote in message
news:nwcG%239XHIHA.4204@dacmail.dataaccess.com...
> It seems there's a problem with the cElectosVersionManager class included
> in Electos 3.0. Code like:
>
> Get phoVersionInfo To hoVersionInfo
>
> doesn't work. It should be:
>
> Get phoVersionInfo of oApplication To hoVersionInfo
>
> Without this change I always get 0.0 or 0.0.0.0 from the version
> functions. With that slight change it works as expected.
>
> Has this bug been fixed?
> --
> /Jakob
>

Jakob Kruse
4-Nov-2007, 01:52 PM
Maybe it works sometimes. I guess that would depend on the "neighbourhood".
I've made and oElectosVersionManager object in my own WBO, and that one
doesn't work.

Regards,
Jakob


"Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> skrev i en
meddelelse news:ommC7WmHIHA.4116@dacmail.dataaccess.com...
> Hi Jakob,
>
> This bug does not seem to occur for me. But I see no harm in adding the
> oApplication part so I 'll change this for the next release.
>
> -Edwin
>
>
>
> "Jakob Kruse" <kruse@kruse-net.dk> wrote in message
> news:nwcG%239XHIHA.4204@dacmail.dataaccess.com...
>> It seems there's a problem with the cElectosVersionManager class included
>> in Electos 3.0. Code like:
>>
>> Get phoVersionInfo To hoVersionInfo
>>
>> doesn't work. It should be:
>>
>> Get phoVersionInfo of oApplication To hoVersionInfo
>>
>> Without this change I always get 0.0 or 0.0.0.0 from the version
>> functions. With that slight change it works as expected.
>>
>> Has this bug been fixed?
>> --
>> /Jakob
>>
>
>

A Paul Anthony
7-Nov-2007, 09:48 AM
Edwin van der Velden wrote:
> Hi Jakob,
>
> This bug does not seem to occur for me. But I see no harm in adding the
> oApplication part so I 'll change this for the next release.
>
> -Edwin
>
Shouldn't that be

Get phoVersionInfo of ghoApplication To hoVersionInfo

A note from the help for cApplication. I'm pretty sure the variable was
present before VDF 9.1 even.

A global variable, ghoApplication, is automatically created that
contains the object-handle of the application object that you create

--

A Paul Anthony
Software Developer