Solved

Windows Login Password

Posted on 1998-11-16
3
142 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to use Hashing sha1 in Delphi 2010 4 263
Printing problem 2 91
Convert GUI app into console app for Win32 Env 5 99
enhance the following code 3 30
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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