<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp</id>
  <title type="text">microsoft.public.dotnet.languages.csharp Google Group</title>
  <subtitle type="text">
  Microsoft .NET technology newsgroup.
  </subtitle>
  <link href="/group/microsoft.public.dotnet.languages.csharp/feed/atom_v1_0_msgs.xml" rel="self" title="microsoft.public.dotnet.languages.csharp feed"/>
  <updated>2012-05-24T19:10:36Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T19:10:36Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/bf3675f70940b35e?show_docid=bf3675f70940b35e</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/bf3675f70940b35e?show_docid=bf3675f70940b35e"/>
  <title type="text">Re: Find object&#39;s method and</title>
  <summary type="html" xml:space="preserve">
  You may find these links useful: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.yoda.arachsys.com/csharp/complete.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.yoda.arachsys.com/csharp/incomplete.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://sscce.org/&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T19:08:38Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/bc6e8abbbfe209a7?show_docid=bc6e8abbbfe209a7</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/bc6e8abbbfe209a7?show_docid=bc6e8abbbfe209a7"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  &amp;quot;Not working neighther&amp;quot; is not a useful problem description (never mind &lt;br&gt; good grammar). &lt;br&gt; &lt;p&gt;If you want help, you need to get into the habit of asking good questions.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marcel Müller</name>
  <email>news.5.ma...@spamgourmet.org</email>
  </author>
  <updated>2012-05-24T16:53:40Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/9c7bf388cc4f948d?show_docid=9c7bf388cc4f948d</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/9c7bf388cc4f948d?show_docid=9c7bf388cc4f948d"/>
  <title type="text">Re: Find object&#39;s method and</title>
  <summary type="html" xml:space="preserve">
  Ehm... &lt;br&gt; I think you are really confusing things. A managed class type *never* &lt;br&gt; has a window handle (hwnd) and vice versa. &lt;br&gt; Are you talking about a *window* class? If yes, then you will not be &lt;br&gt; able to use reflections. Window classes respond to window messages in a &lt;br&gt; certain way. But you cannot examine this behavior by reflection. All you
  </summary>
  </entry>
  <entry>
  <author>
  <name>bradbury9</name>
  <email>ray.bradbu...@gmail.com</email>
  </author>
  <updated>2012-05-24T16:10:54Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/a3e3dba8586218ec?show_docid=a3e3dba8586218ec</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/a3e3dba8586218ec?show_docid=a3e3dba8586218ec"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  - Do no reinvent the wheel, use .NET API so you have less code to debug. &lt;br&gt; &lt;p&gt;- You can call .NET API MessageBox.Show since easily &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://msdn.microsoft.com/es-es/library/system.windows.forms.messagebox.show%28v=vs.80%29.aspx&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;- If you port your code to other OS (other versions o windows, smart devices, linux) you won&#39;t need to change your code to make it work again.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. X.</name>
  <email>nospam....@gmail.com</email>
  </author>
  <updated>2012-05-24T15:30:02Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/5ccf2d1f95ae8f83?show_docid=5ccf2d1f95ae8f83</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/5ccf2d1f95ae8f83?show_docid=5ccf2d1f95ae8f83"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  For &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://social.msdn.microsoft.com/Search/en-US?query=messagebox&amp;ac=8&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; (In the same site, and many samples around the internet - &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://social.msdn.microsoft.com/Search/en-US?query=messagebox&amp;ac=8&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; the namespace is System.Windows.Forms (the only &amp;quot;s&amp;quot; for different) - Not &lt;br&gt; working neighther).
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. X.</name>
  <email>nospam....@gmail.com</email>
  </author>
  <updated>2012-05-24T15:23:05Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/b758dcefc4d2eed9?show_docid=b758dcefc4d2eed9</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/b758dcefc4d2eed9?show_docid=b758dcefc4d2eed9"/>
  <title type="text">Re: Find object&#39;s method and</title>
  <summary type="html" xml:space="preserve">
  Ok. &lt;br&gt; The code look like : &lt;br&gt; ... &lt;br&gt; [DllImport(&amp;quot;user32.dll&amp;quot;, EntryPoint = &amp;quot;MessageBoxA&amp;quot;)] &lt;br&gt; static extern int MsgBox(int hWnd, &lt;br&gt; string msg, &lt;br&gt; string caption, &lt;br&gt; int type); &lt;br&gt; ... &lt;br&gt; public static bool WindowEnumProc(IntPtr hwnd, int lParam)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T14:51:34Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/9ae3e7d267abe297?show_docid=9ae3e7d267abe297</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/9ae3e7d267abe297?show_docid=9ae3e7d267abe297"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  Since &amp;quot;System.Windows.Form&amp;quot; is not what any of us wrote, I&#39;m not all that &lt;br&gt; worried about it. &lt;br&gt; &lt;p&gt;You should become familiar with &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://msdn.microsoft.com/&quot;&gt;[link]&lt;/a&gt; and especially &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://msdn.microsoft.com/library&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;There is a wealth of useful information and documentation there, including &lt;br&gt; detailed reference of the C# language and the .NET Framework libraries.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. X.</name>
  <email>nospam....@gmail.com</email>
  </author>
  <updated>2012-05-24T14:34:53Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/b84c8780715d5cf7?show_docid=b84c8780715d5cf7</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/b84c8780715d5cf7?show_docid=b84c8780715d5cf7"/>
  <title type="text">Re: Find object&#39;s method and</title>
  <summary type="html" xml:space="preserve">
  Sorry h is RuntimeTypeHandle &lt;br&gt; Anyway - conversion is needed. &lt;br&gt; Thanks :) &lt;br&gt; &lt;p&gt;I found: &lt;br&gt; Type.GetTypeFromHandle(h) &lt;br&gt; h should be hwnd, but what if I need to convert it from IntPtr - How can I &lt;br&gt; convert IntPtr to hwnd type? &lt;br&gt; &lt;p&gt;Thanks :) &lt;br&gt; &lt;p&gt;I have only the handle+name (there is application outside C#, and I have
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. X.</name>
  <email>nospam....@gmail.com</email>
  </author>
  <updated>2012-05-24T14:33:42Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/23d9a7f4c694ac4d?show_docid=23d9a7f4c694ac4d</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/23d9a7f4c694ac4d?show_docid=23d9a7f4c694ac4d"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  System.Windows.Form is not acceptable (it isn&#39;t compiled - The computer &lt;br&gt; doesn&#39;t know this - Framework 3.5). &lt;br&gt; &lt;p&gt;That&#39;s a stupid way to display a message box from managed code. &lt;br&gt; &lt;p&gt;You&#39;re welcome.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T14:30:49Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/286a54b46a85ab65?show_docid=286a54b46a85ab65</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/286a54b46a85ab65?show_docid=286a54b46a85ab65"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  That&#39;s a stupid way to display a message box from managed code. &lt;br&gt; &lt;p&gt;You&#39;re welcome.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. X.</name>
  <email>nospam....@gmail.com</email>
  </author>
  <updated>2012-05-24T14:30:48Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/8f964fd36aa1ebf0?show_docid=8f964fd36aa1ebf0</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/8f964fd36aa1ebf0?show_docid=8f964fd36aa1ebf0"/>
  <title type="text">Re: Find object&#39;s method and</title>
  <summary type="html" xml:space="preserve">
  I found: &lt;br&gt; Type.GetTypeFromHandle(h) &lt;br&gt; h should be hwnd, but what if I need to convert it from IntPtr - How can I &lt;br&gt; convert IntPtr to hwnd type? &lt;br&gt; &lt;p&gt;Thanks :) &lt;br&gt; &lt;p&gt;I have only the handle+name (there is application outside C#, and I have &lt;br&gt; only the handle of the class). &lt;br&gt; &lt;p&gt;Did you forget the namespace?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T14:28:58Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/fed14b25eaaada79/6caf3dab199bcb66?show_docid=6caf3dab199bcb66</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/fed14b25eaaada79/6caf3dab199bcb66?show_docid=6caf3dab199bcb66"/>
  <title type="text">Re: Windows API function: getClassInfo()</title>
  <summary type="html" xml:space="preserve">
  You were already directed to the pinvoke.net web site. Please look there. &lt;br&gt; &lt;p&gt;If and when you have an actual code example in which you&#39;ve used the &lt;br&gt; information you&#39;ve learned there, and it still doesn&#39;t work, then post a &lt;br&gt; proper concise-but-complete code example that reliably reproduces the &lt;br&gt; problem, along with an _exact_ description of whatever error messages you
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T14:26:40Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/4582587ea6a0523f?show_docid=4582587ea6a0523f</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/d0df4ade86cd6e66/4582587ea6a0523f?show_docid=4582587ea6a0523f"/>
  <title type="text">Re: Find object&#39;s method and</title>
  <summary type="html" xml:space="preserve">
  Please post a concise-but-complete code example that reliably reproduces &lt;br&gt; the problem. &lt;br&gt; &lt;p&gt;Fact is, the phrase &amp;quot;handle of the class&amp;quot; makes no sense, and &amp;quot;there is &lt;br&gt; application outside C#&amp;quot; doesn&#39;t really add much either. Unless you show &lt;br&gt; _exactly_ what you are doing, and also describe _exactly_ whatever error
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. X.</name>
  <email>nospam....@gmail.com</email>
  </author>
  <updated>2012-05-24T14:23:33Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/9587708133c12717?show_docid=9587708133c12717</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/9587708133c12717?show_docid=9587708133c12717"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  The application is class library, &lt;br&gt; so I put on code : &lt;br&gt; [DllImport(&amp;quot;user32.dll&amp;quot;, EntryPoint = &amp;quot;MessageBoxA&amp;quot;)] &lt;br&gt; static extern int MsgBox(int hWnd, &lt;br&gt; string msg, &lt;br&gt; string caption, &lt;br&gt; int type); &lt;br&gt; &lt;p&gt;and use MsgBox fine. &lt;br&gt; &lt;p&gt;Thanks, anyway :)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Duniho</name>
  <email>npoestpe...@nnowslpianmk.com</email>
  </author>
  <updated>2012-05-24T14:21:08Z</updated>
  <id>http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/f27eddc3e49d57ff?show_docid=f27eddc3e49d57ff</id>
  <link href="http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/dbd31109b5afe14f/f27eddc3e49d57ff?show_docid=f27eddc3e49d57ff"/>
  <title type="text">Re: C# - Dll questions</title>
  <summary type="html" xml:space="preserve">
  To use any member of any type, you must: &lt;br&gt; &lt;p&gt; -- reference the assembly that declares the type, and &lt;br&gt; -- use the correct name in your code when using the type &lt;br&gt; &lt;p&gt;If a type exists within a namespace, as most do (including MessageBox), you &lt;br&gt; must either provide the fully-qualified name (i.e. the full name, including
  </summary>
  </entry>
</feed>

