Can I use dll from WinXP and OI16? (OpenInsight 16-Bit Specific)
At 16 FEB 2004 03:57:43PM Hector Contreras wrote:
I'm having problems using the shell.dll or shell32.dll
I read several examples to use the Windows Shell to be able to use the function ShellExecute, but I can't do it.
I declare the function in the following way and I did save as DLL_SHELL32 in SYSPROCS:
SHELL32
ULONG PASCAL ShellExecuteA(ULONG, LPCHAR, LPCHAR, LPCHAR, LPCHAR, ULONG) AS SHELLEXECUTE
but , when I try to use the function ShellExecute OI send the message
"Function ShellExecuteA does not exist in Dynamic Link Library SHELL32.DLL"
I did try different ways, but i don't what else to do
At 16 FEB 2004 06:29PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Hector,
You can only call the 16-bit Shell.DLL from OI16 (unless you do some serious DLL programming :) so you need to prototype the 16-bit version rather than the 32 bit version…
Anyway, here's the Prototype definition that should work for you
SHELL
USHORT PASCAL ShellExecute( USHORT, LPCHAR, LPCHAR, LPCHAR, LPCHAR, SHORT )
World leaders in all things RevSoft
At 16 FEB 2004 09:05PM Hector Contreras wrote:
Thank you very much, that's work.