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.