Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
QuestionButton Click -> to Paint handler?? Pin
Anonymous20-Sep-05 16:15
Anonymous20-Sep-05 16:15 
AnswerRe: Button Click -> to Paint handler?? Pin
Ashok Dhamija20-Sep-05 17:51
Ashok Dhamija20-Sep-05 17:51 
QuestionHelp on threading.. Pin
cue_ball20-Sep-05 15:54
cue_ball20-Sep-05 15:54 
QuestionResponse.Redirect and Blank Screen Pin
dgap20-Sep-05 13:02
dgap20-Sep-05 13:02 
QuestionRe: Response.Redirect and Blank Screen Pin
Guffa20-Sep-05 16:14
Guffa20-Sep-05 16:14 
AnswerRe: Response.Redirect and Blank Screen Pin
Jaiprakash M Bankolli20-Sep-05 17:55
Jaiprakash M Bankolli20-Sep-05 17:55 
QuestionPlease Help On this Topic. Pin
snouto20-Sep-05 11:20
snouto20-Sep-05 11:20 
AnswerRe: Please Help On this Topic. Pin
Christian Graus20-Sep-05 12:27
protectorChristian Graus20-Sep-05 12:27 
Look at tutorial 8 in the samples that come with DX9.

private void InitDirectPlay()
{
// Release any exising resources
if (m_Peer != null)
m_Peer.Dispose();

// Create a new DirectPlay Peer object
m_Peer = new Peer();

// Add handlers for DirectPlay events
m_Peer.FindHostResponse += new FindHostResponseEventHandler(FindHostResponseHandler);
m_Peer.Receive += new ReceiveEventHandler(ReceiveHandler);
m_Peer.HostMigrated += new HostMigratedEventHandler(HostMigratedHandler);
m_Peer.SessionTerminated += new SessionTerminatedEventHandler(SessionTerminatedHandler);

m_Connection = ConnectionType.Disconnected;
}


This source code initialises and sets up a peer object, which seems to hold a bunch of callbacks. This is the object you need to pass into the Voice constructor. I'd agree, there's no docs I could find on this either, but I found this in the samples pretty quickly.

Christian Graus - Microsoft MVP - C++
GeneralRe: Please Help On this Topic. Pin
snouto20-Sep-05 12:34
snouto20-Sep-05 12:34 
GeneralRe: Please Help On this Topic. Pin
Christian Graus20-Sep-05 12:37
protectorChristian Graus20-Sep-05 12:37 
QuestionDataGrid details Pin
Yoyosch20-Sep-05 11:12
Yoyosch20-Sep-05 11:12 
AnswerRe: DataGrid details Pin
seee sharp20-Sep-05 18:02
seee sharp20-Sep-05 18:02 
GeneralRe: DataGrid details Pin
Naveed Kamboh21-Sep-05 13:41
Naveed Kamboh21-Sep-05 13:41 
QuestionWindow Application won't shutdown with XP Pin
har04mich20-Sep-05 10:31
har04mich20-Sep-05 10:31 
AnswerRe: Window Application won't shutdown with XP Pin
snouto20-Sep-05 11:11
snouto20-Sep-05 11:11 
GeneralRe: Window Application won't shutdown with XP Pin
Anonymous21-Sep-05 4:03
Anonymous21-Sep-05 4:03 
QuestionTransparent RichTextBox Pin
zagzagzag20-Sep-05 10:11
zagzagzag20-Sep-05 10:11 
QuestionProblems with Sockets - A Bug?? Pin
Glenn Inman20-Sep-05 10:03
Glenn Inman20-Sep-05 10:03 
AnswerRe: Problems with Sockets - A Bug?? Pin
Judah Gabriel Himango20-Sep-05 10:07
sponsorJudah Gabriel Himango20-Sep-05 10:07 
QuestionObjects, Abstract Class or Interface? Pin
Wayne Phipps20-Sep-05 9:50
Wayne Phipps20-Sep-05 9:50 
AnswerRe: Objects, Abstract Class or Interface? Pin
Not Active20-Sep-05 9:57
mentorNot Active20-Sep-05 9:57 
AnswerRe: Objects, Abstract Class or Interface? Pin
Andrew Kirillov20-Sep-05 10:03
Andrew Kirillov20-Sep-05 10:03 
GeneralRe: Objects, Abstract Class or Interface? Pin
Wayne Phipps20-Sep-05 10:24
Wayne Phipps20-Sep-05 10:24 
GeneralRe: Objects, Abstract Class or Interface? Pin
Guffa20-Sep-05 16:38
Guffa20-Sep-05 16:38 
GeneralRe: Objects, Abstract Class or Interface? Pin
Jaiprakash M Bankolli20-Sep-05 17:59
Jaiprakash M Bankolli20-Sep-05 17:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.