Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

Monitoring a stand-alone C++ native application


Monitoring a stand-alone C++ native application

I was excited to see that there is a C/C++ agent.  I downloaded and installed it and that's where the trouble started.  There was an error in the install.bat file.  Once I got past this I added the sample code to the startup routine.  I can't get the function appd_sdk_init to return as successful.  It always returns -1.  I restarted the AppDynamics.Agent.Coordinator service but it still didn't work.  The docs say to run some command called 

/opt/appdynamics-sdk-native/ &


I'd like to at least get a C/C++ agent installed.  Can someone help me get over this hump? 


Here is where I am at in the help topics
FWIW - Instrumenting a C#.Net app was a walk in the park...

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Monitoring a stand-alone C++ native application
AppDynamics Team




I think you are referring to the wrong section of our Documents.Please refer the following section 

 "Install the SDK on Windows" section in the following link

You need to run a batch file to run the proxy instead of a shell script in windows.


I can see that there is a similar issue raised in we can discuss the issue in any one of them of your choice.It would be easier for us to track.


Thanks and Regards,

Sajna Sreenivasan






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

I am in the right part of the documentation but it is missing the shell command for Windows