<div dir="ltr"><div><div><div>Dear Concern,<br><br></div>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.<br></div><br></div><div><b>Can someone please post an working example for creating a window/dialog/ popup on BON2 addon ?</b><br></div><div><br><br>Though there are few example found about modeless dialog box , such as<br><a href="http://list.isis.vanderbilt.edu/pipermail/gme-users/2004-July/000502.html">http://list.isis.vanderbilt.edu/pipermail/gme-users/2004-July/000502.html</a><br><br></div>Unfortunately after following the instruction I ended up with errors as bellow:<br><br>CComPtr<IMgaFCO> mgaFCO = firstFCO->getFCOI(); is returning ::<br><br>
1 IntelliSense: more than one user-defined conversion from
"BON::FCOPtr" to "ATL::CComPtr<IMgaFCO>" applies:
d:\hiwi\bon2component123\bon2component123\bon2component.cpp 106<br><br><br>CComPtr<IMgaProject> mgaProject = project->getProjectI(); returns::<br><br>"
2 IntelliSense: more than one user-defined conversion from
"BON::ProjectPtr" to "ATL::CComPtr<IMgaProject>" applies:
d:\hiwi\bon2component123\bon2component123\bon2component.cpp 107<br>"<br>And <br><br>IGMEOLEApp gmeApp(gmeDispatch); <br>"
3 IntelliSense: object of abstract class type "IGMEOLEApp" is not
allowed:
d:\hiwi\bon2component123\bon2component123\bon2component.cpp 118<br>" <div><br><br></div><div>I will be looking forward to have a response. <br><br></div><div>Thankfully <br></div><div><br>Sanjib Das<br></div><div>University of Stuttgart <br>Institut für Luftfahrtsysteme<br></div></div>