ICP  1
nxlogger.cpp
Go to the documentation of this file.
1 // nxlogger.cpp : Defines the entry point for the DLL application.
2 //
3 
4 #include "stdafx.h"
5 
6 #include "napi.h"
7 #include "NeXusFile.hpp"
8 #include "NeXusStream.hpp"
9 
10 #include "nxlogger.h"
11 
12 #ifdef _MANAGED
13 #pragma managed(push, off)
14 #endif
15 
16 BOOL APIENTRY DllMain( HMODULE hModule,
17  DWORD ul_reason_for_call,
18  LPVOID lpReserved
19  )
20 {
21  return TRUE;
22 }
23 
24 #ifdef _MANAGED
25 #pragma managed(pop)
26 #endif
27 
28 int __stdcall test_nxlogger()
29 {
30  NXhandle h;
31  NXopen("test.dat", NXACC_CREATE5, &h);
32  return 0;
33 }
int __stdcall test_nxlogger()
Definition: nxlogger.cpp:28
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
Definition: selogger.cpp:131