VMware {code} Community
maheshlalge
Contributor
Contributor

waitForUpdates not getting any updates - C++ implementation

Hi:

I have been experimenting with vi sdk with both Java and C+. Writing a specific program to monitor the changes in VM properties. The java program is working fine, however the same in c+ is not getting any updates from waitForUpdates call.

In C++ the propertyFilterSpec is getting set properly and I can dump the VM properties using RetrieveProperty call. I suspect some properties are set by default in java and must be set in C++ explicitly, but not getting which ones.

Any help in debugging this issue is appreciated.

Regards.

/Mahesh

Message was edited by: maheshlalge

Reply
0 Kudos
1 Reply
maheshlalge
Contributor
Contributor

Hi:

I got it working after converting all the variables from stack to heap. e.g. VIMBinding.

Regards.

/Mahesh

Reply
0 Kudos