<!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><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2>Dear Zoltan</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2>You are right. it doesn't propagate to all *.cpp
files.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2>I have changed them all and still I have this
problem.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2>if I have your personal email I would like to send you
the actual project to look at it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=485433722-12072005><FONT face=Arial
color=#0000ff size=2>Orangi</FONT></SPAN></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> Tuesday, July 12, 2005 3:29 PM<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=425192222-12072005><FONT face=Arial color=#0000ff size=2>There
is a Visual Studio .NET 2003 Environment bug: if you modify the 'Basic
Runtime Check' option for the project it won't be propagated down to the
files contained in the project.</FONT></SPAN></DIV>
<DIV><SPAN class=425192222-12072005><FONT face=Arial color=#0000ff size=2>Thus
you must change that property individually for each source file *.cpp contained
in your project.</FONT></SPAN></DIV>
<DIV><SPAN class=425192222-12072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=425192222-12072005><FONT face=Arial color=#0000ff size=2>I
suppose the MS renamed the Assembly Support option to Use Managed Extension in
the VS .NET 2003 release.</FONT></SPAN></DIV>
<DIV><SPAN class=425192222-12072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=425192222-12072005><FONT face=Arial color=#0000ff
size=2>Zoltan</FONT></SPAN></DIV>
<DIV><SPAN class=425192222-12072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </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> Tuesday, July 12, 2005 5:17
PM<BR><B>To:</B> gme-users<BR><B>Subject:</B> RE: [gme-users] Make a form in
GME<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>Dear all</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>First I have to say we have Microsoft Visual C++
.NET Version 7.1 on our machine</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>We are using BON (version 1) and we
have followed these procedures:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#ff0000 size=2>1.in
the General section: set 'Use Managed Extensions' to Yes (in VStudio
2003)</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#ff0000 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></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>after doing these changes </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>If I try to add <STRONG>form</STRONG> before
<STRONG>"build solution"</STRONG> I get this error</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff><STRONG>"Managed components can only be added to managed
component. Please convert the project to managed"</STRONG></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>in the other hand if I try to <STRONG>"build
solution"</STRONG> and then add the <STRONG>form</STRONG> I get this error
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff><STRONG>"TestForecast Command line error D2016 : '/RTC1' and
'/clr' command-line options are incompatible"</STRONG></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>Also there is a help in VS .NET Version 7.1 about
modifying to managed project and says: </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>In the <STRONG>Properties/C/C++/General</STRONG>
change <STRONG>Compile As Managed</STRONG> property to <STRONG>Assembly
Support (/clr)</STRONG></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>But there is no such thing in VS C++
7.1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=280560322-12072005><FONT face=Arial
color=#0000ff size=2>Orangi</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><SPAN
class=280560322-12072005><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN><SPAN
class=280560322-12072005> </SPAN></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><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> </DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff
size=2>Currently components generated by CreateNewComponent.exe
(interpreters, plug-ins, add-ons) are plain unmanaged C++ code skeletons.
That's why you can't insert managed code, or new items from the
Form designer 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 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: set 'Use Managed Extensions'
to 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> </DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff
size=2>For BON2 components this is not enogh, needs some
additional work, 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 this migration is feasible, so you can use
the Windows Forms controls after that. (Important to note: to implement
a Raw Com interpreter the user needs some COM technology
knowledge.)</FONT></SPAN></DIV>
<DIV><SPAN class=215354414-02062005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=215354414-02062005></SPAN><SPAN
class=215354414-02062005><FONT face=Arial color=#0000ff size=2>If you
do NOT want to stick with managed code, you can benefit by
accessing your models with BON2 (instead of old-fashioned, slow
BON or difficult COM), but you'd have to use 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> </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> </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
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></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>