[gme-users] Make a form in GME

Zoltan Molnar zolmol at isis.vanderbilt.edu
Tue Jul 12 17:58:14 CDT 2005


Abdollah,
 
What kind of error message are you experiencing?
 
br, Zoltan

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Orangi,
Abdollah
Sent: Monday, July 11, 2005 6:08 PM
To: gme-users
Subject: RE: [gme-users] Make a form in GME


Dear Zoltan
 
I would like to update me to create how can I add form to the code.
 
I am using Visual Studio .NET version 7.1 
there is something different and I have tried your procedure but still I
am getting error.
 
Thanks
Abdollah

  _____  

From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Zoltan
Molnar
Sent: Thursday, June 02, 2005 10:03 AM
To: gme-users
Subject: RE: [gme-users] Make a form in GME


Hi,
 
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.
This conversion process consists of the following settings in the
project properties dialog box:
1.in the General section: set 'Use Managed Extensions' to Yes (in
VStudio 2003)
2.in the C/C++ section/ Code Generation Subsection: Basic Runtime Checks
must be changed from 'BOTH (/RTC1)' to 'Default'
 
For BON2 components this is not enogh, needs some additional work, in
spite of MicroSoft stating it is 'It Just Works' technology.
For BON (version 1) components and for 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.)
 
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).
 
Br, Zoltan Molnar
 

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Orangi,
Abdollah
Sent: Wednesday, June 01, 2005 10:47 AM
To: gme-users
Subject: [gme-users] Make a form in GME



Hi 

I am a beginner to learn GME and  C++. 
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? 

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.

I need to combine these too. 


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".


Thanks for your comment. 

A.O. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20050712/df800fed/attachment.htm


More information about the gme-users mailing list