Home > Software engineering >  Who has the API introductory tutorial? Show just a little
Who has the API introductory tutorial? Show just a little

Time:09-30

What books have seen an API lectures, talk about how to use the API browser definition statement function, is too boring to see not bottom go to,

What circumstances to use the API? What can it do? Who to talk about?

CodePudding user response:

When I was just learning API is so confused, I feel like a small program that can do something themselves interested in, learn faster in demand, such as the use of API in a small plugin may be very painful, when do baidu, anyway, don't know how much once ready to start the pain behind how great don't understand doesn't matter much as long as more slowly in front of the written code to experience nature will slowly

CodePudding user response:

Let's think about, I now is to give a topic to find items, do little things, do the pixels bird, mixed formula calculator,
Who gave a small project must use the API?

CodePudding user response:

refer to the second floor HZSXCN response:
let's think about, I now is to give a topic to find project, do the little things, do the pixels bird, mixed formula calculator,
Who gave a small project must use the API?

Procedure to choose the main entrance, do not add any forms write a form program

CodePudding user response:

Check the MSDN is one of the Windows programmer must master the skills,
MSDN98_1. ISO http://pan.baidu.com/s/1dDF41ix, MSDN98_2. ISO http://pan.baidu.com/s/1bnGo0Vl

CodePudding user response:

API is function, and VB to use the built-in Cos (), the Format () this built-in function no difference.
The only difference is that only the API is the system definition, in using VB to tell a VB API declaration,

CodePudding user response:

reference 5 floor WallesCai reply:
API is function, and VB to use the built-in Cos (), the Format () this built-in function no difference.
The only difference is that only the API is the system definition, in using VB to tell a VB (API declaration)

If I call c + + generated dynamic link library, how to declare
# # ifndef _COM_AVD_DEV_SDK_H_
# define _COM_AVD_DEV_SDK_H_

# include "com_type. H"
# include & lt; Vector>
Using STD: : vector;

# ifdef __cplusplus
Extern "C"
{
# endif
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * IMPELEMENTED * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
AVDSDK_API COM_S32 AVDSDK_APICALL COM_AVD_DEV_Init ();

AVDSDK_API COM_S32 AVDSDK_APICALL COM_AVD_DEV_DeInit ();

AVDSDK_API COM_S32 AVDSDK_APICALL COM_AVD_DEV_OpenCamera (COM_LONG * plDeviceHandle,
Const COM_CHAR * psSturnIp, COM_S32 iSturnPort,
Const COM_CHAR * psTurnIp, COM_S32 iTurnPort,
Const COM_CHAR * psRelayIp, COM_S32 iRelayPort,
Const COM_CHAR * psUsername, const COM_CHAR * psPassword,
Const COM_CHAR * psDeviceIp, COM_S32 iDevicePort,
COM_S32 iMode, COM_U32 u32_connectype, COM_U32 u32ChannelID);

AVDSDK_API COM_S32 AVDSDK_APICALL COM_AVD_DEV_OpenCameraByDDNS (COM_LONG * plDeviceHandle,
Const COM_CHAR * pzDDNSServer,
Const COM_CHAR * pzDDNSName,
COM_S32 iDisplayMode, COM_U32 u32_channelid=1);

AVDSDK_API COM_S32 AVDSDK_APICALL COM_AVD_DEV_OpenCameraByDDNSV2 (COM_LONG * plDeviceHandle,
Const COM_CHAR * pzDDNSServer,
Const COM_CHAR * pzDDNSName,
Const COM_CHAR * pzUserName,
Const COM_CHAR * pzPassword,
COM_S32 iDisplayMode,
COM_U32 u32_channelid=1);
Show me one
The h
# # ifndef __COM_TYPE_H__
# define __COM_TYPE_H__

# ifdef COM_OS_LINUX
# define AVDSDK_API __attribute ((visibility (" default ")))
# define AVDSDK_APICALL
# elif defined COM_OS_ANDROID
# define AVDSDK_API
# define AVDSDK_APICALL
# elif defined AVDLIB_LIB
# define AVDSDK_API
# define AVDSDK_APICALL
# the else
# define AVDSDK_API __declspec (dllexport)
# define AVDSDK_APICALL __stdcall
# endif

# ifdef __cplusplus
# if __cplusplus
Extern "C" {
# endif
__cplusplus # endif/* */

Typedef unsigned char COM_U8;
Typedef unsigned char COM_UCHAR;
Typedef unsigned short COM_U16;
Typedef unsigned int COM_U32;

Typedef signed char COM_S8;
Typedef short COM_S16;
Typedef int COM_S32;

# # ifndef _M_IX86
Typedef unsigned long long COM_U64;
Typedef long long COM_S64;
# the else
Typedef __int64 COM_U64;
Typedef __int64 COM_S64;
# endif

Typedef char COM_CHAR;
Typedef char * COM_PCHAR;

Typedef float COM_FLOAT;
Typedef double COM_DOUBLE;
Typedef void COM_VOID;

Typedef unsigned long COM_SIZE_T;
Typedef unsigned long COM_LENGTH_T;
Typedef unsigned long COM_ULONG;

Typedef long COM_LONG;

Typedef enum {
COM_FALSE=0,
COM_TRUE=1,
} COM_BOOL;

# # ifndef NULL
# define NULL 0 l
# endif
# define COM_NULL 0 l
# define COM_NULL_PTR 0 l

# define COM_SUCCESS 1
# define COM_FAILURE 0
# define COM_NOIMPLEMENT 0

# ifdef __cplusplus
# if __cplusplus
}
# endif
__cplusplus # endif/* */

# endif __COM_TYPE_H__/* */

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • API
  • Related