>>>>I don't think it will work with RegFN and CallFN since this func is in a 32-bit dll.
>>>>
>>>Hi Vlad,
>>>
>>>Just tested in FPW 2.6a on Win98. Worked fine.
>>
>>George,
>>
>>Care to share your test code... I can't seem to locate prototype docuemntation for the 16-bit version of ShellExecute.
>>
>>Thanks,
>Sure thing, BOb. Here 'tis:
>lcfile = GETFILE('TXT')
>lcop = 'open'
>lcpath = JustPath(lcfile)
>lcarg = ""
>m.shellexe = RegFN("ShellExecute", "I@C@C@C@CI", "I", "Shell.dll")
>m.result = CallFN(m.shellexe, 0, @lcop, @lcfile, @lcarg, @lcpath, 9)
>That help?
Absolutle, I was just passing string directly... I guess this is how you emulate that you are passing a pointer?
Thanks again,
BOb