Solved

Windows Login Password

Posted on 1998-11-16
3
144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 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