|
Mabye some lamely-written app has turned your foreground lock timeout down to zero? What value gets returned by this?
DWORD dwTime;
SystemParametersInfo ( SPI_GETFOREGROUNDLOCKTIMEOUT, 0, &dwTime, 0);
cout << dwTime;
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber
You cannot stop me with paramecium alone!
|
|
|
|
|
It returns 200000. That good or bad?
And thanks to leppie for cluing me up as to how to run the code. *Paul gingerly closes down the C++ files*
regards,
Paul Watson
Bluegrass
South Africa
Brian Welsch wrote:
"blah blah blah, maybe a potato?" while translating my Afrikaans.
Crikey! ain't life grand?
|
|
|
|
|
|
ok till now we had databases which could be manipulated from
webpages. i wan to do this with a phone line.
i know i need a IVR but any one knows where to start off from and how to get it done cheaply?
Sparks
|
|
|
|
|
First you need to decide on the hardware the you will be using. What will be receiving the call, a modem or a proper phone switch?
Once you have your hardware decided, you can then decide the best software approach. Lots of phone switches will already have IVR software written that could be adapted.
Most phone switches either support TAPI or have their own API's with which you can write your own IVR
With a modem, you'll be stuck with TAPI and a lot will depend on what the modem drivers support.
Finally, it won't be cheap. Telephony hardware isn't cheap and telephony developers aren't cheap either ... I should now, I am one.
Michael
'Logic, my dear Zoe, merely enables one to be wrong with authority.' - The Doctor: The Wheel in Space
|
|
|
|
|
i agree Modems are no good so don't waste ur time there
go for proper switch it is expensive but worth it
and go for telephoney deveoplers they are not CHEAP !
Live as if your were to die tomorrow. Learn as if you were to live forever.
-Mahatma Gandhi
|
|
|
|
|
Hello All,
I work in the Wireless Industry and have most of
my experience in developing Engineering tools
and Test Applications.
In the process I have discovered that source and config management
for all of these different test apps is a pain in the rear.
So, what I have come up with is this architecture.
One GUI Application (Client).
Multiple Test Servers (GUIless Applications).
It is basically a Generic GUI that connects to multiple
test servers. The test servers utilize COM categories
and derive from a common interface that the Generic GUI
can use.
Does anyone have the desire to read this article or download the code?
Thanks,
Mike "Cop" Pulice
mike@puliceworx.com
|
|
|
|
|
Yes please!
I was looking for something similar a little while ago but really struggled to find anything. Most of the testing articles seem to be appreciated at Code Project.
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
Anyone interested in a hierarchy model for ports?
Something like
CPort
- CSerial
- CUSB
Mike "Cop" Pulice
mike@puliceworx.com
|
|
|
|
|
yes could you discus it or publish an article for it
especially the USB port
Mhmoud Rawas
------------
Software Eng.
|
|
|
|
|
yeah definitely !
bring it on.
|
|
|
|
|
Has anyone tried developing .NET apps for the X10 Activehome products? This basically entails sending and receiving packets through a serial port, which then sends a signal through your power lines to control lamps, appliances, etc. Tricky part is that the transmissions have to synchronize with the frequency of the AC power line! Tutorial and samples for monitoring COM ports are here:
http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/
And the X10 protocol for the power line interface is here:
ftp://ftp.x10.com/pub/manuals/technicalnote.pdf
Any input is welcome. The Activehome kit is a pretty nifty little toy and could make for some interesting programming applications.
|
|
|
|
|
Hi,
It actually sounds like a nifty idea. Everyone seems to have a serial port and the interface protocol is a bonus; however, if there is no hardware with which to interface, it's difficult to do the testing.
I think it would be rather keen to create devices (such as infrared receivers) to be able to provide the ability to dim and/or turn on/off lights. (i.e. from the home entertainment system remote control.)
Regards,
Joe
|
|
|
|
|
Is this stuff available in the UK?
My wife is disabled, and among other things has problems with light switches, etc, although she can use a PC, so this would be quite interesting...
Steve S
|
|
|
|
|
I have to impelement my own double pow(double x , double y)
I cannot use of math library any ideas
Ctrl+Alt+Del
|
|
|
|
|
it helps if you understand what POWER means...
in primary school, we learnt that 2^5 = 2*2*2*2*2
so x^y = x1*x2*x3*x4*...*xj where j=y
you don't need any maths libraries...
i hope this helps with you homework...
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
In high school, we learned that you can raise numbers to non-integer powers. Although your 'algorithm' would be applicable if the request was for double pow(double x, int y), things become more complicated for double y, typically involving logarithms.
|
|
|
|
|
yup...
sounds reasonable... it's been a VERY long time since i was at either primary school or high school, but your response sounds reasonable...
either way, this sounds like a 'homework' question, and i think our friend needs to do their homework by looking up the alorithms either on the net, or in their maths book...
cheers
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
Mr. Nik,
How with your primary school maths, can you calculate
Pow(1.5, 2.3)
I myself don't know the answer.
But I would give a friendly advice - Give a thought before commeting and telling what is taught in primary schools.
Thanks
Ruchi
|
|
|
|
|
ruchi,
if you had read my previous response to janovetz, you would have realised i had already conceded that point...
i would also like to provide some friendly advice... read *all* the thread before providing friendly advice...
cheers
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
public double Pow(double a, double b)
{
double temp = 0, final = 0;
temp = b*Math.Log(a);
final = Math.Exp(temp);
return final;
}
Hope this helps
Thanks
Ruchi
|
|
|
|
|
Get it here! Enjoy the reading.
|
|
|
|
|
No text. Well, nothing worth saying, atleast.
<--Signature begins here-->
I am...
Currently: A Programming Student/Intern.
Working on an outside project: A game for the GamePark32 (GP32) portable gaming console.
GamePark32 English(Engrish) site[^]
My new website: www.gp32us.com *Currently Under Construction*
|
|
|
|
|
sorry, replyign to this as a test of my sig I can't find a testing area for this, so, sorry
|
|
|
|
|
nssone wrote:
<img src=http://gp32us.com/images/linkimage.jpg border=0>
Nope - images the traditional way are disabled. If you can find a way to do it anyway, go ahead, but I don't think I'm supposed to tell.
|
|
|
|