Duplicated contracts

View: New views
5 Messages — Rating Filter:   Alert me  

Duplicated contracts

by Heiko Gering :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a problem in addition to the previous mails. I'm trying to save an
image with the WEL_GDIP_IMAGE class, where the image instance is a feature
of a window. Debugging saving shows correct working of the
save_image_to_file routine, but nothing is stored on disk. What
postcondition should my save routine have, which at least call this routine?
or is it a bug?
Regards
Heiko


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Re: Duplicated contracts

by larryliuming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When executing {WEL_GDIP_IMAGE}. `save_image_to_file', if
{WEL_GDIP_IMAGE}. `c_gdip_save_image_to_file' return value is 0, it
means everything works fine. If the return value is non-zero, please
see {WEL_GDIP_STATUS} for meaning of the value.

Could you post some of your codes? So I can find the exactly error in
your case.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Re: Re: Duplicated contracts

by Heiko Gering :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Larry,

I've found the mistake now: Try to save with 'save_image_to_file, also
'save_with_quality' returns the 0 value, even you try to use a nonexistig
path.
It took me a lot of hourrs to find that, cause I've expected, that an error
will occur in such case.
I think I should check the path name before saving.
It will be helpfull, if you can confirm this statement.

Regards
Heiko

----- Original Message -----
From: "larryliuming" <larryliuming@...>
When executing {WEL_GDIP_IMAGE}. `save_image_to_file', if
{WEL_GDIP_IMAGE}. `c_gdip_save_image_to_file' return value is 0, it
means everything works fine. If the return value is non-zero, please
see {WEL_GDIP_STATUS} for meaning of the value.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Re: Duplicated contracts

by larryliuming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Heiko,

In project configuration dialog, you should first enable "check"
assertion of WEL library.

When executing {WEL_GDIP_IMAGE}.save_image_to_file, saving image to a
non-exists path, the `c_gdip_save_image_to_file' will return 7 which
means "Win32Error".





------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Re: Re: Duplicated contracts

by Heiko Gering :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you, I don't take care much enough on it, because other assertions was
checked.

Regards
Heiko

----- Original Message -----
From: "larryliuming" <larryliuming@...>
To: <eiffel_software@...>
Sent: Monday, May 19, 2008 5:37 AM
Subject: [eiffel_software] Re: Duplicated contracts


Hi, Heiko,

In project configuration dialog, you should first enable "check"
assertion of WEL library.

When executing {WEL_GDIP_IMAGE}.save_image_to_file, saving image to a
non-exists path, the `c_gdip_save_image_to_file' will return 7 which
means "Win32Error".







--------------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.20/1452 - Release Date: 17.05.2008
18:26


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/