![Sad :(](./images/smilies/icon_sad.gif)
Dropping files into AS PB103 x64 not working
Forum rules
Please read forum rules and a few additional rules for this section:
1. Please take into account that Preview Build versions of Salamander and plugins could contain serious bugs. Don't use them in production environments.
2. All problems or comments regarding Preview Build versions please insert into this section of forum.
3. Each new topic mark with PB abbreviation and Preview Build number, for example "PB22: inactive panel below mouse cursor doesn't scroll while mouse wheel tilting".
Please read forum rules and a few additional rules for this section:
1. Please take into account that Preview Build versions of Salamander and plugins could contain serious bugs. Don't use them in production environments.
2. All problems or comments regarding Preview Build versions please insert into this section of forum.
3. Each new topic mark with PB abbreviation and Preview Build number, for example "PB22: inactive panel below mouse cursor doesn't scroll while mouse wheel tilting".
Dropping files into AS PB103 x64 not working
In previous versions of Salamander, up to and includiung 3.0 beta 2, I used to be able to drop files into a folder, e.g. by dragging file attachments with the mouse from Outlook to Salamander. In beta 3 PB103 x64 that does not work anymore. ![Sad :(](./images/smilies/icon_sad.gif)
![Sad :(](./images/smilies/icon_sad.gif)
Re: Dropping files into AS PB103 x64 not working
What OS?
Are Outlook & Salamander running at different privilege levels?
Are Outlook & Salamander running at different privilege levels?
WinXP Pro SP3 or Win7 x86 | SS 2.54
Re: Dropping files into AS PB103 x64 not working
Windows 8.
Correct. Salamander was running with admin privileges, Outlook not. When I change Salamander to run without admin privileges, dropping files into Salamander works.
Is this behaviour by design?
Correct. Salamander was running with admin privileges, Outlook not. When I change Salamander to run without admin privileges, dropping files into Salamander works.
Is this behaviour by design?
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Dropping files into AS PB103 x64 not working
Yes, it is by Windows design.
We will implement the UAC support so you will not need to run Salamander as Administrator.
We will implement the UAC support so you will not need to run Salamander as Administrator.
-
- Posts: 73
- Joined: 10 Mar 2010, 18:31
- Location: Germany
Re: Dropping files into AS PB103 x64 not working
yes this is by design, this is how UAC works. read here about User Interface Privilege IsolationThunesier wrote:Windows 8.
Correct. Salamander was running with admin privileges, Outlook not.
Is this behaviour by design?
http://msdn.microsoft.com/en-us/library/bb530410.aspxUIPI prevents a lower privilege application from using Windows messages to send input from one process to a higher privilege process. Sending input from one process to another allows a process to inject input into another process without the user providing keyboard or mouse actions.
otherwise you can attack admin processes and execute bad code.
"Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why."
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: Dropping files into AS PB103 x64 not working
void EnableDragAndDropForElevatedProcess()
{
typedef BOOL (WINAPI *LPFN_CHANGEWINDOWMESSAGEFILTER) (UINT, DWORD);
#define MSGFLT_ADD 1
LPFN_CHANGEWINDOWMESSAGEFILTER fnChangeWindowMessageFilter =
(LPFN_CHANGEWINDOWMESSAGEFILTER)GetProcAddress(GetModuleHandle(TEXT("user32")),"ChangeWindowMessageFilter");
if (NULL != fnChangeWindowMessageFilter)
{
fnChangeWindowMessageFilter (WM_DROPFILES, MSGFLT_ADD);
fnChangeWindowMessageFilter (WM_COPYDATA, MSGFLT_ADD);
fnChangeWindowMessageFilter (0x0049, MSGFLT_ADD);
}
}
{
typedef BOOL (WINAPI *LPFN_CHANGEWINDOWMESSAGEFILTER) (UINT, DWORD);
#define MSGFLT_ADD 1
LPFN_CHANGEWINDOWMESSAGEFILTER fnChangeWindowMessageFilter =
(LPFN_CHANGEWINDOWMESSAGEFILTER)GetProcAddress(GetModuleHandle(TEXT("user32")),"ChangeWindowMessageFilter");
if (NULL != fnChangeWindowMessageFilter)
{
fnChangeWindowMessageFilter (WM_DROPFILES, MSGFLT_ADD);
fnChangeWindowMessageFilter (WM_COPYDATA, MSGFLT_ADD);
fnChangeWindowMessageFilter (0x0049, MSGFLT_ADD);
}
}
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Dropping files into AS PB103 x64 not working
Doesn't look like solution for our problem: http://stackoverflow.com/questions/3794 ... pplication
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: Dropping files into AS PB103 x64 not working
Actually this function worked for me.