Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Shape template and anchor pattern (Read 1686 times)
MagnusSpeychal
Junior Member
**
Offline



Posts: 53
Joined: Jun 18th, 2007
Shape template and anchor pattern
Jun 19th, 2007 at 5:43am
Print Post  
I am using the FlowChartX control under MS Visual C++ 2005. I have followed the developers guide to create shape templates and achor patterns. To get this to work I have to use the "CreateDispatch" command before using the commands found in the guide. Is this correct of have I missed something?

/Magnus
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Shape template and anchor pattern
Reply #1 - Jun 19th, 2007 at 9:41am
Print Post  
Hello Magnus,

Yes, you must use CreateDispatch to create an instance of the COM class. Otherwise you will have a C++ wrapper object whose internal COM object pointer is NULL. This is true also for the layout classes.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint