Thursday, January 19, 2006

SPSS .NET wrapper assembly goes open source

I wrote a managed C# wrapper for the spssio32.dll library that comes with SPSS.  It exposes most of the functionality of spssio32.dll for .NET use.  All the memory management required to use spssio32.dll is already taken care of, and a small set of common document operations for reading and creating files is even offered in an object-oriented class layer. 

You can download the source and visit the forum on the CodePlex project site.  [28Feb07 Update: It's released under the LGPL.] [17Apr08 update: updated links to new hosting location]

Note that due to SPSS copyright, the project does not include spssio32.dll, so you will need to get that file to use with this library in order to read and write SPSS files using .NET.

6 comments:

  1. Did this files get taken down?

    ReplyDelete
  2. Spaghetticode,
    The project was moved to CodePlex. I've updated the links today to fix that. Thanks for bringing this to my attention.

    ReplyDelete
  3. Hi andrew,

    Please let me know how I can fix this error:
    Unable to load DLL 'spssio32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    I need it to be fixed very soon. my boss needs conversion to SPSS desperately. Thanks

    ReplyDelete
  4. salma,
    spssio32.dll is copyright SPSS. I don't redistribute it. But in another week or so the SPSS site on CodePlex will get a much needed update. You can check back then.

    Or your boss can made a donation to the project to get it sooner. :)

    ReplyDelete
  5. Superb!! Great project!

    Andrew. Do you have a version for .net 2.0 (VS 2005) which supports spp v 15 and obove?

    ReplyDelete
  6. Effraim,
    The latest version that supports SPSS 15 and above targets .NET 3.5 only.

    ReplyDelete