Dear Corel users
I have been upgrading to X6 from X5. I wanted to install a CorelDRAW macro called "Function Plotter", written by Alex Vakulenko, into X6. When upgrading from X4 to X5 I just manually placed a certain file (Plotter14.gms) into the Draw\GMS folder in the program directory. Then back in CorelDRAW X5 I choose Tools > Options > Customization > Commands in order to place an icon in the toolbar, making access to the macro. It worked back then. However when I try the same procedure in X6 it doesn't work. I can see the file under "Commands" and place an icon, but nothing happens when I press the button. Can somebody explain why it doesn't work? Maybe it has something to do with 64 bit, which from what I can see in this Forum causes a lot of trouble (scanner drivers, plugins, etc)?
This macro is extremely important for me. I have tried contacting Alex, but with no success so far. In the meanwhile I need to install X5 again ...
All comments on this issue are appreciated! NB! I use Windows 7 Professional, 64 bit.
Regards,
Erik V.
not all macros are automatically updaated, some macros works only for X3, for X4, etc, and other can work under X5 and X6 without problem
Thanks Andrew. 64-bit is however the future, so I need to find out about this problem sooner or later. In the meantime I will keep my X5 installed, so if things doesn't work in X6 I will do it in X5. Also the most bugs have been eliminated there. I don't like to install X6 32 bit version as well. It could cause confusion and it will take up place.
Ariel: This macro (Oberon Function Plotter) has been working from version 10 to and including version X5:
http://oberonplace.com/vba/drawmacros/index.htm
I wonder what makes it work in X5 and not X6? The file I used was intended for X4, but worked in X5 too in the way I described. Is 64 bit really such a big gamestopper?
I hope Alex sees this and will update the macro!
Erik
Erik Vestergaard said: Thanks Andrew. 64-bit is however the future, so I need to find out about this problem sooner or later. In the meantime I will keep my X5 installed, so if things doesn't work in X6 I will do it in X5. Also the most bugs have been eliminated there. I don't like to install X6 32 bit version as well. It could cause confusion and it will take up place. Ariel: This macro (Oberon Function Plotter) has been working from version 10 to and including version X5: http://oberonplace.com/vba/drawmacros/index.htm I wonder what makes it work in X5 and not X6? The file I used was intended for X4, but worked in X5 too in the way I described. Is 64 bit really such a big gamestopper? I hope Alex sees this and will update the macro! Erik
I hope Alex updates his macros, too.
With the release of VBA ver 7.x (included with CGS X6), Microsoft made some changes to VBA, so that both 32 bit and 64 bit functions can operate cohesively, unless it is your intent that the functions may operate only on 32 bit VBA and not 64 bit, if that is your intention.
Here is some background info on the new VBA methods that you may have to incorporate on those macros that you can edit:
Compatibility Between the 32-bit and 64-bit Versions of Office 2010
"Compile error: The code in this project must be updated for use on 64-bit systems" error message when you edit a VBA macro in the 64-bit version of an Office 2010 program
Excel: Declaring API functions in 64 bit Office
Download: Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support - Microsoft Download Center - Download Details
I know that these talk mostly about Office 2010, but the items apply to the Corel Graphics Suite macros, as these points are common and both use the same application built-in VBA software.
Thanks Hugh, for the links to explain the VBA 64-bit and 32-bit issues. Seem very interesting. I will look more into it tomorrow!