Andreas Marth wrote:
But if I call this in VBA it crashes ExcelVBA code: Dim helper As String Private Declare Function calculate Lib "Calculate.dll" (ByVal x as String) As String Sub test () helper = calculate("Test") Debug.Print helper End Sub All really basic. Does anybody know why that does not work? Thanks for all the answers up to now. Andreas
The 'helper' must be BSTR. Cheers, Kyra _______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
