|
From the docs:
"The digit or tone generation request was canceled by this application, by another application, or because the call terminated. This value can also be returned when digit or tone generation cannot be completed due to internal failure of the service provider."
Is your call to lineGenerateDigits() successful? (Does it return 0?). If so, then one of the conditions above has occurred (it's probably been cancelled by either your app or another app - do you have any other telephony apps running?). If not, then you've setup the call incorrectly somehow.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
Thanks for the quick response.
The call to lineGenerateDigits was successfull. I am recording the call, so I can be sure that the call is still in progress. As far as I understand I can cancel the lineGenerateDigits by calling it again, which is something that I don't do (it is called only once, and I checked that this code is indeed executed only once). I also have no other telephony application running.
As for the last option, I guess that if I have set the call incorrectly it wouldn't have gotten connected (which I know is being done because I record it). Also, I compared my code with some other code examples that I found, and I couldn't find any significant differences...
Any other ideas?
Also, is there any way I can see what the problem was? Is there another way to generate digits?
thanks.
|
|
|
|
|
Sorry, my expertise on TAPI is very, very small . I find that some people just overlook the obvious, so that's why I responded like I did, but I haven't really looked at TAPI much.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
Hi,
How can I get the list of all the entries in the registry?
My idea is to search each entry in the registry for a particular string.
any one can help me???
Thank you.
|
|
|
|
|
Hi,
you can use RegOpenKey(..) in loop , see MSDN for more help , u will find multible Registry functions to retrieve data from registry ..
hatem
|
|
|
|
|
I'd scrolled through the examples in here but i still don't understand those fancy codes. I'm just a few days old on MFC programming and i need something more basic examples for me to understand. Can someone guide me through this obstacle? Thank you in advance.
Question: how to implement a tree integrated into a listview?
|
|
|
|
|
Go here[^] and scroll down to "Tree/List Hybrids". There are five articles on this.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
If I load a transparent PNG (for example) and draw it using Graphics::DrawImage() , does GDI+ display the image transparency, or does it ignore it? I can't find any mention of this in the docs.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
Yes of course*, DrawImage draws the image with the correct transparency applied. I've used it to draw PNG's on top of eachother with 8 bit transparency and works fine.
of course: That's because GDI+ is a sophisticated graphics api :P
|
|
|
|
|
Thanks . I thought it did, but I just thought I'd check.
Baris Kurtlutepe wrote:
That's because GDI+ is a sophisticated graphics api
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
I can change the title at the top of my app window by editing the resource, but I that way is not dynamically.
I want to do it programmatically.
Anyone help me.
Thank you for your reading.
|
|
|
|
|
SetWindowText() should do the trick, if you are talking about a MDI project, take a look at the first 100 posts here in the forum, this question has been answered this week...
hope this helps.
|
|
|
|
|
Sorry for my bad english!!
I have a problem whit CMenu in my application under win98.
If i create an item with MF_POPUP propertie, when i use the application, if i go on this item whit thw mouse, the new submenu doesn't appear!
Someone can help me
Bye.
|
|
|
|
|
Any ideas? please shed light on this.
DJ
|
|
|
|
|
hi,
the best way to capture video , use DirectShow , youwil find many samples and help in MSDN : DirectX -> DirectShow , u can also see DirectX 9 SDK it contains more new feature and may help u.
hatem
|
|
|
|
|
I agree that DirectShow is the best way to capture video. Besides you can use Video For Windows for the same job, it's much clumsier compared to DirectShow but does not require DirectX.
|
|
|
|
|
Baris Kurtlutepe wrote:
but does not require DirectX.
Since DirectX has been bundled with Windows ever since Win98, that's not really a problem any more
But then again, VFW doesn't require you to know COM
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
I am not sure that this will work with windows NT (if that is a concern of yours) because WinNT has directX 3...
John
|
|
|
|
|
Good point. I forgot about that.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
In any case there is no reason why you cannot use MFC and DirectShow or VWF.
John
|
|
|
|
|
|
I have already downloaded and installed DirectX 9 SDK on my machine. Thanks a lots.
BTW, if the coding for video capturing should be done on Linux instead of Windows Platforms, anybody has any idea?
DJ
|
|
|
|
|
Hello,
Can you tell me what CRichEditCtrl's limitations are?
Thank you.
|
|
|
|
|
No design forum hey Chris?
Here's a puzzle for you guys & gals. Someone who's working on a domain model-based system will have a nice solution for me I hope...
The idea of building a domain model is so that the valuable parts of a system (i.e. business logic) are portable and isolated. However, I'm having trouble working out a nice way to move constraints that apply to multiple objects (multiple rows in the same table) away from the database and into the domain model.
For example, the constraint that two customers cannot be given the same names.
The obvious choice is a constraint on the table, however this moves logic out of the domain model.
Mediator classes etc are of no use, because checks cannot be made at the time of commit.
The problem might be associated with the implementation of Unit of Work that I'm using (much like Martin Fowler's) - checks need to be performed at some point in the commit process (any earlier and there is an opportunity for error) but before the end of the committing database transaction (otherwise no rollback is possible).
Hope this makes sense thanks if you can help.
Nick
|
|
|
|
|
Does anyone have any tricks for auto-restarting an app? I have a few settings in my app that require the user to close the app and then restart it for the settings to take affect. It would be nice to auto-restart for the user if needed. I know I could do it with a seperate exec but I was hoping to stay away from that.
Any ideas?
Rob
Whoever said nothing's impossible never tried slamming a revolving door!
|
|
|
|