Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 33 results for
psid
- Page 1
A problem in the datagrid
Programming
Software Development
13 Years Ago
by moohb
…bay.livefilestore.com/y1pPw4fQRzaNGABz17ePJ4pzbnHjMZ31Spo6r8tJncvzc1zHjxO0D5NxVRxB-VbeL59olA4Q35bso41hImCDlOdbA0vYy0SgjXD/1.jpg?
psid
=1"]http://kxpeuq.bay.livefilestore.com…bay.livefilestore.com/y1pp6DfPDE6VMSJkp52psjZIF3XRuk7tRa2vf9caT9cMSxGwHoCK3KzUleZxW5SzeFwsi4GYZke-3rIpryTjbyYNVaExCvHA1Zf/2.jpg?
psid
=1"]http://kxpeuq.bay.livefilestore.…
Access violation reading location
Programming
Software Development
12 Years Ago
by koleanu
… pszObjName, SE_OBJECT_TYPE ObjectType, BOOL getOwner, BOOL getGroup) {
PSID
pSidG = (
PSID
)HeapAlloc(sizeof(
PSID
));
PSID
pSidO = (
PSID
)HeapAlloc(sizeof(
PSID
)); LPTSTR AcctName = (LPTSTR)"", DomainName = (LPTSTR…
Access Violation in LookupAccountSid
Programming
Software Development
9 Years Ago
by BenWard
… takes a string SID - so even the conversion to a
PSID
is done within the function - NO VARIABLES used in the…;"); DWORD myDwordNameLength = 0, myDwordDomLength = 0; SID_NAME_USE myNameUse = SidTypeUnknown;
PSID
getSid = new
PSID
; wstring stringSid = *myOutString; ConvertStringSidToSidW(&stringSid[0], &getSid…
ACL TRUSTEE_TYPE is always Unknown.
Programming
Software Development
15 Years Ago
by bigbadowl
…]; DWORD AccountBufflength = 1000; DWORD DomainBufflength = 1000; PSID_NAME_USE peUse = new SID_NAME_USE;
PSID
Sid = pListOfExplicitEntries[i].Trustee.ptstrName; LookupAccountSid(NULL, Sid, account, &…
urlopen issues for http POST in Windows.
Programming
Software Development
13 Years Ago
by foco
…' #the server to post to values = {'c' : 'print', #the command '
psid
' : 'DE5', #the venue 'pcn' : '0105050505', #print card number 'theFile' : 'testpdf…
winAPI check if user has admin priveleges
Programming
Software Development
13 Years Ago
by lochnessmonster
[CODE]std::wstring isAdmin() { SID_IDENTIFIER_AUTHORITY pIdentStruct = SECURITY_NT_AUTHORITY;
PSID
ptrSidStruct; BOOL isMember = false; if (!AllocateAndInitializeSid(&pIdentStruct, 2,SECURITY_BUILTIN_DOMAIN_RID, …
I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by HESSENY2000
… [img]http://0ux1ba.bay.livefilestore.com/y1pAlelPoGm8rAei34F_3H9VmnAnJ9aJA89woQCTcLM7wwS2tvWI5xgy98ix-DhTcGpqDU_3fCmebq5MfDrwe5cJPL0Dr7nKHy8/calc.JPG?
psid
=1[/img] this my E-mail --snipped--
Re: datagridview event trigger read only
Programming
Software Development
13 Years Ago
by judithSampathwa
…+ dgvSubContractor.Rows[row].Cells[3].Value);
PSID
= string.Format("" + dgvSubContractor.…SID, SName,
PSID
); if (!String.IsNullOrEmpty(SID)) { if (String.IsNullOrEmpty(
PSID
)) { pc.…
Re: Process owner
Programming
Software Development
14 Years Ago
by sknake
…quot;, CharSet = CharSet.Auto)] static extern bool ConvertSidToStringSid( IntPtr
pSID
, [In, Out, MarshalAs(UnmanagedType.LPTStr)] ref string pStringSid ); … bool ConvertStringSidToSid( [In, MarshalAs(UnmanagedType.LPTStr)] string pStringSid, ref IntPtr
pSID
); /// <summary> /// Collect User Info /// </summary&…
Re: Determine: User or Admin in Login Module
Programming
Software Development
13 Years Ago
by AndreRet
…) As Long Declare Function IsValidSid Lib "Advapi32" (ByVal
pSid
As Long) As Long Declare Function EqualSid Lib "Advapi32… Any) As Long Declare Sub FreeSid Lib "Advapi32" (
pSid
As Any) Declare Function CloseHandle Lib "Kernel32" (ByVal…
Re: No Packets Received
Hardware and Software
Networking
13 Years Ago
by flyheight04
…;https://vjijvw.blu.livefilestore.com/y1pxXa-plJkyMaUqAIvOQOugr4BxIR6Uvb-IT6avZ3xAHHWUuIVfOpScrSFrsKE5HS2biIdwp74AIFVgjhtl4rgKT8MwsKCfEMf/sessions.bmp?
psid
=1"]https://vjijvw.blu.livefilestore.com/y1pxXa-plJkyMaUqAIvOQOugr4BxIR6Uvb-IT6avZ3xAHHWUuIVfOpScrSFrsKE5HS2biIdwp74AIFVgjhtl4rgKT8MwsKCfEMf…
Re: How to delete the cookie in log out?
Programming
Software Development
13 Years Ago
by jacksantho
…:/perl/bin/perl use CGI qw(:all); $
psid
=param('sid'); $prollno=param('rollno'); if ($
psid
== 0) { use DBI; my $dbh = DBI->…
Re: how to development on a global hook DLL file monitoring windows
Programming
Software Development
12 Years Ago
by ctjh900801
…this: [url]https://byfiles.storage.live.com/y1pqTTSlpLBQdKlbhIIknehZTP4Gnzrny4bANCyTSWCzvgq_VpT_OL8L5eS5dBTbMnerbe29WsNqH4/app3.JPG?
psid
=1[/url] Then I used SPY + + to view…url]https://byfiles.storage.live.com/y1ppILAf6GarrrPP1CMc1IQFedyw02aeYSa6iaOQ4bOXB44SY7VUMwt58ITns__cnUtxT-KiunwmCQ/appp.JPG?
psid
=1[/url] I hope my explanation, make you …
Re: author of a file
Programming
Software Development
15 Years Ago
by Ancient Dragon
… variable DWORD sizeSD; //' Buffer size to store Owner's SID
PSID
pOwner = 0; //' Pointer to the Owner's SID char ownerName…
Re: Join Question (Retrieve multiple rows)
Programming
Web Development
10 Years Ago
by diafol
…, eg. Supplier: ID, NAME, CONTACT, PHONE Product: ProdID, ProdNAME ProductSuppliers:
PSID
, ProdID, ID WHere ProdID and ID in the ProductSuppliers are…
Re: Access violation reading location
Programming
Software Development
12 Years Ago
by Salem
[url]http://msdn.microsoft.com/en-us/library/aa379166%28v=vs.85%29.aspx[/url] If you're calling it the first time to retrieve the length of the name, then you should pass NULL for the name, and make sure the length is initialised to zero. Otherwise, you're passing a pointer to a string in read-only memory, and it attempts to write 1 byte to it (…
Re: Access violation reading location
Programming
Software Development
9 Years Ago
by BenWard
Holy thread revival batman! I am today having this exact same issue :( I have a loop that goes: get a directory for each subdirectory get DACL from subdirectory for each ace get the sid if allow or deny isValidSid() ? YES LPWSTR myTrusteeName = …
Re: Access Violation in LookupAccountSid
Programming
Software Development
9 Years Ago
by nullptr
AFAIK, the first call to LookupAccountSidW will return the buffer sizes needed in TCHARS. So you will need to allocate `bufsize * sizeof(wchar_t)` You also need to free the memory.
Re: Access Violation in LookupAccountSid
Programming
Software Development
9 Years Ago
by BenWard
Thanks, I thought that is effectively what lines 23 and 24 are doing? Or are you refering to the variables that I currently have as DWORDs and am passing as references?
Re: Access Violation in LookupAccountSid
Programming
Software Development
9 Years Ago
by nullptr
Because you are calling LookupAccountSidW(...), `myDwordNameLength` and `myDwordDomLength` will contain the buffer size needed in wide chars. Thus on lines 23 and 24 you are only allocating half the required size for each buffer. Change those lines to: myTrusteeName = (LPWSTR)GlobalAlloc(GMEM_FIXED, myDwordNameLength * sizeof(wchar_t)); …
Re: Access Violation in LookupAccountSid
Programming
Software Development
9 Years Ago
by BenWard
... good lord I could kiss you right now and I don't even care if you're a dude. I hadn't previously been using LookupAccountSidW() but the issue was still there before because the compiler was defaulting to wide chars anyway.
Re: ACL TRUSTEE_TYPE is always Unknown.
Programming
Software Development
15 Years Ago
by marco93
It's a wrong method. Ask on Adv. Win32 api newsgroup [url]news://comp.os.ms-windows.programmer.win32[/url] for the well-known right method...
Re: winAPI check if user has admin priveleges
Programming
Software Development
13 Years Ago
by mitrmkar
You are misusing [ICODE]CheckTokenMembership()[/ICODE] -- for an example, see MSDN [URL="http://msdn.microsoft.com/en-us/library/aa376389%28VS.85%29.aspx"]CheckTokenMembership()[/URL]
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by AndreRet
To convert the times before doing the sum, use the following - [CODE]Dim BrowseTime As Integer, BrowseTimeUnit As String If BrowseTime < 60 Then BrowseTimeUnit = BrowseTime & " Mins" ElseIf BrowseTime >= 60 And BrowseTime < 1440 Then BrowseTime = BrowseTime / 60 …
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by HESSENY2000
Dear AndreRet you are more than welcome ,and thanks for your prompt replay but i tried it without any New action
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by AndreRet
I'll post a full solution for you tomorrow.:)
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by HESSENY2000
5 Days Ago still wait you
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by AndreRet
Sorry, with my company closing for holidays, Christmas etc, I'm not so active.:) Be patient during these times, I will post as soon as I get back to spending more time here...;)
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by mrteey2k
Hi, just inset all the components on a form, name them accordingly and copy all the codes to command1 sub routing. That is all COMPONENTS USED DTPicker1 for date1 DTPicker2 for date2 Text1 for 1st day time Text2 for Last day time Text3 for total minutes worked command button(command1) Private Sub Command1_Click() lth1 = Len…
Re: I need to Calculate duration between two interval dates with time
Programming
Software Development
13 Years Ago
by mrteey2k
Hi, Find the attachment of the detail below.
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC