How to load an IGES/STEP file from web server?

Hello everybody:
I am a new OCC user, and I have a problem in my application. I have an IGES/STEP file on my web server, and I want to load and display it in my MFC application. I can use CInternetFile to load the file into memory, but the problem is how can I import the data into OCC? May someone give me some suggestions?
Thanks for you to think about my question.
Hongwei Wang 11/26/2012

Alexey Gorshkolep's picture

I think the easiest way to do this is to save your file from the memory into some Temp file on your hard drive. Then you may load it with STEPControl_Reader class (see examples).