V4RB 2.2 VPicture Revisted

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Apr 28 23:12:06 CDT 2006


On 4/28/06 9:42 PM, "Bob Keeney" <bkeeney at everestkc.net> wrote:

>> Yes and actually PLUGIN can return this.
> 
> This does not make sense.
> 
> Plugin should NOT have this constant if it should not be used.
> 
> Take it and remove from documentation.  Throw exception when used, etc.

You have not understand.

MAY HAPPENS that somebody will put into Picture field something bad.

You can use for this VBLob.WriteData() for example, which do not care what
you put there. You see?

Then you can Vpicture.ReadPicture(). So Valentina self CAN return you
    EVPictType.kUnknown

But you should not use it when you store in legal way some picture.
YOU know which picture you give to Valentina, right ?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list