Open Forum

Like what you see? Discover the benefits of the GPUG Community. Learn More

1.  Interop.GPRegistration for GP 2018

Posted 6 days ago
Hello,

In our product, we use the Interop.GPRegistration .NET library to get the GP version from the registration keys.

For GP 2015 we would test gpRegKey.IsParamRegistered(28) == true
For GP 2016 we would test gpRegKey.IsParamRegistered(30) == true

What should the param value be to test for GP 2018?

I've tried both 31 and 32 which both return true.

Thanks,
Gregory Planting
Olympic Systems, Inc.

------------------------------
Gregory Planting
Developer
Olympic Systems
SEATTLE WA
------------------------------


2.  RE: Interop.GPRegistration for GP 2018

TOP CONTRIBUTOR
Posted 5 days ago
Hi Greg

I have never used that, but I can't see that it would have changed.

Have you tested the old values?

David

------------------------------
David Musgrave MVP, GPUG All-Star

Managing Director
Winthrop Development Consultants

Perth, Western Australia

http://www.winthropdc.com
------------------------------



3.  RE: Interop.GPRegistration for GP 2018

Posted 4 days ago
Hi David,

The Microsoft Dynamics GP SDK shipped with 2018 is actually the SDK from GP 2015 and is incomplete for values to use for GP 2016 & GP 2018.

I used Param ID 30 (29 returned false) for GP 2016, but with GP 2018, I've tried both 31 and 32 which both return true, I just want to be sure which is the correct value to use for GP 2018.


This is from the SDK pdf:



------------------------------
Gregory Planting
Developer
Olympic Systems
SEATTLE WA
------------------------------



4.  RE: Interop.GPRegistration for GP 2018

GOLD CONTRIBUTOR
Posted 4 days ago
​Hi Gregory,
We no longer update the SDK, but we try to put table changes and such in our blogs.
The correct value you need for GP 2018 is 31.
Thanks
Terry

------------------------------
Terry Heley
HR/PR expert
Microsoft
West Fargo ND
------------------------------



5.  RE: Interop.GPRegistration for GP 2018

Posted 3 days ago
Terry,

Thanks for the information.

Gregory

------------------------------
Gregory Planting
Developer
Olympic Systems
SEATTLE WA
------------------------------