Sending Multiple Sequence Files to Trev under Windows.

Darren Jackson darren.jackson at thermolasystems.com
Mon Nov 5 11:24:13 EST 2001


Hi,

I have been attempting to interface to the latest Windows release of the
Staden Package (2001.0).

In particular, I am attempting to call Trev with multiple sequence files
from Visual Basic, by making a call to the Windows API function
'ShellExecute' and passing the appropriate parameters as follows:

ShellExecute(Scr_hDC, "Open", strSprunPath, strParameters, "",
SW_SHOWNORMAL)

Where strSprunPath holds a string containing the path to Sprun.exe and
strParameters holds a string such as
"E:\Progra~1\Staden~1\lib\trev\trev.tcl"
"C:\xb54a3.S1.exp""C:\xb54a4.S1.exp".

My problem is that, beyond a certain number of sequence files, Sprun.exe
crashes with an Access Violation Exception. This does not seem to be related
to the length of the string parameter that is passed, as I have experimented
with various values. I notice that the number of files that may be safely
passed seems to have increased since the previous Beta version of the Staden
Package.

Has anybody else encountered this kind of situation?

Has anybody any suggestions as to the cause or possible remedy?

Any help will be much appreciated.

Darren





More information about the Staden mailing list