⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mydll.h

📁 VBVC之间的通信
💻 H
字号:
    /* prototypes */ 
    #include <windows.h>
    #include <oleauto.h>
	#include <ole2.h>

	//#include <afxwin.h>
	//#include <afxdisp.h>

    long __declspec (dllexport) __stdcall AddLongs_Pointer(long
    *plArrayOfLongs, long lElements);

    long __declspec (dllexport) __stdcall AddLongs_SafeArray(SAFEARRAY
    **psaArray, long *plSum); 

	struct tagTestUDT
      {
         long l;
         BSTR str;
      } TestUDT;

      //void __stdcall ModifyStruct(struct tagTestUDT *t, long nTotalItem);
typedef struct
      {
      short f1;
      short filler_1;
      long f2;
      BYTE f3;
      WCHAR f4;
      BYTE filler_2;
      float f5;
      } MyStruct;
      

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -