how to include spssio32.dll in VS2005 project

Jan 28, 2009 at 12:26 PM
Hi, many thanks for your work on this!

Perhaps someone can help me since I couldn't find a solution for this googling:

No matter where I put the spssio32.dll (it's from the SPSS 16 DVD, but I've also tried with older versions), my application won't find it. I use VS2005 and tried all reasonable paths in the project directory including ./bin/debug, ./bin/release etc. The project is also set to copy it to the output folder. Of course I tried all of the Windows system paths as well. No chance, I still get the error that spssio32.dll cannot be found.
When I try to reference the dll (any version), it says that it is no valid .net or COM component.

Does anyone have an idea?

Many thanks,
konschy
Jan 28, 2009 at 1:18 PM
Hi Konschy,
This wrapper is designated to be used only with an older version of
spssio32.dll. The one which was available in SPSS 12-13. Then you can
simply put it to /system32 folder.

In VS you should refer to this wrapper and not spssio32.dll.

Best,

Petr


On Wed, Jan 28, 2009 at 1:27 PM, [email removed] wrote:
> From: konschy
>
> Hi, many thanks for your work on this!
>
> Perhaps someone can help me since I couldn't find a solution for this
> googling:
>
> No matter where I put the spssio32.dll (it's from the SPSS 16 DVD, but I've
> also tried with older versions), my application won't find it. I use VS2005
> and tried all reasonable paths in the project directory including
> ./bin/debug, ./bin/release etc. The project is also set to copy it to the
> output folder. Of course I tried all of the Windows system paths as well. No
> chance, I still get the error that spssio32.dll cannot be found.
> When I try to reference the dll (any version), it says that it is no valid
> .net or COM component.
>
> Does anyone have an idea?
>
> Many thanks,
> konschy
>
> Read the full discussion online.
>
> To add a post to this discussion, reply to this email
> ([email removed])
>
> To start a new discussion for this project, email
> [email removed]
>
> You are receiving this email because you subscribed to this discussion on
> CodePlex. You can unsubscribe or change your settings on codePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any posts
> to this discussion will also be available online at codeplex.com
Jan 28, 2009 at 3:50 PM
Thanks for your reply,

I'll try to fetch the old one.

Cheers,
konschy
Jan 22, 2010 at 9:37 PM

Hi,

 

Where I can find the old one? at the moment I have this error:

Unable to load DLL 'spssio32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

 

Thanks for your helps

Mar 2, 2010 at 6:37 PM

hi konschy,

did you ever find a solution to this? I am facing the same issue and cannot get spssio32.dll to load regardless of where it resides.

please help when you can.

many thanks

Mar 11, 2010 at 1:35 PM

The latest version of this library includes spssio32.dll and all the other dependencies it requires.  It now works with SPSS v14, and (presumably) earlier and later versions within any limitations of v14.

Aug 18, 2010 at 9:11 PM
Edited Aug 19, 2010 at 1:49 AM

Hi, I'm having this same problem, but I'm using the spssio32.dll that's included with the sample project. No matter where I place the file, I get the error mentioned in the OP.

FWIW, I'm attempting to run the Program.vb sample file in VS2008.  If I dig in to SimpleDemo\bin\x86\Release and run the .exe from there, that seems to work.  But I can't get it to work in the dev environment.

 

I apologize if I'm noobing this up. :)

Aug 19, 2010 at 4:41 PM
Yay! I got it to work! At the suggestion of a friend, I used Process Monitor to identify where Visual Studio was trying to locate spssio32.dll. It turns out that windows easily found this dll in any number of locations. HOWEVER, it was unable to find the rest of the dlls that spssio32.dll depends on ( cudt32.dll, icuin32.dll, and icuuc32.dll ). I simply had to copy these from the sample project release folder (or the SPSS IO module sdk folder) into system32 (or any other place in your system PATH variable) and it works! I spent 5+ hours trying to figure this out, so I hope someone else gets some use out of it. I'm sure this is patently obvious to many people out there, but I'm a bit of a noob at things like this so I'm pretty stoked that I figured it out.
Aug 20, 2010 at 3:26 AM

Thanks for sharing your experience and solution.  And the Process Monitor approach is a good trick.

Jul 19, 2012 at 1:41 AM
hribek25 wrote:
Hi Konschy,
This wrapper is designated to be used only with an older version of
spssio32.dll. The one which was available in SPSS 12-13. Then you can
simply put it to /system32 folder.

In VS you should refer to this wrapper and not spssio32.dll.

Best,

Petr


On Wed, Jan 28, 2009 at 1:27 PM, [email removed] wrote:
> From: konschy
>
> Hi, many thanks for your work on this!
>
> Perhaps someone can help me since I couldn't find a solution for this
> googling:
>
> No matter where I put the spssio32.dll (it's from the SPSS 16 DVD, but I've
> also tried with older versions), my application won't find it. I use VS2005
> and tried all reasonable paths in the project directory including
> ./bin/debug, ./bin/release etc. The project is also set to copy it to the
> output folder. Of course I tried all of the Windows system paths as well. No
> chance, I still get the error that spssio32.dll cannot be found.
> When I try to reference the dll (any version), it says that it is no valid
> .net or COM component.
>
> Does anyone have an idea?
>
> Many thanks,
> konschy
>
> Read the full discussion online.
>
> To add a post to this discussion, reply to this email
> ([email removed])
>
> To start a new discussion for this project, email
> [email removed]
>
> You are receiving this email because you subscribed to this discussion on
> CodePlex. You can unsubscribe or change your settings on codePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any posts
> to this discussion will also be available online at codeplex.com

Hi hribek25,

What is a wrapper?

and what do you mean by referring to a wrapper instead of the spssio32.dll ?

By the way, I've been trying to add reference to spssio32.dll but I always got an error msg saying that the dll cannot be added please make sure that the file is accessible and that it is a valid assembly or COM component.

I've tried so many ways from many suggestions that I found from googling. But still no luck and always got the same error msg.

I'm working on a VS2005 (.net 2.0), Windows7 32bit.

 

Cheers,

Ray.

Oct 17, 2012 at 10:30 PM

I was also having dll issues when attempting to run a program with this library on a different machine for the first time. What ended up being my problem was that my Target CPU (Project Properties > Compile > Advanced)  was set to "Any" instead of x86.