Solved

Windows Login Password

Posted on 1998-11-16
3
140 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
Comment Utility
Hi PsychoFox!

check LogonUser( function from win32 help .

Jecksom

0
 
LVL 1

Expert Comment

by:jecksom
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now