[gme-users] Trouble using BON Extension mechanism
Peter Volgyesi
peter.volgyesi at vanderbilt.edu
Mon May 3 12:53:38 CDT 2004
Hi,
Please, attach at least the relevant part of your source code. (extension
class declaration and implementation of the methods/constructors)
Folders are meant to be used in the Extension mechanism.
--
Peter Volgyesi
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> Of Vijayaraghavan Kalyanapasupathy
> Sent: Monday, May 03, 2004 5:14 AM
> To: gme-users
> Subject: [gme-users] Trouble using BON Extension mechanism
>
> Hi Group,
>
> I am new to this, so I am may be doing something wrong:
>
> Essentially, I tried to use the BON Extension mechanism
> macros and got the foll. errors on compiling:
>
> --------------------
>
> Compiling...
> BON2Component.cpp
> c:\program files\gme\sdk\bon\extensions.h(134) : error C2039:
> 'type' : is not a member of 'FolderImpl'
> c:\program files\gme\sdk\bon\bonimpl.h(362) : see
> declaration of 'FolderImpl'
> c:\program files\gme\sdk\bon\extensions.h(133) :
> while compiling class-template member function 'enum
> BON::ExtensionType __cdecl BON::Extension<class
> BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum
> BON::ObjectType,const class _STL ::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &,const
> class _STL::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &)'
> c:\program files\gme\sdk\bon\extensions.h(134) : error C2065:
> 'type' : undeclared identifier
> c:\program files\gme\sdk\bon\extensions.h(133) :
> while compiling class-template member function 'enum
> BON::ExtensionType __cdecl BON::Extension<class
> BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum
> BON::ObjectType,const class _STL ::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &,const
> class _STL::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &)'
> c:\program files\gme\sdk\bon\extensions.h(145) : error C2039:
> 'string_type' : is not a member of 'FolderImpl'
> c:\program files\gme\sdk\bon\bonimpl.h(362) : see
> declaration of 'FolderImpl'
> c:\program files\gme\sdk\bon\extensions.h(133) :
> while compiling class-template member function 'enum
> BON::ExtensionType __cdecl BON::Extension<class
> BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum
> BON::ObjectType,const class _STL ::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &,const
> class _STL::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &)'
> c:\program files\gme\sdk\bon\extensions.h(145) : error C2065:
> 'string_type' : undeclared identifier
> c:\program files\gme\sdk\bon\extensions.h(133) :
> while compiling class-template member function 'enum
> BON::ExtensionType __cdecl BON::Extension<class
> BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum
> BON::ObjectType,const class _STL ::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &,const
> class _STL::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &)'
> c:\program files\gme\sdk\bon\extensions.h(145) : error C2678:
> binary '==' : no operator defined which takes a left-hand
> operand of type 'class _STL::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> >' (or
> there is no accep table conversion)
> c:\program files\gme\sdk\bon\extensions.h(133) :
> while compiling class-template member function 'enum
> BON::ExtensionType __cdecl BON::Extension<class
> BON::FolderImpl,class BON::JGenProjectImpl>::castImpl(enum
> BON::ObjectType,const class _STL ::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &,const
> class _STL::basic_string<char,class
> _STL::char_traits<char>,class _STL::allocator<char> > &)'
> Error executing cl.exe.
>
> JGenSourceGeneratorBON2Component.dll - 5 error(s), 0 warning(s)
>
> ------------------------
>
> There are two things I can possibly infer:
>
> 1. Folder's are not meant to be used in the Extension mechanism,
>
> or
>
> 2. It's a bug
>
> or
>
> 3. I am doing something wrong,
>
> Any comments?
>
> Thanx,
> Vijai.
>
More information about the gme-users
mailing list