Search found 19 matches
- Mon Dec 19, 2022 6:10 pm
- Forum: madExcept
- Topic: Exception not caught in Delphi 11.2 Alexandria 64 bit
- Replies: 54
- Views: 1134953
Re: Exception not caught in Delphi 11.2 Alexandria 64 bit
Any news regarding the update?
- Fri Oct 04, 2019 6:23 pm
- Forum: madExcept
- Topic: Why no mbr file?
- Replies: 11
- Views: 18810
Re: Why no mbr file?
strange-0x0eedfade-exception-in-delphi-multi-thread-program I spoke too soon. It came back but now definitely fixed (we found a way to replicate it on our system). It was a bug in the Pascal Script code. Affected only 64 bit version. Updated to latest svn and it is fixed. Maybe somebody can use this...
- Wed Oct 02, 2019 7:21 pm
- Forum: madExcept
- Topic: Why no mbr file?
- Replies: 11
- Views: 18810
Re: Why no mbr file?
Yes it did
- Wed Oct 02, 2019 7:16 pm
- Forum: madExcept
- Topic: Why no mbr file?
- Replies: 11
- Views: 18810
Re: Why no mbr file?
Enabled range check and after many many tries... Range check exception in a third party unit. The allocate was not correct handling 64 wparam and lparam.
Resulting mbr file told me where I had to look
Resulting mbr file told me where I had to look
- Wed Oct 02, 2019 2:16 pm
- Forum: madExcept
- Topic: Why no mbr file?
- Replies: 11
- Views: 18810
Re: Why no mbr file?
https://stackoverflow.com/questions/16602756/strange-0x0eedfade-exception-in-delphi-multi-thread-program The above link is the same exception as the one I received from my user (0x0eedfade). Googled a lot for this 0x0eedfade and at the end I found https://www.thedelphigeek.com/2007/04/most-importan...
- Tue Oct 01, 2019 2:59 pm
- Forum: madExcept
- Topic: Why no mbr file?
- Replies: 11
- Views: 18810
Re: Why no mbr file?
Can you reliably reproduce the crash on your dev PC? In that case please activate "instantly crash on buffer overrun". This feature consumes a lot of RAM, though, so if you have bad luck, your program will run out of RAM when using that feature. But if it doesn't, this feature should rais...
- Mon Sep 30, 2019 9:18 pm
- Forum: madExcept
- Topic: Why no mbr file?
- Replies: 11
- Views: 18810
Why no mbr file?
Using madExcept version 5.0.0, 64bit application (Delphi 10.2.3) Although my application crashes (yes deeply ashamed) and MS windows shows an info popup about the crash, I can't find a mbr file afterwards. I'm sure my setup of madExcept is ok (I've did a test to force an exception which generated a ...
- Sun Dec 09, 2018 12:28 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Re: Copy File Owner
FYI
My tool can be used as application or as service. With the service version I don't have to add any Administrator tricks. Even the default Logon As user of the service (= Local System Account) is allowed to change the owner of the copied file. Strange ..
My tool can be used as application or as service. With the service version I don't have to add any Administrator tricks. Even the default Logon As user of the service (= Local System Account) is allowed to change the owner of the copied file. Strange ..
- Sun Dec 09, 2018 12:18 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Re: Copy File Owner
Ok added a function called 'SetPrivilege'. I call this function before changing the owner. Application must be started as Administrator'. SetPrivilege('SeRestorePrivilege'); // SE_RESTORE_NAME Function SetPrivilege(Const PrivilegeName: String): Boolean; Var TokenPrivileges, RequestedPrivileges: TTok...
- Sat Dec 08, 2018 5:55 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Re: Copy File Owner
Ok thank you. I did a test with the procedure EnableAllPrivileges
When I start my application as Adminstrator then it works. Enough for today:-)
I'll do some more testwork tomorrow (I need to limit this somehow), thanks for helping.
Regards,
Pascal
When I start my application as Adminstrator then it works. Enough for today:-)
I'll do some more testwork tomorrow (I need to limit this somehow), thanks for helping.
Regards,
Pascal
- Sat Dec 08, 2018 5:23 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Re: Copy File Owner
Ok I found https://docs.microsoft.com/en-us/windows/desktop/api/aclapi/nf-aclapi-setnamedsecurityinfow The SecurityInfo parameter must include the OWNER_SECURITY_INFORMATION flag. To set the owner, the caller must have WRITE_OWNER access to the object or have the SE_TAKE_OWNERSHIP_NAME privilege ena...
- Sat Dec 08, 2018 4:58 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Re: Copy File Owner
In Function
The result of c1 = 5
(FYI: sidGroup, dacl, sacl are all Nil)
Code: Select all
function TISecurityObject.SetSecurityInfo
(FYI: sidGroup, dacl, sacl are all Nil)
Code: Select all
c1 := SetNamedSecurityInfoW(PWideChar(name), type_, c1, sidOwner, sidGroup, dacl, sacl)[/b]
- Sat Dec 08, 2018 4:40 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Re: Copy File Owner
ok good ideae. Let me try this ..
- Sat Dec 08, 2018 4:27 pm
- Forum: madSecurity
- Topic: Copy File Owner
- Replies: 9
- Views: 23976
Copy File Owner
Hi, After a copy of a file I would like to change the owner of the copied file to the owner of the original file. I've tried many (many) things but I'm getting "access denied" as LastErrorStr. When I start my application As Administrator then I get "This security ID may not be assigne...
- Mon Mar 19, 2018 9:25 pm
- Forum: madExcept
- Topic: Access violation at address 00000000
- Replies: 8
- Views: 11731
Re: Access violation at address 00000000
Update ..
I removed the FastMM4 unit from my Service project (GitHub version) so now my Delphi XE7 is using the original version again. Created a new build of the service and it is running at the user without issues at the moment. To be continued ..
I removed the FastMM4 unit from my Service project (GitHub version) so now my Delphi XE7 is using the original version again. Created a new build of the service and it is running at the user without issues at the moment. To be continued ..