[gme-users] Could someone please post an example for creating a window/dialog within an BON2 addon?
Sanjib Das
cnt.sanjib at googlemail.com
Thu Dec 4 19:35:51 CST 2014
Dear Concern,
I am using the latest version of GME (GME-14.10.29). And trying to develop
addon using source (GME-14.10.29_src) on MSVS2010.
*Can someone please post an working example for creating a window/dialog/
popup on BON2 addon ?*
Though there are few example found about modeless dialog box , such as
http://list.isis.vanderbilt.edu/pipermail/gme-users/2004-July/000502.html
Unfortunately after following the instruction I ended up with errors as
bellow:
CComPtr<IMgaFCO> mgaFCO = firstFCO->getFCOI(); is returning ::
1 IntelliSense: more than one user-defined conversion from
"BON::FCOPtr" to "ATL::CComPtr<IMgaFCO>" applies:
d:\hiwi\bon2component123\bon2component123\bon2component.cpp 106
CComPtr<IMgaProject> mgaProject = project->getProjectI(); returns::
" 2 IntelliSense: more than one user-defined conversion from
"BON::ProjectPtr" to "ATL::CComPtr<IMgaProject>" applies:
d:\hiwi\bon2component123\bon2component123\bon2component.cpp 107
"
And
IGMEOLEApp gmeApp(gmeDispatch);
" 3 IntelliSense: object of abstract class type "IGMEOLEApp" is not
allowed: d:\hiwi\bon2component123\bon2component123\bon2component.cpp
118
"
I will be looking forward to have a response.
Thankfully
Sanjib Das
University of Stuttgart
Institut für Luftfahrtsysteme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20141205/d7c377f0/attachment.html
More information about the gme-users
mailing list