|
Mike Winter wrote: I have a remote PC with a Watchdog application running on it. This is monitoring the health of other applications runing on the PC, and if it detects a problem, will reset the PC. All applications are written in Visual c++, OS is XP home.
Is it possible to send a message over the network to the Watchdog app to instruct it to reset the remote PC?
Will FindWindow() work over a network (using the IP afddress of the remote machine), or is there another way of getting the handle of the Watchdog application?
for IPC over network, there are very few method available one of them is SOCKET, Remote Procdeure Call and NamedPipes( i havn't used Named pipes over network).
but Socket is most easy way to communicate over network!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
I got the article to recieve UDP packet done in vc++ from codeproject which is available in this link
http://www.codeproject.com/useritems/sniffer.asp?print=true[^],
but what I need to do is to recieve only Voice UDP packets and needs to store it in a voice format using some codec.
The conversation made in particular Avaya IP phone connected in Private LAN need to be recorded and stored in wav format, can anyone help me out????
Rajeche
|
|
|
|
|
Hi All,
Is there any APIs to get geographical information (like USA, CAlifornia) by pinging to any URL from an MFC application.
1. Assume that there is always access to internet when the application is running.
Sunil
|
|
|
|
|
did you have a look at Google Maps APIs ?
|
|
|
|
|
Thanks. But that is for Java dependant right.
What if i need to use it in MFC?
Sunil
|
|
|
|
|
sunilpv1982 wrote: But that is for Java dependant right.
you're kidding, right ? you did even looked at it, didn't you ?
|
|
|
|
|
got what you meant. But those are for web site development ONLY, if i am right.
mine is an MFC application..
could you provide code snippet in case you have used Google apis in MFC?
Sunil
|
|
|
|
|
sunilpv1982 wrote: What if i need to use it in MFC?
they are just api!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
Can any one please tell me, how can i decrypt the WIFI Passkey obtained from a WIFI Profile using the funtion 'WlanGetProfile'.
Msdn suggests a function CryptUnProtectData( ). But there is no documentation on how to use this function in this case.
Thanks in Advance
Arun Krishnan
|
|
|
|
|
Hi,
Does anyone know how can I change the user's bitmap in XP , programatically?
Is there any API for it?
I am creating a user using 'NetUserAdd' API and I want to add a bitmap for that user.
Please help me with this.
Thanks ,
Manasi
|
|
|
|
|
Which Bitmap are you referring to? The bitmap by the user account when you log in? The desktop bitmap according to which user is logged? Other Bitmap?
What have you tried out?
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
Hi,
Thanks for the reply.
Im talking about the user bitmap assigned by OS to the user. (That can be seen when we click on start button in Win XP. On start button click, start menu appears and at the top the username is displayed with the user bitmap next to it.)
These bitmaps are stored in the system at location : "C:\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures\Default
Pictures"
These can be changed in the system as : control panel >> user accounts >> pick an account to change (select an accnt) >> change my picture.
I want to change this picture programatically.
Im creating the user using API 'NetUserAdd'. I could find no method for adding a bitmap using Netxxx APIs.
It would be a great help if you could tell me some method for this.
Thanks,
Manasi
|
|
|
|
|
Im sorry about, but I can't help you with that Bitmap, I don't know how to access there. A way to do it, must exist, but which... sorry
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
Hi,
How can we perform "multipart" file upload from c++ to a servlet?
Most of the articles I have seen so far, load the whole file in memory and then send the whole file in one go.
Is it possible to send the file by parts as is done in Java (Apache Commons File Upload)?
Thanks.
-- modified at 2:02 Wednesday 22nd August, 2007
|
|
|
|
|
If I were to embed a binary file into my resources, how could I execute that file without having to write it to disk first? I know it's possible but have no idea how to do it.
|
|
|
|
|
I really doubt this is possible.
i this the binary must be copied to a temporary folder, then executed (and if you want, delete it after that)
BTW, an Off Topic Notice : you have a problem in your signature[^]. don't forget to close the <font> tag
|
|
|
|
|
I'm pretty sure it's possible. I'm guessing it's a matter of reading the files PE header and passing control.
The problem with my sig is that there's not enough room to close the font. Not a big problem.
BTW did you ever finish that XML library you were working on?
|
|
|
|
|
WalderMort wrote: The problem with my sig is that there's not enough room to close the font. Not a big problem.
hey, how can you say it's not a big problem when you deliberately break a site with your badly formatted HTML ?!
if your sig is too big, then change it to something smaller, hey !
|
|
|
|
|
WalderMort wrote: BTW did you ever finish that XML library you were working on?
abandonned... using MSXML instead ^^
|
|
|
|
|
WalderMort wrote: I'm pretty sure it's possible.
AFAIK, it's not possible.
Cheers
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Oh, but I must disagree. It's simply a matter of reading the PE header, loading the dll's and calling winCRTmain(). Along with a few hooks of course.
|
|
|
|
|
|
I want to define a new sas type, consider for example clicking a button. How can I do this? the MSDN documents couldn't help me. because it was written only that you should define a new sas type, more than 0 to 127, but it hasn't been mentioned that how can I do that?
Thanks in advance,
Regards
|
|
|
|
|
Hi,
Mine is a SDI application with different form views.I have button controls in the form views.When clicked on these buttons some dilaogs will open.How to get the handle to the child window which is opened when clicked on buttons.
Thanks.
|
|
|
|
|
radhika28 wrote: some dilaogs will open
Are those dialogs shown as modal?
- NS -
|
|
|
|