Results 1 to 2 of 2

Thread: Failure calling imsl_free() on 64-bit machine

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    3

    Failure calling imsl_free() on 64-bit machine

    Hi,

    Are there any known issues with calls to imsl_free() on 64-bit machines? The follwoing code:

    var bIntPtr = imsl_d_mat_mul_rect("A*x", 10181, matrixSize, matrixSize, this.inverseMatrix, 10183, matrixSize, projection, 0);
    var calculatedSolution = new double[matrixSize];
    Marshal.Copy(bIntPtr, calculatedSolution, 0, matrixSize);
    imsl_free();


    works fine when built for 32-bit platform with 32-bit version of IMSL, but fails on the call to imsl_free() when built for 64-bit platform with 64-bit IMSL.

    I am using trial versions with trial licenses. Both PCs are running Winfows 7 Pro. The above code targets .net version 4.0 and I'm debugging it in VS2010 Premium.

    Regards,
    Sergey S.

  2. #2
    Junior Member
    Join Date
    Apr 2012
    Posts
    3

    Talking

    Resolved)) As was kindly pointed out to me by a sales engineer from RogueWave, imsl_free() requires a parameter. Apparently, I was being lazy and silly.... as usual though)))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •