求源码+解答(100分)

  • 主题发起人 主题发起人 不是云
  • 开始时间 开始时间

不是云

Unregistered / Unconfirmed
GUEST, unregistred user!
我是初学着,想做一个拨号程序入门,但是网上找到的一些关于rasapi的函数资料,我拷过来用总
是出现没有说明标识符错误,我调用其他的api都可以成功,不知道是什么原因,比如说在
interface里面声明这个函数就出错:
function rascreatephonebookentrya(hwnd:thandle;lpszphonebook:pchar):dword;stdcall;
那位大虾能帮我说明一下,另外想求得可以用的拨号源码,包括新建,修改属性,
挂断等功能,谢了
 
用TDialup控件吧,简单得很,看看帮助就搞定了,如果你用TDailup的话,我倒可以提供这
方面的代码。
 
TDialup控件在什么地方呀,我找都找不到,难道没有用rasapi的源码?
 
查查api函数:rasdial
 
function RasCreatePhonebookEntryA;
external 'rasapi32.dll' name 'RasCreatePhonebookEntryA';
 
源码呀源码,哪为可以提供我源码,一百分送上,分少的话我再加,还有那个拨号的控件在
什么地方,我怎么找不到?
 
我这儿倒是有个控件,是做这个的,
怪好用的,还有demo的,你要的话给我说一下(mail),
TMAGRAS - DELPHI RAS COMPONENT - RELEASE 4.60
=============================================
Overview
--------

TMagRas Release 4 is a set of installable Delphi non-visual components,
supplied with several demo and example programs and a help file, for
accessing Dial Up Networking or Remote Access Services functions. It
allows Delphi developers to add full RAS functionality to their
applications, including dialling and monitoring multiple connections,
creating and editing phonebooks (without using Windows dialogs), and
getting performance information for connections. TMagRas supports Windows
95, 98, ME, NT4, 2000 and XP, allowing an application to support all the
various RAS extensions in NT and W2K, including sub entries for multi-
channel ISDN connections. Performance statistics are returned separately
for each connection in NT4 and each channel in W2K. Incoming calls to
NT4 RAS Server may be monitored.

TMagRas is supplied as five separate installable Delphi components:
TMagRasCon includes dialling and monitoring and limited connection
editing, TMagRasPer has performance statistics, TMagRasEdt to create and
edit connections/phonebooks, TMagTapi lists TAPI devices and monitors
them (but does not make calls), and TMagRasAdm which supports the admin
interface to RAS Server for incoming connections.

These are supported by MagRasApi that includes the prototypes for all
RAS functions and loads them dynamically (in case RAS is not installed),
TMagTapiApi that includes prototypes for TAPI functions and loads them
dynamically, WinPerf has NT performance data structures, MagRasPdhApi
NT performance data helper, MagRasEnt to support phonebook entry lists,
MagRasStr with RAS string literals, MagTapiStr with TAPI string literals,
and MagSubs1 with common non-RAS functions.

A demo program illustrates use of the components, including monitoring
multiple connections, creating a simple new connection with minimal
properties, and editing detailed connection properties (seven tabs of
settings) including Windows 2000 extensions. Seven example programs
illustrate various aspects of the components and may be copied to
quickly add specific RAS functionality to applications.
 
32位深度历险肯定是有的,它本身还带了说明和例子,非常好用,你也可以通过它来学习
RAS。
 
各位兄弟,TDailup控件在哪一个组里面,我怎么总是找不到,不会是第三放控件吧
to sunshan:
我的mail:xzmboy@21cn.com
随便教我注册控件的方法,谢了
 
多人接受答案了。
 
后退
顶部