|
Thank you very much I will analyse it and see.
Regards
Vikash
|
|
|
|
|
Hi all,
In my application(winsock Programm) I am sending the message to
client application and i am waiting for ack,
I have a plan to implement timeout mechanism
if client doesn't send any ack
please give your sugesstions .
My question is "Is there any timeOut Mechanism in Winsock Programming?Like SerialComm"
anju
|
|
|
|
|
|
hi Michel Prévost,
Thanks a lot
now it is working fine
anju
|
|
|
|
|
I have made a program that reads all kind of technical information about
the workstation, but one thing is missing:
How could I identify the mother board? I am using win NT4.0 & MS VC++6.
This is a tool for my own use, it would help to get _any kind_ of information
what mobo is being used. (Other option is for me to go through 120+
workstations sooner or later )
|
|
|
|
|
You probably have to create a device-driver to be able to get at the information from the system BIOS to see what BIOS vendor it is. From that point you have to collect information from all mobo vendors and try to match it. Short: There is no info available on what mobo you're using, you have to look this up yourself.
I wouldn't even consider this unless there was a known collection of mobos used.
++luck;
|
|
|
|
|
I could quite easily find out what mobos we have. Even information who is the manufacturer (asus, abit, etc) would be a big help.
|
|
|
|
|
Hi guys!
Does anybody has any idea how to draw in different layers, so to be able to turn off a layer when not needed any more and get the original picture back? I find it sometimes too expensive to redraw a whole picture if I just need to remove some icons or other item drawn on it, or to calculate a rect of the pic to be "cut off" and then bitblt-ed from the resource bmp again to "fill the hole".
Any help, idea, or pointer to something similar would be greatly appreciated. Thanks.
.
|
|
|
|
|
Use double array:
Use a vector of graphical objects for each layer.
Use a main vector to store all the layers.
regards
-----
Mit freundlichen Grüssen/Best Regards/Un cordial saludo.
Ing. José Manuel Hostalet Wandosell, Fraunhofer IPA, Abt.323/Robotersysteme
Nobelstrasse 12, D-70569 Stuttgart (Germany)
mailto:jose.hostalet@ipa.fhg.de, http://www.ipa.fhg.de
|
|
|
|
|
Does anyone know a "good" book about software development on win ce and pocket pc with C++ ???
--
Nice greets, Daniel.
|
|
|
|
|
Id say Chris Muench's book The Windows CE Technology Tutorial [^]is the best one I've seen. It covers alot of the diffrences between CE and the desktop.
Otherwise, any good MFC/win32 book + MSDN's CE pages will do the trick.
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
I want to print the window generated by my dialog based application(Visual C++), provided a push button for printing window. Can any body tell me how to do this?
Ravi
|
|
|
|
|
Try with WM_PRINT or WM_PRINTCLIENT.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
As a beginer of ATL Based Web Service programmer, I have some some questions about it:
1)Whether a Web Sevice can hold its state during its serving many clients, for I want keep some data structs among clients because these clients are collorating doing a certain work. If Web Service can has this virtue, how can I do, are there some documents about it?
2) can a web service client dynamicly locate the server without recompiling its source files When a Web Service provider changes its location on the internet? If it can, how can I do and are there some documents about it?
Please help me, thank you!
oyyx@sina.com
|
|
|
|
|
Hi All,
I need to kill a already running exe through my program whose execution I started through the system("filename") command of C.How do I do this.Is there any method available??
Thanks
Abhishek.
Learning is a never ending process of Life.
|
|
|
|
|
To kill a process, use TerminateProcess. TerminateProcess needs a process handle - you'll have to use CreateProcess or ShellExecuteEx instead of system("filename").
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Tomasz Sowinski wrote:
To kill a process, use TerminateProcess. TerminateProcess needs a process handle - you'll have to use CreateProcess or ShellExecuteEx
... or look it up using one of the MS API's (different for every platform and blah blah blah...).
There is however IIRC a library for this here at CP. Maybe you should browse around a bit.
|
|
|
|
|
Mike Nordell wrote:
... or look it up using one of the MS API's
What if there's more than one instance of 'filename.exe'?
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Tomasz Sowinski wrote:
What if there's more than one instance of 'filename.exe'?
Then you're in trouble!
Do you know anything else about the app, like Window Class, Window name? Actually, what do you know about the process you want to kill?
|
|
|
|
|
I have no idea what's the Window Class. Maybe you should ask original poster about that?
Anyway, I think switching from system to CreateProcess/ShellExecuteEx is waaaay easier than firetrucking with enumerating processes.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
What kind of data structure would a control like this use...? What kind of loop would you use to iterate the entire array...? Assuming you use and array and not a linked list or something...?
In a very loosley typed lang would it look anything like this???
struct TREE_ITEM{
TREE_ITEM Parent;
TREE_ITEM Child;
CString Caption;
DWORD CommandID;
}
I'm not really interested in Treeview structures only it's more curiousity about how hierarchial structures work. So please don't mention how I may have missed a field inside the TREE_ITEM structure like CImageList or something...
Using the above structure makes iterating an array confusing as heck.
while(TREE_VIEW.Child){
}
The above seems (I'm almost positive i'm missing something) to trivial???
This would only intereate the top most parent items, but what about children of children and such...?
Thanx!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
my experience of iterating CTreeCtrls has always been using recursive functions.
ie (pseudocode)
void ProcessTreeItem(HTREEITEM hti)
{
HTREEITEM htiChild = GetFirstChild(hti);
while (htiChild)
{
ProcessTreeItem(htiChild);
htiChild = GetNextChild(hti, htiChild);
}
}
|
|
|
|
|
Hi,
i have 2 questions about helpfile handling :
1 : How can i open a Help file from the Application ?
2 : How can i open a Help file with a specific topic ?
Thanks !
Marco
|
|
|
|
|
|
i need something like mutex that will not be destroyed by windows after the process terminates, so another process can see it later on. any help plz?
|
|
|
|