[PINPOINT-589]  License Check Fails on Some Systems
Type Bug
Priority High
Severity Show Stopper
Component Astrometric Engine
Fixed In Version [5.1c5.1c
Versions Affected [5.1b5.1b
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 2/4/2011

Description
Now this is a strange one! The dc3reg.dll is written to return VARIANT_TRUE (-1) or VARIANT_FALSE (0) from its Check() and Check2() methods. I encountered a system on which those methods returned a 1 instead of -1! In PinPoint's validate_license() function the check was for VARIANT_TRUE so on that system licensing failed. This is strange and also scary.

Comments
2/4/2011 11:37:11 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/pinpoint
SVN Revision 58
Affected files /trunk/engine/PinPoint.cpp (Modified)
/trunk/engine/PinPoint.rc (Modified)
/trunk/setup (Modified)
/trunk/setup/PinPointSetup.vdproj (Modified)
Check-in comment -- Release 5.1c -- Compensate for non-variant return from dc3reg.dll. Add license tracing. GEM:587 GEM:589