Page 1 of 1
DCGET PASSWORD Not Working On Windows98
Posted: Mon Feb 21, 2011 4:37 pm
by GeneB
Since build 255, DCGET PASSWORD is not showing * when typing, it is showing the actual character typed, but only on the Windows 98 machines.
Re: DCGET PASSWORD Not Working On Windows98
Posted: Mon Feb 21, 2011 5:31 pm
by rdonnay
How is your code different than the below code? This works fine.
Code: Select all
#INCLUDE "dcdialog.CH"
FUNCTION Main()
LOCAL GetList[0], cPassword := Space(10)
@ 0,0 DCSAY 'Enter Password' GET cPassword PASSWORD SAYSIZE 0 SAYBOTTOM
DCREAD GUI FIT
RETURN nil
PROC appsys ; return
Re: DCGET PASSWORD Not Working On Windows98
Posted: Mon Feb 21, 2011 7:36 pm
by GeneB
My code
Code: Select all
@ 0,0 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX ;
SIZE 40,3 ;
OBJECT oPW
@ 1,1 DCSAY "Enter " + cPwLevel + " Password" ;
GET cPassword ;
PASSWORD ;
NOCONFIRM ;
SAYTOOLTIP "enter 'reset' to change" ;
GETTOOLTIP "enter 'reset' to change" ;
PARENT oPw
DCREAD GUI ;
TITLE "Password" ;
ADDBUTTONS ;
ENTEREXIT ;
MODAL ;
EVAL {|o| SetAppWindow(o)} ;
SETAPPWINDOW ;
FIT
Re: DCGET PASSWORD Not Working On Windows98
Posted: Mon Feb 21, 2011 7:47 pm
by rdonnay
When I compile your code, it works fine.
Please compile your sample and send it to me as an EXE.
Re: DCGET PASSWORD Not Working On Windows98
Posted: Tue Feb 22, 2011 12:11 pm
by GeneB
Attached, along with the prg and xpj. The xpj has some extra 'stuff' in it but that might be clues to the failure.
Thanks.
Re: DCGET PASSWORD Not Working On Windows98
Posted: Tue Feb 22, 2011 12:47 pm
by rdonnay
Your testpw.exe works fine. Shows asterisks.
Now send me your dclipx.dll.
Re: DCGET PASSWORD Not Working On Windows98
Posted: Tue Feb 22, 2011 2:41 pm
by GeneB
Roger, next time feel free to just say "Hey Einstein, did you update the dll's on those 98 machines?"
They are old warehouse stations, use a dummed down version of the main program that never calls more advanced features, and loaded fine with the '07 dlls. They did work since '07 with the GUI password routine but build 255 caught me.
Thanks for your time.
GeneB
Re: DCGET PASSWORD Not Working On Windows98
Posted: Tue Feb 22, 2011 4:04 pm
by rdonnay
I thought it might be something like that.
Glad you got it working.