Dear Rez:
  I'm the guy who wrote to the CS mailing list about that coding problem. Well, 
there is tons of guys with coding
problems, so to be more specific, I was having a trouble saving a null mesh to 
file. It was where the iSaver did
a call to scfQueryInterface<iFactory> on the iMeshObjectType of my 
iNullmeshMeshObject. Remember that it had
somehow went from that call to a Cal3D function? That is weirdest part. Anyway, 
You told me that I needed to go
over my code that surrounded the Nullmesh and see if it got deleted somewhere 
leaving an invalid pointer. Well, I went
over the null mesh code and was reminded that I had used a short-hand function 
to create the Nullmesh. It is the
one named CreateNullMesh, or something. The point is, it didn't make me create 
a factory first. I guess that it
creates it's own factory and uses it to make the iNullmeshMeshObject; 
furthermore, I believe that it deletes it's
factory after it uses it. I realized this when I removed the short-hand 
function, made a stand-alone Nullmesh-
MeshFactory and then, used it to make my csNullmeshMeshObject. Thus, the glitch 
was fixed. Now, when the iSaver
queries my Nullmesh's factory, there was one to query. That short-hand function 
may leave it's factory hanging
around, but in that case it's a non-standard one.
  Mainly what I wanted to say was that I appreciated the tone of your letter. 
Even though you couldn't provide very
much information since you couldn't see my computer and my code, then you were 
as helpful as possible. I have seen you
assist many other people in the forums and I have read some of your tutorials 
and I think you are not only very smart,
but you are patient and polite...

Sincerely,
Stuart B. Duff
Glass Tower Studios

------------------------------------------------------------------------------
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:[email protected]?subject=unsubscribe

Reply via email to