|
ellarond wrote: i m totally clueless.
Which is probably why you should be starting with something a little less involved. Until you have the basics mastered, none of what I suggest to you is going to make any sense.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
I agree with you they are active on the codeproject and especialy on the c++ forum
|
|
|
|
|
It's sad that I'm not able to spend much time in CP these days.. . So I'm certainly not aware of new members or others who are also active in CP.
*
|
|
|
|
|
Dear Astricks,
many thanks. your voice worthes much for me; but let's not forget the others, as i'm a really too small gain of sand without all of you, and of course, without the other MVP which have much more technical knowledge than me (special thinking to Mike Dunn).
anyway, Happy New Year to you
|
|
|
|
|
Welcome! Happy New to you Toxcct too .. Oops, not only Mike I forgot peterchen too
*
|
|
|
|
|
Can anybody tell me how to resize programmatically a control in a dialog box, i.e, when I click a button the control is resized, I am not interested in resizing using the mouse ? TIA
fabrice
|
|
|
|
|
Give a look to SetWindowPos in MSDN.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Thanks for the tip, it works. Excuse my ignorance..
|
|
|
|
|
you're welcome.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
|
Thanks for your help, it also works.
|
|
|
|
|
You're welcome
|
|
|
|
|
See the Extras section of this article.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Dear All,
I have coded a Windows service program. This is working fine. This is Windows ATL Service program. When i register this service program through Service control manager (SC) i am getting this below error.
' Could not start the rmm.exe service on local computer
Error 1053: The Service did not respond to the start or control request in a timely fashion'
How can change my exe to service.
Kindly help me..
Thanks
Nice things do nice works
|
|
|
|
|
You sure the values your are returning when you respond to those requests are correct?
|
|
|
|
|
Hi
i add a .dll file using #import.
When i try to get handle i shows class not registered.
what should
manu
|
|
|
|
|
I'm not sure that you're using C++ ? If you are, I guess it's COM, is your dll registered ? With regsvr32 ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have written a C++/CLI wrapper for a C++ SDK, and tested it in a simple C# app, it runs fine. When I move the code into my production app, the call that initialises the SDK returns a value of 3145990. According to the docs, this is a Windows API error, a WMI error, or an STI error. However, FormatMessage won't do anything with this value, nor is it a WMI or STI error as far as I can tell. Can anyone suggest what it might be ? It is NOT an error defined by the SDK, I checked that first.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Are you doing anything that involves an external library, like Winsock? If so, you will need to tell FormatMessage(...) to look in that external DLL to find the correct message string.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
The only external library I know I am using is the one that generates the error, but the docs say that the error is a GetLastError code, or a WMI/STI error.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
3145990 == 0x00300106
That isn't an HRESULT failure code, since the high bit isn't set. Some of the Win error codes are defined relative to a base number -- eg, ERROR_INTERNET_* errors start at 12000 -- so I'd hazard a guess (based on how close the number is to a nice round hex number) that you're seeing a code from some subsystem. I haven't been able to find the #define for it either, though.
|
|
|
|
|
Hi All,
I have got two applications which communicate via DDE. It works fine in Windows 2000 but when I run the applications in Win98, the string passed via DDE changes when it reaches the DDE Server. Any specific changes that I must do to make it work with Win98?
Thanks...
---
Hakuna-Matada
It means no worries for the rest of your days...
It's our problem free, Philosophy
"I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."
|
|
|
|
|
it isn't a Unicode versus Ascii issue ?
|
|
|
|
|