Topic
3 replies Latest Post - ‏2013-11-11T06:32:47Z by ArnavKumar
SystemAdmin
SystemAdmin
1240 Posts
ACCEPTED ANSWER

Pinned topic multiThreading Personal Communications

‏2008-01-31T02:59:23Z |
Hi! I'm trying to create an application in VB.net that manages Personal Communications v.5.7. I've learned that Personal Communications supports multithreading as mentioned in its documentation. However, what I'm trying to create right now doesn't seem to work. I would like to create a thread pool of different sessions in VB.

I'm experiencing an exception whenever I'm starting a session which goes.

System.InvalidCastException: QueryInterface for interface AutConnMgrTypeLibrary.IAutConnMgr failed.
at AutConnMgrTypeLibrary.AutConnMgrClass.StartConnection(String ConfigParms)at ConsoleApplication1.Class1.Process()

Please help me on this one. I hope that you would be able to provide me some sample codes or programs (in VB) that would show multithreading Personal Communications using the Primary Interop Assemblies (PIA). I am looking forward to using this great product but it would only be possible if I would be able to find a solution to my problem as soon as possible before my deadline which is actually within this week.
Updated on 2008-01-31T04:47:00Z at 2008-01-31T04:47:00Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1240 Posts
    ACCEPTED ANSWER

    Re: multiThreading Personal Communications

    ‏2008-01-31T04:47:00Z  in response to SystemAdmin
    Sorry, what? VB?

    Isn't this forum titled "Multithreaded Java programming" ?
    Updated on 2008-01-31T04:47:00Z at 2008-01-31T04:47:00Z by SystemAdmin
  • ArnavKumar
    ArnavKumar
    4 Posts
    ACCEPTED ANSWER

    Re: multiThreading Personal Communications

    ‏2013-11-11T06:32:47Z  in response to SystemAdmin

    while(post.contains("java"))

    {

       System.out.println("Post here");

    }

    :)

    Thank You....

    Updated on 2013-11-11T06:34:53Z at 2013-11-11T06:34:53Z by ArnavKumar