Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setting Form's size problems Pin
Acidis31-May-03 19:36
Acidis31-May-03 19:36 
GeneralRe: Setting Form's size problems Pin
James T. Johnson31-May-03 19:59
James T. Johnson31-May-03 19:59 
GeneralMenue by Marc Clifton Pin
Frenchi31-May-03 9:46
Frenchi31-May-03 9:46 
GeneralRe: Menue by Marc Clifton Pin
Marc Clifton31-May-03 15:33
mvaMarc Clifton31-May-03 15:33 
GeneralRe: Menue by Marc Clifton Pin
Frenchi1-Jun-03 5:12
Frenchi1-Jun-03 5:12 
Questionto byte[] conversion? Pin
stonee7431-May-03 3:38
stonee7431-May-03 3:38 
AnswerRe: to byte[] conversion? Pin
Eric Gunnerson (msft)31-May-03 16:34
Eric Gunnerson (msft)31-May-03 16:34 
GeneralRe: to byte[] conversion? Pin
stonee7431-May-03 17:01
stonee7431-May-03 17:01 
thanks a lot for this idea, should look like below about?
The problem is the compiler states:
The type or namespace name 'Command' could not be found
(are you missing a using directive or an assembly reference?)
Sorry, can you bring me in the right direction please?
And what means fixed?

thanks again,
stonee

		public unsafe override bool Send(void* Command, long lSize) <br />
		     <br />
			{ <br />
					System.Console.WriteLine("Send() called!");<br />
				<br />
				try<br />
				<br />
				{<br />
					byte[] buffer = new byte[lSize];<br />
					fixed (Byte* pBuffer = buffer)<br />
					{<br />
						 *((Command*) pBuffer) = Command;<br />
					}<br />
					m_socket.Send(buffer, buffer.Length,SocketFlags.None);<br />
<br />
					return true; <br />
<br />
<br />
				}<br />
				catch(SocketException se)<br />
				{<br />
					System.Console.WriteLine(se.Message);	<br />
					return false; <br />
				}

GeneralRe: to byte[] conversion? Pin
Eric Gunnerson (msft)1-Jun-03 7:05
Eric Gunnerson (msft)1-Jun-03 7:05 
GeneralRe: to byte[] conversion? Pin
stonee741-Jun-03 8:04
stonee741-Jun-03 8:04 
GeneralRe: to byte[] conversion? Pin
Eric Gunnerson (msft)3-Jun-03 9:43
Eric Gunnerson (msft)3-Jun-03 9:43 
GeneralResource Troubles (MissingManifestResourceException) Pin
gek_at31-May-03 2:02
gek_at31-May-03 2:02 
GeneralRe: Resource Troubles (MissingManifestResourceException) Pin
gek_at31-May-03 2:18
gek_at31-May-03 2:18 
GeneralRe: Resource Troubles (MissingManifestResourceException) Pin
David Stone31-May-03 6:23
sitebuilderDavid Stone31-May-03 6:23 
QuestionIf C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
Link260030-May-03 23:56
Link260030-May-03 23:56 
AnswerRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
Kannan Kalyanaraman31-May-03 0:56
Kannan Kalyanaraman31-May-03 0:56 
AnswerRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
David Stone31-May-03 6:15
sitebuilderDavid Stone31-May-03 6:15 
AnswerRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
FruitBatInShades31-May-03 23:57
FruitBatInShades31-May-03 23:57 
GeneralRe: If C# is Microsoft's answer to SUN's Java, then is C# Platform independent? Pin
Link26001-Jun-03 6:09
Link26001-Jun-03 6:09 
QuestionHow do I draw graphics on the StatusBar ? Pin
JeffSayHi30-May-03 21:27
JeffSayHi30-May-03 21:27 
AnswerRe: How do I draw graphics on the StatusBar ? Pin
James T. Johnson31-May-03 18:16
James T. Johnson31-May-03 18:16 
AnswerRe: How do I draw graphics on the StatusBar ? Pin
Manster2-Jun-03 9:45
Manster2-Jun-03 9:45 
GeneralHello Pin
Hussein Zahran30-May-03 8:04
Hussein Zahran30-May-03 8:04 
GeneralRe: Hello Pin
Jon Newman30-May-03 8:41
Jon Newman30-May-03 8:41 
GeneralRe: Hello Pin
Paul Watson31-May-03 4:11
sitebuilderPaul Watson31-May-03 4:11 

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.