Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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 )

The Sprezzatura Group

World leaders in all things RevSoft


At 16 FEB 2004 09:05PM Hector Contreras wrote:

Thank you very much, that's work.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/cdb02d47b2ccea7a85256e3c007325ee.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1