PC Review


Reply
 
 
DS
Guest
Posts: n/a
 
      7th Sep 2008
I want to delclare this API to use the dll file. How would I do this?
Thanks
DS

Public Declare Function clcInit Lib "CLCAPIW2.dll" (ByVal ClientName As
String, ByVal ServerName As String As Integer)


 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      7th Sep 2008
Your declaration looks as though it's got the closing parenthesis in the
wrong place.

It should probably be

Public Declare Function clcInit Lib "CLCAPIW2.dll"
(ByVal ClientName As String,
ByVal ServerName As String) As Integer

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"DS" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I want to delclare this API to use the dll file. How would I do this?
> Thanks
> DS
>
> Public Declare Function clcInit Lib "CLCAPIW2.dll" (ByVal ClientName As
> String, ByVal ServerName As String As Integer)
>
>



 
Reply With Quote
 
DS
Guest
Posts: n/a
 
      7th Sep 2008
Sorry Doug,
That didn't work either.
DS


 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      7th Sep 2008
You do realize, I hope, that the declaration was intended to be a single
line of text.

With line continuation characters, it would be

Public Declare Function clcInit Lib "CLCAPIW2.dll" _
(ByVal ClientName As String, _
ByVal ServerName As String) As Integer

Where have you placed the dll?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"DS" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Sorry Doug,
> That didn't work either.
> DS
>



 
Reply With Quote
 
DS
Guest
Posts: n/a
 
      7th Sep 2008
OK I'll try that.
Thanks Douglas.
DS


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call a javascript when i call an aspx page with a form html not running on server Fabio Mastria Microsoft ASP .NET 4 28th Jan 2008 09:05 AM
Warning 1684 CA2214 : Microsoft.Usage : 'RandomShade..ctor(Int32, Int32, Int32, Int32, Int32)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: steve bull Microsoft C# .NET 4 7th Jul 2005 05:54 PM
Are we new users supposed to call this number? I have auto dial on my XP in the dialer but am I required to call? Windows XP New Users 12 26th May 2005 03:47 PM
An outgoing call cannot be made since the application is dispatching an input-synchronous call Sagaert Johan Microsoft C# .NET 4 6th Apr 2005 12:12 AM
Re: Please help - How to call functions that exists in the main application. The call should be initiated from one of the components. Baavgai Microsoft C# .NET 0 4th Sep 2004 05:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 PM.