Register DLL

Bastiaan Olij bastiaan at basenlily.me
Thu Jun 18 18:54:03 EDT 2015


Hi Ben,

Shouldn't you be using ShellExecuteW as you're on Unicode? ShellExecuteA
is a non-unicode function.

Cheers,

Bas

On 19/06/2015 8:29 am, Ben Weinberg wrote:
> Listers:
>
> Using O$6.1.2 (64 bit) on Windows Server 2012 (testing on server) and trying to open xxx.pdf files with:
>
> Register DLL ("SHELL32.DLL","ShellExecuteA","JJCCCCJ") 
> Call DLL ("SHELL32.DLL","ShellExecuteA",0,"open",iFileName,"","",1) Returns iResult
>
> This doesn’t work.  Is there a replacement method that works?
>
> Ben Weinberg
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com






More information about the omnisdev-en mailing list