Re: hWnd to string
- From: "Oyvind Eriksen" <oyvind -(at)- eriksen.cn>
- Date: Fri, 29 Sep 2006 14:38:12 +0200
"Alex Blekhman" <xfkt@xxxxxxxxx> wrote in message
news:%23wlfsJk4GHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
Oyvind Eriksen wrote:
I usually code in C# so C++ isn't my strongest side.. :-)
I'm creating a small C++ application that show a splash screen while the
C# application is loading.
My plan is to pass the splash window handle (hWnd) as a command line
argument when executing the C# application and then close the window with
the C# application when its finished loading. Everything works well
except casting (converting) the hWnd to a string. I've tried what I know
of casting, and using the sprintf function but I can't make functional
code.
If anybody could help me I would be very thankful!
Just out of curiosity, why do you need separate application [moreover,
written in C++] for splash screen? Can't you just create another window
from main C# application and show it?
The C# application will be running on some pretty old machines.
It's also somewhat large so on these machines it takes about 20 seconds to
start :-(
Several users will launch the application several times because apparently
nothing is happening...
This C++ application launches instantly and shows the splash screen until
the C# application is finished loading.
Btw, I'm very embarrassed about this question now I'm finished... :-)
Regards,
Oyvind Eriksen
.
- Prev by Date: Extraction of files from ISO Image
- Next by Date: Re: Extraction of files from ISO Image
- Previous by thread: Extraction of files from ISO Image
- Next by thread: Re: Mixed assembler and C++
- Index(es):
Relevant Pages
|