ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Re: CreateField() result is 0
Sender: nalex@parallelgraphics.com 6.06.07 04:19

Please read some book (or at least good paper) on COM essentials. It will be difficult for you to go further without this knowledge.
Tanks a lot! I gona do this.
But I still don't know why when I create the field with success I can not reach the functions of this object.
My project is an applications project and I have one wrapper class for cortona controls and the Shelley library.
Is it enought or I need something else?

CreateObject always returns generic field interface for all field types it created. According to COM rules, you can call QueryInterface on this field interface, requesting any other interface implemented by particular field class. It will be IMFNodeObject in case of MFNode field.

 


CreateField() / mutafchiev@gmx.de / 5.06.07 09:38
     Re: CreateField() / nalex@parallelgraphics.com / 5.06.07 10:33
         Re: CreateField() result is 0 / mutafchiev@gmx.de / 5.06.07 10:42
             Re: CreateField() result is 0 / nalex@parallelgraphics.com / 5.06.07 11:03
                 Re: CreateField() result is 0 / mutafchiev@gmx.de / 6.06.07 03:12
                     Re: CreateField() result is 0 / nalex@parallelgraphics.com / 6.06.07 04:19
                         Re: CreateField() result is 0 / nalex@parallelgraphics.com / 6.06.07 04:20
                             Re: CreateField() result is 0 / mutafchiev@gmx.de / 6.06.07 10:40
         Re: CreateField() / mutafchiev@gmx.de / 5.06.07 10:35

Messages in thread: 9


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.