Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VB Net - ZelloPTT.dll ptt.dll difference in BeginMessage #8

Open
AndyW999 opened this issue Sep 7, 2022 · 5 comments
Open

VB Net - ZelloPTT.dll ptt.dll difference in BeginMessage #8

AndyW999 opened this issue Sep 7, 2022 · 5 comments
Assignees

Comments

@AndyW999
Copy link

AndyW999 commented Sep 7, 2022

I have a project using ptt.dll working OK, if I try the same code using ZelloPTT.dll it does not work.

    Dim Users(1) As String
    Users(1) = EveryoneUser
    PTT.BeginMessage(Users)

Using ZelloPTT.dll I get

GetExceptionInfo-System.Runtime.InteropServices.SafeArrayTypeMismatchException(0x80131533): Specified array was not of the expected type.
at System.StubHelpers.MngdSafeArrayMarshaler.ConvertSpaceToNative(IntPtr pMarshalState, Object& pManagedHome, IntPtr pNativeHome)
at ZelloPTTLib.IZelloClient.BeginMessage(Array Users)

Why?

Thanks

Andy.

@EugeneP-Zello
Copy link
Contributor

Hi Andy,
though ptt.dll and zelloptt.dll are not binary compatible, they share COM interfaces nearly 100%,
so the client app code should work when you switch from one version to another
Please share your test project, as we have only C++ and C# sample projects

@AndyW999
Copy link
Author

AndyW999 commented Sep 8, 2022 via email

@EugeneP-Zello
Copy link
Contributor

I don't see any attachment, could you pls try again or upload it like a github repo?

@AndyW999
Copy link
Author

AndyW999 commented Sep 9, 2022 via email

@AndyW999
Copy link
Author

AndyW999 commented Sep 15, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants