[gme-users] Registering GME interpreters

FMT taweelf at cs.manchester.ac.uk
Mon Nov 1 09:15:40 CDT 2010


Thanks Peter,  this will do.  The info is needed to integrate ModelBus 
(http://www.modelbus.org/modelbus/) with GME.

I assume that
     COMTHROW( parser->ParseProject(project->getProjectI(), xmlPath) );
will also display the model in the GME editor. If not, please provide 
the interface that does the rendering bit.

Thanks again
UM

On 01/11/2010 13:46, Peter Volgyesi wrote:
> There is no built-in support for that. You can use "raw" COM to invoke
> the parser/dumper.
> Eg.:
>
> CComPtr<IMgaParser>  parser;
> COMTHROW(parser.CoCreateInstance(L"Mga.MgaParser") );
> CComBSTR xmlPath("C:\\Temp\\test.xme");
> COMTHROW( parser->ParseProject(project->getProjectI(), xmlPath) );		
>
> CComPtr<IMgaDumper>  dumper;
> COMTHROW(dumper.CoCreateInstance(L"Mga.MgaDumper") );
> CComBSTR xmlPath("C:\\Temp\\test.xme");
> COMTHROW( dumper->DumpProject(project->getProjectI(), xmlPath) );		
>
>
> --
> peter
>
>
>
> On Mon, Nov 1, 2010 at 6:49 AM, FMT<taweelf at cs.manchester.ac.uk>  wrote:
>> Hello Peter,
>>
>> Is it possible to invoke the Import/Export functions (GME:
>> File->Import/Export) from the an interpreter?
>>
>> Thanks
>> UM
>>
>>
>> On 27/10/2010 15:27, Peter Volgyesi wrote:
>>> I guess some of the dependent dlls are not present on the target
>>> machine (as the dialog says). If you compiled the interpreter with
>>> VS2008 you need to have the corresponding runtime dlls installed (c,
>>> c++, mfc, atl runtime dlls: "Microsoft Visual C++ 2008 Redistributable
>>> Package ")
>>>
>>> Regards,
>>>
>>>
>>> --
>>> Peter Volgyesi
>>> Research Scientist
>>> Vanderbilt University, ISIS
>>> Office: +1 (615) 322-1018
>>> Cell: +1 (615) 294-6520
>>>
>>>
>>> On Wed, Oct 27, 2010 at 9:26 AM, FMT<taweelf at cs.manchester.ac.uk>    wrote:
>>>> We have tried to register it using regsvr32 (Admin), but it failed. A screen shot is attached. Any hint?
>>>> For simplicity, we created an empty interpreter to try registration.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> On 27/10/2010 15:14, Peter Volgyesi wrote:
>>>>
>>>> You can either register your interpreters from the GME application (Tools/Register Components) or use regsvr32.exe to register the interpreter dll.
>>>> Best regards,
>>>>
>>>> --
>>>> Peter Volgyesi
>>>> Research Scientist
>>>> Vanderbilt University, ISIS
>>>> Office: +1 (615) 322-1018
>>>> Cell: +1 (615) 294-6520
>>>>
>>>>
>>>> On Wed, Oct 27, 2010 at 5:08 AM, F T<ftman2004 at yahoo.com>    wrote:
>>>>> Hi,
>>>>>
>>>>> We have developed a number of GME interpreters and we need to register these interpreters on other new machines. These machines have GME already installed, but not VS2008. What else do we need to guarantee successful registration of an interpreter on new machine configured as above.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> 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