|
You'll need something at the end of the line to convert the VoIP data into "voice data" for the PST to recognise. Of course if you have an IP keyset phone at the remote end, it will do the conversion for you.
I've never seen a software only solution as most of my work has been for specific pabx and switches.
Michael
Communication is the first step towards enlightenment.
|
|
|
|
|
Does anybody knows any books/links/docs about programming Software for mobile phones ?
Samples, tools, equipments ?
|
|
|
|
|
symbian epoc
Normski. - Professional Windows Programmer
|
|
|
|
|
sorry .. i did not understand you .. ??
|
|
|
|
|
|
|
|
Hi Anonymous,
I am also interested in writing applications for mobiles. Maybe you can mail me and we can help each other.
vikasde@rediffmail.com
Best Regards
Sonu
|
|
|
|
|
I have tray aplication, and i want to create hot-keys combinations or it. How can i do it ?
|
|
|
|
|
|
MSDN says that if a point is in a region, the return is non-zero.
If a point is in a region, a window should be moved.
Why this if doesn t work:
if (PtinRgn(hRgn, LOWORD(lParam), HIWORD(lParam) != 0)
and this works:
if (PtinRgn(hRgn, LOWORD(lParam), HIWORD(lParam) == 0)
|
|
|
|
|
First I want to make sure that you are referring to the API PtInRegion.
Next, are you sure the region that you created is not the inverse of what you think it is? A good way to visualize a region is to get a device context, and call FillRgn right before you use it.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Hello all,
I own Microsoft Visual C++ 6 Pro, and have been using it for some time.
I've created "Win32 Console Applications" but am interested in using the VC++ dev env to create true MSDOS programs.
Speciafically, I'm creating a DOS program that is going to access the serial port.
What's the best way to go about this? I've tried #include'ing <dos.h> but it doesn't seem to be the full featured library that is included with other DOS based compilers. Specifically, it's missing things like textcolor() and gotoxy().
Thanks for your help!
Xds
|
|
|
|
|
I think Microsoft doesn implemented those function. And with VC++6 you can only create Console apps.
All programs for DOS are console apps on Windows.
|
|
|
|
|
Console is a win32 DOS, you cabn use all the bateri of functions of win32.
For access to serial port you need to use the CreateFile Function...
If you want to use gotoxy, textcolor and things like these, you nedd to use the Turbo C...
Best Regards
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
VC6 doesn't support DOS applications. That last version of the MS Compiler to produce DOS code was 1.52. I haven't seen this for a while. It used to be on the MSDN Archive CDs but I don't think MS bother with that any more.
I believe that Borlands C compiler is freely available and still produces DOS code.
Michael
Communication is the first step towards enlightenment.
|
|
|
|
|
If you're an MSDN subscriber then you can still download the old 16bit Visual C++ 1.52. It certainly can create DOS apps as we have the misfortune of using it for a product with an embedded DOS.
Matt
|
|
|
|
|
Xds wrote:
Specifically, it's missing things like textcolor() and gotoxy().
You can use the API.
For example, where you need gotoxy() you can use SetConsoleCursorPosition().And SetConsoleTextAttribute() instead of textcolor().
Nish
Check out last week's Code Project posting stats presentation from :-
http://www.busterboy.org/codeproject/
Feel free to make your comments.
|
|
|
|
|
As mentioned, Turbo C++ is free now. Also, if you don't want to spring for MSDN you can buy the book "Learn Visual C++ Now" by Mark Andrews. It comes with a copy of VC++ 1.0 which still compiles DOS apps.
Jeremy L. Falcon
"You do not know the power of the dumb side."
<nobr>
Homepage : Sonork = 100.16311 Maybe my mangling might misguide malicious miscreants momentarily?
|
|
|
|
|
I am trying to set pixel colors by 'adding' colors based on the current background pixel. E.g., if the pixel falls on a white one, it should be displayed as a gray one, if it falls on a gray one, it should be black. I am using CDC::GetPixel() to retrieve the color into a COLORREF structure. How do I now extract the values for the R, G, and B components? Is there a better way than GetPixel?
Thanks,
Ralf.
ralf.riedel@usm.edu
|
|
|
|
|
COLORREF clr = RGB(123,60,55);
int r = clr & 0xFF;
int g = (clr & 0xFF00) >> 8;
int b = (clr & 0xFF0000) >> 16;
-Jack
To an optimist the glass is half full.
To a pessimist the glass is half empty.
To a programmer the glass is twice as big as it needs to be.
|
|
|
|
|
the GetRValue, GetBValue, GetGValue macros all work well.
-c
I don't care, and you can't make me.
|
|
|
|
|
Hah, Leave it to me to find the hard way to do it.
-Jack
To an optimist the glass is half full.
To a pessimist the glass is half empty.
To a programmer the glass is twice as big as it needs to be.
|
|
|
|
|
well, you're doing exactly what those macros do
-c
I don't care, and you can't make me.
|
|
|
|
|
Following is instructions for a small program that I have to write for school but I can't get mine to work properly. I would be forever grateful to someone if they could help me out. Here are the instructions:
5 individuals have bought lottery tickets in SCs new pick 6 lottery.
Have each person enter her name and her six numbers (the numbers
must be between 1 and 48, and there should be no duplicate values).
After all of the names and tickets are entered, populate (fill) a 6
element array with 6 randomly generated numbers (no duplicates!).
If a user picked 4 of the numbers correctly - she wins $1000.
If a user picked 5 of the actual numbers - she wins $10000.
If a user picked all 6 numbers correctly - she wins $1000000.
Note, the order of the numbers does not matter.
Print out the names of each winner and the amount of money
she won.
Your program must use AT LEAST two functions in addition to your
main (write more if you would like):
1. Write a function that takes an array and a size as its parameters.
This function should fill the array with random numbers between 1
and 48 - ensuring that there are no duplicates.
2. Write a linear search function.
Here is a suggested plan of attack:
1. Make your program read in one person's name and lottery picks
(into an character array with one row and 20 columns and a one
dimensional integer array with 6 columns).
2. Make sure that the user's numbers are in range and are not duplicates.
Do this as the numbers are being read in. - YOU CAN SKIP THIS
STEP AND COME BACK TO IT AT THE END IF YOU WANT
3. Write a function that takes an integer array as its parameter and
fills the array with 6 random numbers between 1 and 48.
4. Make sure the function written in step 3 is not allowed to place
duplicate values in the array. (You may want to reduce the number
of possible values to 1-6 in order to test that this feature is working)
- YOU CAN SKIP THIS STEP AND COME BACK TO IT AT THE
END IF YOU WANT
5. Print the elements in the array of randomly generated values.
6. Search the array of randomly generated values for each of the user's
numbers. Keep a count of the number of values found.
7. Construct a decision structure that will print the user's name and
winnings if she won.
8. Go back and make steps 1 and 2 read in 5 names and sets of
lottery picks.
9. Go back and make steps 6 and 7 check the picks for each of
the 5 people.
Donna
|
|
|
|