
Petition for release of source code!
There is some misunderstanding in this issue so I guess I'll just put what I need
Microsoft.DirectX.DirectPlay.Lobby.Client connection = new Microsoft.DirectX.DirectPlay.Lobby.Client();
ConnectInformation ci = new ConnectInformation();
ci.GuidApplication = new Guid("{65bebb82-ae34-46e2-b89c-18dd09826ff8}");
ci.Flags = Microsoft.DirectX.DirectPlay.Lobby.ConnectFlags.LaunchNew;
ci.UseConnectionSettings = true;
Address address = new Address();
address.AddComponent(Address.KeyHostname, "localhost");
address.AddComponent(Address.KeyPort, 2300);
address.ServiceProvider=Address.ServiceProviderTcpIp; <--- This seems to be ok, ServiceProviderTcpIp is {ebfe7ba0-628d-11d2-ae0f-006097b01411}, found in the original registry subkey I posted
address.Device= <-- I need to find out what to put here, I can't find it in any of the Address constants nor in the registry
ci.ConnectionSettings.SetDeviceAddresses(new Address[]{address});
ci.ConnectionSettings.PlayerName = "MeTheHost";
ci.ConnectionSettings.HostAddress=new Address("localhost",2300);
int kamh = connection.ConnectApplication(ci,30000,null);
Microsoft.DirectX.DirectPlay.Lobby.Client connection = new Microsoft.DirectX.DirectPlay.Lobby.Client();
ConnectInformation ci = new ConnectInformation();
ci.GuidApplication = new Guid("{65bebb82-ae34-46e2-b89c-18dd09826ff8}");
ci.Flags = Microsoft.DirectX.DirectPlay.Lobby.ConnectFlags.LaunchNew;
ci.UseConnectionSettings = true;
Address address = new Address();
address.AddComponent(Address.KeyHostname, "localhost");
address.AddComponent(Address.KeyPort, 2300);
address.ServiceProvider=Address.ServiceProviderTcpIp; <--- This seems to be ok, ServiceProviderTcpIp is {ebfe7ba0-628d-11d2-ae0f-006097b01411}, found in the original registry subkey I posted
address.Device= <-- I need to find out what to put here, I can't find it in any of the Address constants nor in the registry
ci.ConnectionSettings.SetDeviceAddresses(new Address[]{address});
ci.ConnectionSettings.PlayerName = "MeTheHost";
ci.ConnectionSettings.HostAddress=new Address("localhost",2300);
int kamh = connection.ConnectApplication(ci,30000,null);
i know. but i already searched by "directplay"
i just installed directplay6 something on the pc before i searched.
any idea on more along the lines of what would make this entry on the pc? just installing older games that use directplay?
We all have the device key, we just don't know where it is

Who is online
Users browsing this forum: No registered users and 2 guests