ShellExecuteA and Dataset results

forum.td.development (2005-2010)
NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

ShellExecuteA and Dataset results

Post by NewsgroupServer » 24 Mar 2010, 12:00

 Posted by:  Tina Stewart 

Hi

This is a strange problem. I have an developed in C# that connects to the
SQLBase database and returns some dataset results. I call this app from
within my centura project using the ShellExecuteA function. This works fine
in a separate directory, yet if I try to run it in my working directory it
fails to return the dataset results.

Call ShellExecuteA( hWndNULL, "open", "CNet.exe", "/Test 1", "", 1 )

Has anyone else experienced this type of problem. Is there a way of
resolving it?

NewsgroupServer
Robot
Robot
Posts: 118939
Joined: 24 Feb 2017, 12:00
Location: World wide

ShellExecuteA and Dataset results

Post by NewsgroupServer » 24 Mar 2010, 12:37

 Posted by:  Tina Stewart 

Figured out what the problem was. Having SQLBaseUtil.dll in the same folder
caused it to fail.

Return to “td.development”

Who is online

Users browsing this forum: Ccbot [Crawler] and 1 guest