peculiar bug with IGESControl_Writer !!

Hi I am beginner user, I am using OCC for some basic operations with Geometrical (CAD) data
and encountered a very unusual bug, when I use only the IGESControl_Writer in my code-

"First-chance exception at 0x02ff9976 in occ_ex.exe: 0xC0000005: Access violation reading location 0xfefd0070."

Even though everything else is fine.

But, the most peculiar part was this error vanished when i added a corresponding IGESControl_Reader.. ???

can anyone please give me an insight as to why this is happening...

Dheevatsa's picture

Hi I am beginner user, I am using OCC for some basic operations with Geometrical (CAD) data
and encountered a very unusual bug, when I use only the IGESControl_Writer in my code-

"First-chance exception at 0x02ff9976 in occ_ex.exe: 0xC0000005: Access violation reading location 0xfefd0070."

Even though everything else is fine.

But, the most peculiar part was this error vanished when i added a corresponding IGESControl_Reader.. ???

can anyone please give me an insight as to why this is happening...

Roman Lygin's picture

Can you please provide an exact code that reproduces your problem and one with _Reader that removes it ?