Start a Conversation

Unsolved

This post is more than 5 years old

1012

December 28th, 2012 02:00

Where to find or download FPSDK dll compatible with VS 2010

Hi,

Need to use FPSDK dll in VS 2010.

Have tried downloading FPSDK dll from FBApi from (http://sourceforge.net/projects/cosi-dot-net/) as mentioned by Graham Stuart in the link -

https://community.emc.com/thread/98961      but am getting Appversion error whcih seems to work fine in VS 2008.

Error is PI Invoke Error when trying to access FPPool and other classes of Namespace FPSDK dll.

Can someone please guide or show how to download FPSDK dll Compatible with dotnet 2010.

409 Posts

December 29th, 2012 07:00

Download the source from the sourceforge site and build the project.

If that doesnt work then try debugging it and post the fix to the community

December 30th, 2012 23:00

Hi,
Am getting PIInvoke Error whe I try to access FPPool Class.
pool = new FPPool(clusterAddress);
Error Message :
"A call to PInvoke function 'FPSDK!EMC.Centera.FPApi.SDK::FPPool_Open8' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
Let me know if you need any further details.
[Am not able to attach screenshot beacuse of size]

1 Message

March 7th, 2013 02:00

you have to change all occurencies of the calling convention in FPApi.cs to "Cdecl"

    [DllImport("FPLibrary.dll", CallingConvention = CallingConvention.Cdecl)]

It was always wrong, but the previuos version of Visual Studio silently corrected it

No Events found!

Top