-
C Header to VB Declaration
I cannot translate this to VisualBasic!!:
#ifndef HAVE_PROTOTYPES
# if defined(__cplusplus) || defined(__STDC__) || defined(_WIN16) || \
defined(_WIN32)
# define HAVE_PROTOTYPES
# endif
#endif
#ifdef HAVE_PROTOTYPES
# define SSL_ARGS(args) args /* prototype declaration */
#else
# define SSL_ARGS(args) () /* K&R declaration */
#endif
extern DLL_IMPORT int sslInit SSL_ARGS((int VersionNo));
I´ve tried with:
Declare Function sslInit LIB "LIB" (VersionNo as Long) As Long
but i think the problem is what´s mean SSL_ARGS...
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks