V4RB BLOB HELP! -- Solution

Jason Moehlman jmoehlma at moehlman.com
Wed Mar 12 22:29:49 CST 2003


I just wanted to thank you for your help.

The final solution for me was the MBS Plugin.  It has some great 
functions for this work.  I have only been working with it for a couple 
of hours, but I am working.  Best of all according to the docs QT is 
not required unlike the RB picture functions.

I have some more debugging but the hard part is done and everything 
works.  FYI while the image processing takes a little time, reading and 
writing the data to the DB with ReadRawData and WriteRawData isn't even 
noticeable on a Mac.

Thanks again!

Jason

On Wednesday, March 12, 2003, at 01:17 PM, Ruslan Zasukhin wrote:

> on 3/12/03 8:06 PM, Jason Moehlman at jmoehlma at moehlman.com wrote:
>
>> OK I am trying your suggestion to use ReadRawData and WriteRawData.
>>
>> These were the only ones I could find in the docs.  My problem is that
>> they only work with a string type and I am unsure how to convert that
>> into the format that the canvas control uses.
>>
>> The way I was trying to do it gives me an type mismatch and I cannot
>> cast a string only an object.
>>
>> Ex.
>>
>>        blobvalue=vcdb.Blobfield(db_images(i).name).readRawData
>>        tmpint=len(blobvalue)
>>        db_images(i).backdrop=blobvalue        // error here on type 
>> mismatch
>>
>> Please help if you have an idea.
>
> This can be made with help of MemBlock class and/or
> Of its extension from Thomas Templamann
>
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://listserv.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>



More information about the Valentina mailing list