Unable to load RCF Proto for csharp

RCFProto support and general discussion.
Post Reply
divita.gorakhpuria
Posts: 4
Joined: Thu Mar 23, 2017 10:34 am

Unable to load RCF Proto for csharp

Post by divita.gorakhpuria »

Hi,

I have downloaded RCFProto-src-1.2.0.0 and generated solution using cmake. After compiling source code I got only RCFProto_NET_impl.dll.

Can you please let me know how would other dlls be generated as specified here - http://www.deltavsoft.com/RCFProto/doc/ ... user_guide
Missing dll - csharp/bin/RCFProto_NET.dll - RCFProto .NET assembly, built with AnyCPU architecture.

I have also tried to use RCFProto_NET.dll provided with RCFProto-win32-1.2.0.0, but I am getting below error -
Unable to load RCFProto native bindings for .NET. Attempted to load: D:\SampleApplication\bin\x86\Debug\RCFProto_NET_impl.dll.
LoadLibraryEx() error: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail

Kindly help me resolving this.

Regards,
Divita

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: Unable to load RCF Proto for csharp

Post by jarl »

Most likely you need to install the Visual Studio 2013 runtimes on your system. The RCFProto Windows binaries are built with VS 2013.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

divita.gorakhpuria
Posts: 4
Joined: Thu Mar 23, 2017 10:34 am

Re: Unable to load RCF Proto for csharp

Post by divita.gorakhpuria »

Hi,

Previously I was using VS 2005 to build the RCF Proto source code.

Now, I have generated source code for VS 2015 and getting errors.
Please find attachments.

My original intention is to set maximum message length in c# client. Is there any way to set that?

Regards,
Divita
Attachments
VS2015_Release_x64.png
VS2015_Release_x64.png (125.74 KiB) Viewed 6067 times
VS2015_Debug_x64.png
VS2015_Debug_x64.png (73.13 KiB) Viewed 6067 times

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: Unable to load RCF Proto for csharp

Post by jarl »

I just posted in another thread that there is a new build available:

Source distribution:
http://www.deltavsoft.com/downloads/RCF ... .3.0.0.zip

Win32 binary distribution:
http://www.deltavsoft.com/downloads/RCF ... .3.0.0.zip

With this one you can set maximum message length on the client.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply