|
hello all.
I am developing a Messaging server working side by side with Exchange.
I consider developing a WMI interface to my server. if anybody has any thought, experience, or general guide lines (like- DONT DO THAT) plz share...
thanks allot
Noam Ben Haim
noam.benhaim@onsettechnology.com
Noam Ben Haim
Systems Developer
Onset Technology
noam.benhaim@onsettechnology.com
|
|
|
|
|
Im having problems resizing my property sheet to the size of its parent(a dialog bar). IT seems as though the parent rect isnt being obtained correctly or something. Has anyone done this, or something similar and could give me some advice? thanks
~ Chris
|
|
|
|
|
Hi,
does anyboy know how to move a window without a title-bar.
I tried :
case WM_MOUSEMOVE:
if( wParam && MK_LBUTTON )
.
.
.
That works but not fast ... and the grafix ? no comment *g*
Any ideas ?
Greatings Mario ///
--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
|
|
|
|
|
Handle WM_LBUTTONDOWN, like so:
case WM_LBUTTONDOWN:
PostMessage ( hwnd, WM_NCLBUTTONDOWN, HTCAPTION, lParam );
break;
That "tricks" the window into thinking you clicked on its caption bar (even though there isn't one!).
--Mike--
http://home.inreach.com/mdunn/
Time is an illusion; lunchtime doubly so.
|
|
|
|
|
Works fine - thank you !
Greatings Mario ///
--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
|
|
|
|
|
Please, what flag have I to use to have a window without caption and borders - I used it month ago but I forgot (
thanx
Mario///
--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
|
|
|
|
|
|
When I step through my source code when debugging my application (F10),
sometimes the system suddenly hangs.
The only thing I can do is move the mouse pointer and then I'll always have
to reboot my machine.
Has anyone ever experienced the same or know a solution to this annoying problem.
Platform: Win 2000 SP1; VC++6 SP4
Our application is a multithreaded application that also uses ADO.
Thanks in advance.
Geert
|
|
|
|
|
Debugging multihreading-apps can be hard work ... if you want to know more about it take a look in the following book - chapter 15 ( would be to much write it all down here ):
Win32 Multithreaded Programming
O`Reilly
Cohen & Woodring
ISBN 1-56592-296-4
Greatings Mario ///
--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
|
|
|
|
|
Thanks for the tip.
You don't happen to know any electronical version of that chapter/book?
Does Win2K behaves differently than WinNT for multithreading?
'Cause I don't have the problem (with the same code) on a WinNT machine.
Bye.
Geert.
|
|
|
|
|
I don`t know about an e-book of o`reilly.
I think your problem is not the platform you`re programming on.
The main problem it seems is that you step through one thread while another is running in the back.
This can cause problems during synchronisation that ends in a deadlock.
Greatings Mario //
P.S.: I forgot - There is one difference between Win9x and NT/2k in using WaitForMultipleObject.
If this function succeds the return value in 9x is always 0 while on NT/2k it is the index of the last returning thread/object or whatever ...
--------------------
www.klangwerker.de
rocknix@lycos.de
--------------------
|
|
|
|
|
I had lots of problems after I upgraded from 98SE to 2000. The problem you describe was one of them. I eventually found that I had to replace all the RAM in my system. For some reason 2000 is incredibly picky about RAM and needs A1 quality to run reliably. I have since upgraded 8 other systems of various sorts and half of them needed to have new RAM installed. The symptomps ranged from totally flaky (memory dump avery time it booted) to mysterious hangs every now and then. The RAM I removed worked fine for 98 and NT but 2000 hated it. You also have to be very careful about mixing single sided and double sided sticks and may have to use alternate slots (1,3 not 1,2). Beats me why. (Running systems slower than spec also worked so timing has something to do with it.)
The reason this may be your problem is the fact that you had to reboot the system. I have found that even when an application crashed and burned I have never had to reboot NT or 2000 (so far) unless the hardware went boinnng. Since upgrading the RAM I have had no problems whatsoever and I have been debugging my totally flaky beginners style multithreaded code quite happily with VS.
|
|
|
|
|
I have a problem in my project, and it make me don't know where to start!
I create a LAN, but One machine runs MS Windows, and the others runs MSDOS. Each of them have a NIC, and link by BNC connectors.
I want to write two programs.
One run in Windows, and one run in DOS. But what protocol should I use for the communication.
if anyone know about it, please send it to me! (documents or programs)
thank for your support!
|
|
|
|
|
Well...what protocols did you configure on your LAN, because how they communicate greatly depends on what protocols are available.
|
|
|
|
|
I have a screen divided into two and each side has a different base class. I want asociate the action of te tree control (left side) so that it reflects on the right side (a listView or rich Edit).
|
|
|
|
|
You need to catch actions on the tree ( probably with a CTreeCtrl derived class ) and send them to the other view.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
Hello,
is it possible to create Window Messages at runtime?
I use RegisterWindowMessage and i want to decide later,
on what method i want to set the messages
thanks in advance,
joern
|
|
|
|
|
Hello,
is it possible to create Window Messages at runtime?
I use RegisterWindowMessage and i want to decide later,
on what method i want to set the messages
thanks in advance,
joern
|
|
|
|
|
I'm not entirely sure what you mean...you have a message id returned from RegisterWindowMessage, and you want to determine at run-time which method you want to call? The easiest way would be to trap the message in PreTranslateMessage(), and send it on from there. Or you could simple send the message on from the function you originally designated to trap your message. Or have I misunderstood your question?
Walter Gildersleeve
Freiburg, Germany
walter.gildersleeve@pe-gmbh.de
|
|
|
|
|
Hello
could anybody help me with some code how i can translate the database structure to XML?
or does anybody know how i could find a programm whic is doing that?
thank you
greetings
|
|
|
|
|
|
hello,
thank you for your help.
i will try it immiediatly.
greetings
|
|
|
|
|
Hi. How can I fill in Rich Edit Control with the contexts of a Text file before showing this control. This control presented this error : "Failed to create empty document".
|
|
|
|
|
The Rich Edit Control doesn't give that message, the MFC Document/View framework does, and it has nothing to do with the control.
I really don't even know where to start, since you seem to lack even a basic understanding of Doc/View. I would suggest following the scribble tutorial before trying to go any further in what you're doing.
|
|
|
|
|
How can i change a Unix file into DOS file. What is the commando or sentence in VC++ that does this? Thanks
|
|
|
|