| Title: | Microsoft Visual Basic |
| Moderator: | TAMARA::DFEDOR::fedor |
| Created: | Thu May 02 1991 |
| Last Modified: | Thu Jun 05 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 2565 |
| Total number of notes: | 10453 |
To manipulate Windows NT ACLs, the SDK32 docs advises to use: GetNamedSecurityInfo BuildExplicitAccessWithName SetEntriesInAcl SetNamedSecurityInfo instead of a bunch of other routines. Unfortunatelly, the VB5's Win32api.txt only lists the old routines, not the new ones ! Does anyone know where I can find the declarations of these routines ? PS: Hope the question is not too silly... I'm new in this space ! Michel.
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2556.1 | EVTSG8::TOWERS | Tue May 13 1997 11:52 | 13 | ||
The MSDN is an excellent place to look for this sort of thing. Note
that you may only get C++ type declarations. It's then up to you to
translate this into VB. Another excellent resource for unfolding the
mysteries of this kind of thing (calling API routines from VB) is a
book called the Visual Basic Programmer's Guide to the Win32 API by
Daniel Appleman, published by ZD Press, ISBN 1-56276-287-7.
Note that this is the VB4 related version. I'm sure by now there is a
VB5 related version out, but whichever you get it's an excellent book
which belongs on every VB developer's desk.
Cheers,
Brian
| |||||
| 2556.2 | GVPROD::MSTEINER | Wed May 14 1997 05:29 | 10 | ||
Brian,
Thanks for the info. I'll buy the book and have a look in MSDN.
In the meantime, I think I'll write my application in Visual C++. All
the definitions for these routines seem to be there already !
Thanks again,
Michel.
| |||||