3/22/2019 8:26 AM | |
Joined: 3/19/2019 Last visit: 8/29/2024 Posts: 97 Rating:
|
Hi everyone, This is my 1st Project. I'm working on a multi-user project.The project involves 2 server with server redundant and 2 client. They are connected Ethernet switch using LAN cable. Here i'm using system login for access & created admin user and given all rights. In both server PC its working fine, and while clicking button is ask user name & password. after entering the current user name will shows in display. But in client PC while clicking the button doesn't ask user name & password. I used Below coding #include "apdefap.h" void OnLButtonDown(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName, UINT nFlags, int x, int y) { #pragma code("pdlrtapi.dll") #include "pdlrtint.h" #pragma code() if ( SSMIsUserNameEnable( lpszPictureName )) { PDLRTAllowSetForegroundWindow(NULL,NULL,NULL); PASSLoginDialog (SSMGetScreen( lpszPictureName )); } } is there any changes needed?? if you need any more details, freely ask me. And 1 more problem, if i logon any server PC then the current user name displayed both the client. its not necessary to display on client PC. I need Your Guidance Thank you in Advance ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 3/22/2019 12:06:30 PMNew subject after splitting "If you want the answer - ask the question" |
|
Follow us on