Test by external Program

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Martin
Posts: 5
Joined: Thu Feb 27, 2003 6:00 pm
Contact:

Post by Martin »

Hi Alex.

I tried to do a test by using an external program. The problem is now, how can I return a status value to HM? Look at that C-Code:
int main (void)
{
return (-10);
}
Thats just a Test-program but in HM i just can see at the column "Reply"
a high integer value (like uninitialized)
So whats wrong with my program?
I also tried to throw an exeption or to return that value as a string written to
stdout (e.g. cout << "-10" << endl;)
nothing works.
I tried that with HM4.02 Beta


Thanks

Martin


<font size=-1>[ This Message was edited by: Martin on 2003-07-31 09:35 ]</font>

<font size=-1>[ This Message was edited by: Martin on 2003-07-31 09:38 ]</font>
Martin
Posts: 5
Joined: Thu Feb 27, 2003 6:00 pm
Contact:

Post by Martin »

Ok Ok... i figured out whats wrong.....
You just allow unsigned integers :grin:

Post Reply