VMware {code} Community
zerovoid
Contributor
Contributor
Jump to solution

Is LogoutFromGuest a VMware Server VIX 1.0 function?

I have everything working properly but one question I have is LogoutFromGuest a valid function for VIX 1.0 and Server 1.0.3?[/b]

It returns the same protected memory problem that is thrown when trying to connect to VMwareServer with VIX 1.1/2 API Version being passed instead of 1.0.

I just find it kinda odd that you can login to the guest tools but not remove authentication of it, even though this step seems unnecessary.

For reference I am using VIXcom 1.1 API and sending the connection string as Version 1 for VMware Server 1.0.3.

When calling

job = vm.LogoutFromGuest(Nothing)

Error Message:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Reply
0 Kudos
1 Solution

Accepted Solutions
lemke
VMware Employee
VMware Employee
Jump to solution

Yes, VixVM_LogoutFromGuest() was added after server 1.0.x.

Though it looks like the per-function docs have that wrong, and I'll fix them.

View solution in original post

Reply
0 Kudos
2 Replies
lemke
VMware Employee
VMware Employee
Jump to solution

Yes, VixVM_LogoutFromGuest() was added after server 1.0.x.

Though it looks like the per-function docs have that wrong, and I'll fix them.

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Just to clarify: VixVM_LogoutFromGuest is \*not* supported for Server 1.0.x.