Forum: Win32/Win64 API (native code)
Delphi
by konda,
27. Feb 2006
Das ist der Code! Das es vorher nicht geklappt hat lag an einem Problem mit einem String. :lol:
ja:= logonuser(pchar(edit1.text),pchar(''),pchar(passwort),
LOGON32_LOGON_NETWORK,LOGON32_PROVIDER_DEFAULT,h);
Forum: Win32/Win64 API (native code)
Delphi
by konda,
27. Feb 2006
Ich habs jetzt mit logonuser() gelöst. :cyclops:
Forum: Win32/Win64 API (native code)
Delphi
by konda,
21. Feb 2006
Windows XP und wie würde es für logonuser gehen? :?:
Forum: Win32/Win64 API (native code)
Delphi
by konda,
21. Feb 2006
Das klappt nicht. Es kommt immer noch die Meldung! :wall:
Forum: Win32/Win64 API (native code)
Delphi
by konda,
21. Feb 2006
Jetzt tritt bei mir aber eine Expection auf: 'GenClientContext Failed'. :wall:
Mein code lautet so:
ja:= SSPlogonuser('',user,passwort);
Forum: Win32/Win64 API (native code)
Delphi
by konda,
20. Feb 2006
Eine Frage noch, was muss ich als Domain-Namen angeben, wenn die Domain der locale Computer ist? :?:
Forum: Win32/Win64 API (native code)
Delphi
by konda,
20. Feb 2006
Hast recht, ich hab nur gedacht, dass ware was anderes. :thumb:
Forum: Win32/Win64 API (native code)
Delphi
by konda,
20. Feb 2006
Mit dem Suchlink kann ich gar nichts anfangen. H war wirklich kein DWord. Jetzt kommt aber irgendeine Meldung: Zugriffsverletzung... :wall:
Forum: Win32/Win64 API (native code)
Delphi
by konda,
19. Feb 2006
:cyclops: Hallo,
ich brauche für mein neues Programm dei Funktion-logonuser. Das einzige was die Funktion machen soll ist, dass sie überprüft ob ein String mit dem Passwort eines Benutzers übereinstimmt. Bisher hab ich das so gemacht:
logonuser(user,pchar('.'),pchar('passwort'),0,LOGON32_LOGON_NETWORK,h)
Nur irgenwie kommt bei mir immer eine Fehlermeldung: Die Typen der tatsächlichen und...