Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Urgent ! How to Declare VC Dll in VB

Urgent ! How to Declare VC Dll in VB

Scheduled Pinned Locked Moved Visual Basic
data-structurestutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BMWCouple
    wrote on last edited by
    #1

    Hi All: I have this function in VC DLL that I would like to call with VB but I am not sure how to declare it. VC Function: Syntax: void _stdcall PlayRequest( DWORD ClientHandle, //Input parameters long OutputChannel, //Input parameters DWORD PlayerHandle, //Input parameters PlayerInitData SegmentInfo, //Structure; //Input parameters OSDInitStruct DisplayInfo, //Structure; //Input parameters PlaySpeedType PlaySpeed, //Input parameters LONGLONG *pActualStart, //Output LONGLONG *pActualEnd, //Output VideoType *pTypeOfVideo, //Output bool MOL, //Input void *CMDReserved[20], //An array of pointers reserved for future use. Should be NULL. // Input void *RSTReserved[10], //An array of pointers reserved for future use. Should be NULL.// Output AOUResult *pResult //Output ); PlayerInitData A structure used to initialize the player. Syntax: typedef struct{ TCHAR LoggerIPAddress[40]; long TokenNumber; long ChannelID; LoggerTime StartTime; LoggerTime EndTime; long ChannelType; }PlayerInitData; LoggerTime A structure used for Recorder time Syntax: typedef struct { long lDate; long lTime; }LoggerTime; OSDInitStruct A structure used to set the information displayed in the On-screen Display. Syntax: typedef struct { COLORREF m_colorText; //Long LOGFONT m_fontText; //Structure TCHAR m_szStaticText[40]; DWORD m_dwOSDBitmap; } OSDInitStruct; /* Logical Font */ #define LF_FACESIZE 32 typedef struct tagLOGFONTA { LONG lfHeight; LONG lfWidth; LONG lfEscapement; LONG lfOrientation; LONG lfWeight; BYTE lfItalic; BYTE lfUnderline; BYTE lfStrikeOut; BYTE lfCharSet; BYTE lfOutPrecision; BYTE lfClipPrecision; BYTE lfQuality; BYTE lfPitchAndFamily; CHAR lfFaceName[LF_FACESIZE]; } LOGFONTA, *PLOGFONTA, NEAR *NPLOGFONTA, FAR *LPLOGFONTA; typedef struct tagLOGFONTW { LONG lfHeight; LONG lfWidth; LONG lfEscapement; LONG lfOrientation; LONG lfWeight; BYTE lfItalic; BYTE lfUnderline; BYTE lfStrikeOut; BYTE lfCharSet; BYTE lfOutPrecision; BYTE lfClipPrecision; BYTE lfQuality; BYTE lfPitchAndFamily; WCHAR lfFaceName[LF_FAC

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups