|
|
toxcct wrote: what exactly are you trying to do here ?
He's trying to redirect the output of a console application, much like:
C:> dir > dir.out
will take the output of the dir command and redirect it from standard out to a file instead.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
It comes in the middle of an automated process and no manual interaction is not possible
S.Yamini
|
|
|
|
|
See here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hi all,
i am beginner in vc++.
i want to diplay images of the devices dynamically that are registered in to the network.
how to do that..
and can u people suggest me the best ebooks for learning vc++6 with practical xamples and also the best sites for practising vc++ 6.
thanks in advance.
g.r.c
rc
|
|
|
|
|
i want to diplay images of the devices dynamically that are registered in to the network.
Not sure what you are sking for... Maybe you specify more details?
can u people suggest me the best ebooks for learning vc++6 with practical xamples and also the best sites for practising vc++ 6.
You can find free online books from here.
A couple of best sites:
Here
There
--
=====
Arman
|
|
|
|
|
hi,
tnx 4 ur reply.
my question in detail:
i am desiginig a gui related to networks.
in this when pc's comes into the network they shuld get displayed in server...i mean if there are 3 pc's in network then these shuld be displayed in the server UI...similarly if there are "n" pc's then these "n" pc's shuld be displayed in the serever.
|
|
|
|
|
For starters, create a dialog-based project, and add a list control to it. Turn on the control's LVS_REPORT style. Before messing around with images, get your code working such that it will display the various network members. Then, add images to the first column. You'll need to create an image list (see CImageList ) of all the images you plan on using.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
tnx for ur reply... and currently i am doing with waht u suggested tnx a lot.
|
|
|
|
|
Reading from USB port.????????
Can anybody help me on how to read the data from USB port.
Thanks In Advance
Ashok.
|
|
|
|
|
You have to open (using CreateFile) the driver that is associated with the device. Then you can use ReadFile and WriteFile to read or write data to the driver.
But it depends also of the kind of device you are using. Can you provide more information ?
|
|
|
|
|
I am very new to this USB communication.
can u please send sample code for this or any links????????
Thanks In Advance
Ashok.
|
|
|
|
|
ashokbngr wrote: can u please send sample code for this or any links????????
No, because I don't have any information to give a piece of code. What device are you trying to communicate with ?
|
|
|
|
|
Cedric Moonen wrote: What device are you trying to communicate with ?
Come on, Cedric, it's a universal serial device!
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Cedric Moonen wrote: What device are you trying to communicate with ?
This[^] device!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
|
|
Still not enough info!
Or yellow...
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Well, that depends on the driver for your specific device.
If your device's USB driver acts like a serial-port then you need the ReadFile() and WriteFile() (just like in a serial port)
Otherwise, you'll have to refer to the documentation/spec of your device ...
|
|
|
|
|
can u please send sample code for this.
Thanks In Advance
Ashok.
|
|
|
|
|
|
hi all,
i am doing a project..and i need to display the informations of a user accounts of the system and the informations about the local groups of the system.i found that the APIs NetUserEnum() and NetLocalGroupEnum() can be used ..but i couldnt display the result..there were a lot of errors..
please..anybody help me.. i want to display it on a button click to a textbox.
|
|
|
|
|
habeesh wrote: there were a lot of errors..
Such as ???
There are a limited amount of mind-readers here at CP, please be more specific.
Exactly what's your problem(s)?
BTW, welcome to CP.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
kakan wrote: There are a limited amount of mind-readers here at CP...
Are they all busy? The half-pipe in the break room is gonna have to go then.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Looks like David is in a pretty good mood today.
|
|
|
|