Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: How to convert a std::wstring to HWND in microsoft.public.windowsce.embedded.vc

Started 1 month, 2 weeks ago by Carsten Unterberg
Hello, I try to convert a given hwnd in a std::wstring into a real HWND. At the moment, I try it like that: std::wstring clienthwnd = L"87CAFD04"; //clienthwnd is OK long longclienthwnd = (LONG)_wtol((TCHAR*)clienthwnd.c_str()); //longclienthwnd = '0x00000057' HWND pclienthwnd = reinterpret_cast<HWND>(...
Site: Discussions in microsoft.public.windowsce.embedded.vc  Discussions in microsoft.public.windowsce.embedded.vc - site profile
Forum: microsoft.public.windowsce.embedded.vc  microsoft.public.windowsce.embedded.vc - forum profile
Total authors: 2 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: microsoft.com

Other posts in this thread:

r_z_aret@pen_fact.com replied 1 month, 2 weeks ago
On Wed, 21 Oct 2009 16:15:10 +0200, "Carsten Unterberg" <carsten.unterberg@googlemail.com> wrote: >Hello, > >I try to convert a given hwnd in a std::wstring into a real HWND. Are you sure you need/want to do this? If you tell us why, someone may have a better solution. > >At the moment, I try it ...

Carsten Unterberg replied 1 month, 2 weeks ago
hey, thanks at first for that fast reply. I think, I need it for my current project. I created a c++ application and a ..NetCF application. Both are communicated via Windows Messages. I need the conversion from wstring to HWND in the c++ application to get sure to have the correct .NetCF application on the backside,...

 

Top contributing authors

Name
Posts
Carsten Unterberg
2
user's latest post:
How to convert a std::wstring to...
Published (2009-10-21 10:27:00)
&nbsp; hey, thanks at first for that fast reply. I think, I need it for my current project. I created a c++ application and a ..NetCF application. Both are communicated via Windows Messages. I need the conversion from wstring to HWND in the c++ application to get sure to have the correct .NetCF application on the backside, this, which starts the c++ application. For sure, I could look with the FindWindow() function for that .NetCF...
r_z_aret@pen_fact.com
1
user's latest post:
How to convert a std::wstring to...
Published (2009-10-21 10:02:00)
&nbsp; On Wed, 21 Oct 2009 16:15:10 +0200, &quot;Carsten Unterberg&quot; &lt;carsten.unterberg@googlemail.com&gt; wrote: &gt;Hello, &gt; &gt;I try to convert a given hwnd in a std::wstring into a real HWND. Are you sure you need/want to do this? If you tell us why, someone may have a better solution. &gt; &gt;At the moment, I try it like that: &gt; &gt;std::wstring clienthwnd =...

Related threads on "Discussions in microsoft.public.windowsce.embedded.vc":

Related threads on other sites:

Thread profile page for "How to convert a std::wstring to HWND in microsoft.public.windowsce.embedded.vc" on http://www.microsoft.com/communities/newsgroups.... This report page is a snippet summary view from a single thread "How to convert a std::wstring to HWND in microsoft.public.windowsce.embedded.vc", located on the Message Board at http://www.microsoft.com/communities/newsgroups.... This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity