Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the C/C++ agent SDK could not monitor the native application

Wanderer

Using the C/C++ agent SDK could not monitor the native application

Downloaded C/C++ agent on windows machine from https://docs.appdynamics.com/pages/viewpage.action?pageId=35457135.

Took a sample code from the below site https://github.com/Appdynamics/C_SDK_Example

 

In the visual studio 2015 when i run the application i ended up with an error 

"appd_sdk_init() returned NULL, is the proxy running?"

 

When i debugged the application i could see that appd_sdk_init() always returns -1.

 

Please let me know how to resolve the issue.

 

 

Using the C/C++ agent SDK could not monitor the native application
2 REPLIES 2
Highlighted
AppDynamics Team

Re: Using the C/C++ agent SDK could not monitor the native application

Hi Srilakshmi,

 

Which version of SDK are you using?

We do not use a proxy-based version anymore. I would suggest that you use the latest version.

There is no need to run the proxy.

Please refer the following

https://docs.appdynamics.com/pages/viewpage.action?pageId=45486534

https://docs.appdynamics.com/pages/viewpage.action?pageId=45486535

 

The code remains more or less the same with some changes in API for initialization of SDK.

Thanks,

Sajna Sreenivasan

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Wanderer

Re: Using the C/C++ agent SDK could not monitor the native application

I am using the SDK version 4.5.1

I have downloaded the latest version only (appdynamics-sdk-native-64bit-windows-4.5.1.0)

When i ran this application appd_sdk_init() is returning -1 and the application ended up.