Archived Forum Post

Index of archived forum posts

Question:

ChilkatSample errors

Aug 28 '13 at 14:11

Hello,

I have just downloaded and started using the ChilkatSample project that uses the CkSsh library.

I am using VS2010 to run this sample.

The proglem I am having is that when I try to build, I keep getting the following errors:

error C2065: 'ERROR' : undeclared identifier
error C2065: 'CONCAT' : undeclared identifier

Which are related to following line:

    success = ssh.ChannelSendString(channelNum,ERROR-CONCAT,"ansi"); 

Can someone please tell what's causing this error or how to correct it?

Thanks!


Accepted Answer

The example at http://www.example-code.com/vcpp/ssh_remote_command.asp is now fixed.


Answer

Thanks. I'll correct the examples that have these errors, hopefully by tomorrow..