Solved

Windows Login Password

Posted on 1998-11-16
3
143 Views
Last Modified: 2010-04-04
How do I make my application logon a user onto a windows 95/98 network?
Preferably without using any customs components, just the ones found in d4 standard.
0
Comment
Question by:PsychoFox
  • 3
3 Comments
 
LVL 1

Expert Comment

by:jecksom
ID: 1347044
Hi PsychoFox!

check LogonUser( function from win32 help .

Jecksom

0
 
LVL 1

Expert Comment

by:jecksom
ID: 1347045
Oh , sorry , you'll get ERROR_PRIVILEGE_NOT_HELD ie valid only under NT env.
 
0
 
LVL 1

Accepted Solution

by:
jecksom earned 50 total points
ID: 1347046
exitwindowsex(EWX_REBOOT+EWX_FORCE,EWX_LOGOFF);

Combine EWX flags to get result what you looking for this example relogon user.

Jecksom

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using idhttp to login to instagram 2 106
Delphi 2 69
Graphics32 under Delphi 10.1 Berlin 2 104
Firemonkey BASS_Init into a thread 17 31
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question