cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Excel VBA - End Macro correctly to close mgwmapp.exe

Solved
Highlighted
Contributor

Excel VBA - End Macro correctly to close mgwmapp.exe

Hi, 

 

I'm exploring what I could get from using Excel macro to generate various reports/listings. 

 

In documentation "All about starting with APIs 3rd Edition (January 2015)", I have found how to start and it works well. 

 

The only problem I have is at the end of the macro, a process "mgwmapp.exe" hangs there and also, after I kill it, I see that the macro (that only reads data for now) created a desktop session on the server. I have to log into Mega again and discard the changes to release it. 

 

What it the good way of ending a macro so that everything is released correctly? 

 

I have found the following, but I'm just wondering if killing applications at the end is really the best way of doing this: 

http://community.mega.com/t5/Technical-Product/How-to-kill-mgwmapp-exe/m-p/10144/highlight/true#M145...

 

We are on V1R2 CP04

 

Thanks

 

Simon 

 

3 Replies
MEGA

Re: Excel VBA - End Macro correctly to close mgwmapp.exe

Hello

 

There is known issue with MegaCurrentEnv object

See http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=501D0000000nUmmIAE

 

A fix is expected

Jerome
Contributor

Re: Excel VBA - End Macro correctly to close mgwmapp.exe

Hi, 

 

I don't get the error message that says "not responding", I just see that the process is still there in the Windows task manager. 

 

Should the expected behavior be that the connection ends by itself without specifing and "close" or "End" function?

MEGA

Re: Excel VBA - End Macro correctly to close mgwmapp.exe

Regarding the known issue with MegaCurrentEnv object, a hotfix is available on HOPEX V1R2 CP6.0.

Contact Technical support (support@mega.com) to get it.

It will be included in HOPEX V1R2 CP7.0  and higher CP

 

Jerome