<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005>Dear Zoltan</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005>I would like to update me to create how can I add form 
to the code.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005>I am using Visual Studio .NET version 7.1 
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005>there is something different and I have tried your 
procedure but still I am getting error.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005>Thanks</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=322560523-11072005>Abdollah</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> gme-users-bounces@list.isis.vanderbilt.edu 
[mailto:gme-users-bounces@list.isis.vanderbilt.edu] <B>On Behalf Of </B>Zoltan 
Molnar<BR><B>Sent:</B> Thursday, June 02, 2005 10:03 AM<BR><B>To:</B> 
gme-users<BR><B>Subject:</B> RE: [gme-users] Make a form in 
GME<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2>Currently&nbsp;components generated by CreateNewComponent.exe 
(interpreters, plug-ins, add-ons) are plain unmanaged C++ code skeletons. That's 
why you can't insert&nbsp;managed code,&nbsp;or new items from the Form 
designer&nbsp; into such a dll, unless you convert the whole project to compile 
with the /clr flag, thus becoming managed.</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff size=2>This 
conversion process consists of&nbsp;the following settings in the project 
properties dialog box:</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff size=2>1.in 
the General section:&nbsp;set 'Use Managed Extensions' to&nbsp;Yes (in VStudio 
2003)</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff size=2>2.in 
the C/C++ section/ Code Generation Subsection: Basic Runtime Checks must be 
changed from 'BOTH (/RTC1)' to 'Default'</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff size=2>For 
BON2 components&nbsp;this is not&nbsp;enogh,&nbsp;needs some additional 
work,&nbsp;in spite of MicroSoft stating it is 'It Just Works' 
technology.</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff size=2>For 
BON (version 1) components and f</FONT></SPAN><SPAN 
class=215354414-02062005><FONT face=Arial color=#0000ff size=2>or 
</FONT></SPAN><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2>RAW Com components&nbsp;this migration is feasible, so you can use the 
Windows Forms controls after that. (Important to note:&nbsp;to implement a Raw 
Com interpreter&nbsp;the user needs some COM technology 
knowledge.)</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=215354414-02062005></SPAN><SPAN class=215354414-02062005><FONT 
face=Arial color=#0000ff size=2>If you do&nbsp;NOT&nbsp;want to stick with 
managed code, you can&nbsp;benefit by accessing your&nbsp;models&nbsp;with BON2 
(instead of old-fashioned, slow BON or difficult COM), but you'd have to 
use&nbsp;classes in MFC like CDialog for implementing Dialog boxes (instead of 
Forms).</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005></SPAN><SPAN class=215354414-02062005><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff size=2>Br, 
Zoltan Molnar</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  gme-users-bounces@list.isis.vanderbilt.edu 
  [mailto:gme-users-bounces@list.isis.vanderbilt.edu] <B>On Behalf Of 
  </B>Orangi, Abdollah<BR><B>Sent:</B> Wednesday, June 01, 2005 10:47 
  AM<BR><B>To:</B> gme-users<BR><B>Subject:</B> [gme-users] Make a form in 
  GME<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
  <P><FONT face=Arial size=2>Hi</FONT> </P>
  <P><FONT face=Arial size=2>I am a beginner to learn GME and&nbsp; C++.</FONT> 
  <BR><FONT face=Arial size=2>I want to know if I need to have a from which is 
  created in Visual C++ . NET in the GME interpreter what should I do?</FONT> 
  </P>
  <P><FONT face=Arial size=2>I have created a simple form in VS C++. In the 
  other hand I have a very simple case in GME with associated interpreter which 
  is wrote in VS C++ too.</FONT></P>
  <P><FONT face=Arial size=2>I need to combine these too.</FONT> </P><BR>
  <P><FONT face=Arial size=2>Also I have tried to add new items (Form) in my 
  Component.ccp (GME Invokex) but it gave me an error which was "Managed 
  component can add to managed project. Please convert your project to 
  managed".</FONT></P><BR>
  <P><FONT face=Arial size=2>Thanks for your comment.</FONT> </P>
  <P><FONT face=Arial size=2>A.O.</FONT> </P></BLOCKQUOTE></BODY></HTML>