Re: Trying to come up with a valid declare statement.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Give this a try:

Declare Function lineGetNewCalls Lib "tapi32.dll" (hLine As Long, _
dwAddressID As Long, _
dwSelect As Long, _
lpCallList As Long) As Long

Now, I don't know how to use this API, but as far as conversion from C code,
this should suffice.

- Kev



"Frank Rizzo" <none@xxxxxxxx> wrote in message
news:uR479ywqIHA.3568@xxxxxxxxxxxxxxxxxxxxxxx
| Hello, trying to tap into the TAPI 2.x api (tapi32.dll) , but without
| success.
|
| The function I need is documented here (
| http://msdn.microsoft.com/en-us/library/aa917543.aspx ), but I can't
| seem to translate it properly to VB6. I keep on getting Bad DLL Calling
| Convention.
|
| Could someone lend a hand?
|
| Thanks.


.