[gme-users] Upgrading components from previous versions of GME

Matthew Eby meby at isis.vanderbilt.edu
Thu Jun 24 09:27:21 CDT 2010


Hi Jonathan,

Actually we have had some success upgrading components without regenerating...

To address your two points:

1) On the component properties page (Project->Component Properties) navigate to Configuration Properties->C/C++->General and change the "Additional Include Directories" field to reflect the new location.  Also for each common file that's in the solution explorer you need to modify the "Relative Path" property to reflect new location.

2) On the component properties page (Project->Component Properties) navigate to Configuration Properties->MIDL->Output and change the "Header File" field to $(InputName)_h.h

It may take some more coercion after these fixes but it can be done if you decide to go this route.

Matt Eby

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Tihamer Levendovszky
Sent: Wednesday, June 23, 2010 6:03 PM
To: gme-users
Subject: Re: [gme-users] Upgrading components from previous versions of GME

Hi Jon,

Brief answer: just bite the bullet...

Longer answer:
- We used the mentioned regenerating, copying, and updating the files method, and are not aware of a better one.
- Fix the ProgID (change from Decorator), too. It is a known issue now.

Thanks,
Tihamér

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Jonathan Sprinkle
Sent: Wednesday, June 23, 2010 5:49 PM
To: gme-users
Cc: Jonathan Sprinkle
Subject: [gme-users] Upgrading components from previous versions of GME

(Apologies if this is the second msg that shows up).

Hi all,

I'm (finally?) upgrading to GME 10, and let me first off say: well done GME team on maintaining binary compatibility w/ MGA files!!!!

For my interpreters (all from GME7), it doesn't seem that easy, though. I'm wondering if there is a better way to do it, than regenerating the interpreter in GME10's interface, and then copying my old cpp/h files to that new directory and then modifying Bon2component.cpp

I tried to do it piecemeal by recompiling the existing source, but:
1) the location of includes is different now, in $(GME)\SDK
2) the names of some generated files are different, e.g.,
  BON.h includes ComponentLib_h.h instead of ComponentLib.h, but
  even though I use the new ComponentLib.idl, the name of the generated
  file is not updated.

If anyone has experience or advice (or can point me to a document that explains it) I am much obliged. I have a few dozen interpreters from my MIC course, and would like to make the situation fairly painless, if possible. Especially since there are many interpreters that are contained in a single project. :)

For tech info, I tried recompiling only in VC2005. In VC2008, I get the (previously known) error found here:

http://repo.isis.vanderbilt.edu/JIRA/browse/GME-166

But I have not tried to fix those problems, as even VC2005 didn't work. If there isn't a body of knowledge on how to do this, I'll just bite the bullet and regen all the interpreters.

Thanks!
Jonathan
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users


More information about the gme-users mailing list