PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Object type transformation must not be done with direct objs
https://forum.pdfsharp.net/viewtopic.php?f=2&t=835
Page 1 of 1

Author:  brett [ Sun Aug 16, 2009 10:06 pm ]
Post subject:  Object type transformation must not be done with direct objs

Hi, i just downloaded the pdfsharp samples and most of them produce the following errors.

Assertion failed
'Object type transformation must not be done with direct objects'.

Any help would be great since my application is suppose to be delivered in an hour :shock:

Author:  brett [ Tue Aug 18, 2009 2:44 am ]
Post subject:  Re: Object type transformation must not be done with direct objs

No one can help me with this issue? Any of the examples that try and open an existing pdf document cause this issue...

Author:  Thomas Hoevel [ Mon Aug 24, 2009 8:05 am ]
Post subject:  Re: Object type transformation must not be done with direct objs

Hi!
brett wrote:
Any help would be great since my application is suppose to be delivered in an hour :shock:

The message comes from Debug.Assert.
AFAIK you can ignore this message.

I hope you deliver a Release Build - no Debug.Assert messages in Release Build.

Author:  aurelien0306 [ Tue Apr 06, 2010 2:01 pm ]
Post subject:  Re: Object type transformation must not be done with direct objs

Hi,

But if we are in debug mode, how this assert can be fixed ? Cause i think if there is an assert of this type it's to warn the developer.
I'd like to fix this to prevent a bad use of transformation but i don't know how ?
Can you tell us why this assert is here and how to be careful to some points concerned by this ?

Thanks :o

Author:  Thomas Hoevel [ Tue Apr 06, 2010 2:13 pm ]
Post subject:  Re: Object type transformation must not be done with direct objs

aurelien0306 wrote:
But if we are in debug mode, how this assert can be fixed?

Find the line with the Assert and add "//" right at the start. :wink:

It seems this Assert is causing false alerts. Ignore it and don't worry.

Author:  webdvlp [ Fri Oct 22, 2010 7:10 am ]
Post subject:  Re: Object type transformation must not be done with direct objs

can i get more info about this message? is it dangerous? i get it when intensive working with XGraphics. yes, a built dll in release mode ant message hide, but i want to know is it seriosly?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/