Re: Newbie question
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Wed, 31 Aug 2005 23:11:15 -0400
"Matthias Moetje" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uIurHeprFHA.904@xxxxxxxxxxxxxxxxxxxxxxx
> I see your point now. But I think using TAPI for that purpose
> is still a lot easier. Please compare the following code, to an
> application that sends AT commands to a modem and processes
> the responses! It can't be much easier than that:
Perhaps, but it can't be much harder, either. And remember it is only
because of your exeperience with TAPI that you were able to cook up the
sample quickly.
> There is not much more code needed. You wouldn't even
> need to process TAPI events for a very simple solution.
Is it safe or smart to ignore the events? That's not a rhetorical question,
I really don't know not having done the research because there is no way I'd
ever use version 3 of the API in a real application <g>.
And this is what scares me. There is always a _huge_ difference between cute
little snippets and real applications. And there is often enough lurking in
the dark corners to bite a developer where he sits. For example, there have
been several posts here in the past by people who can't understand why all
of their I/O operations to the COM ports in their TAPI application fail with
ERROR_INVALID_PARAMETER (87) even though all of the parameters look fine.
You and I know that that is because TAPI opens the device for overlapped
I/O. The vast majority of VB "developers" don't even know what an overlapped
operation is, never mind that they are central to the way that all of the NT
kernels do things.
No matter, that's why they choose VB, so they can ignore most of the
details. ;-) In their place, for data communications, I remain convinced
that it is best to ignore TAPI too, and go straight to the device.
Regards,
Will
.
- Follow-Ups:
- Re: Newbie question
- From: Matthias Moetje
- Re: Newbie question
- References:
- Re: Newbie question
- From: William DePalo [MVP VC++]
- Re: Newbie question
- From: Matthias Moetje
- Re: Newbie question
- From: William DePalo [MVP VC++]
- Re: Newbie question
- From: Matthias Moetje
- Re: Newbie question
- Prev by Date: Re: Newbie question
- Next by Date: Re: Not getting Ringback with TeleTools on Dialogic board
- Previous by thread: Re: Newbie question
- Next by thread: Re: Newbie question
- Index(es):
Relevant Pages
|
Loading