Sending Multiple Sequence Files to Trev under Windows.

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


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, "",

Where strSprunPath holds a string containing the path to Sprun.exe and
strParameters holds a string such as

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

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.


More information about the Staden mailing list

Send comments to us at biosci-help [At] net.bio.net