Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Windows.Threading;
- using System.Runtime.InteropServices;
- namespace RF182CInterface
- {
- public class RFIDInterface
- {
- public RFIDInterface()
- {
- .
- .
- .
- // RFIDWrapper.h
- #pragma once
- using namespace System;
- namespace RFIDWrapper {
- class RFIDWrapperIFacePrivate;
- class __declspec(dllexport) RFIDWrapperIFace
- {
- private:
- RFIDWrapperIFacePrivate* _private;
- public:
- RFIDWrapperIFace();
- ~RFIDWrapperIFace();
- };
- }
- // This is the main DLL file.
- #using "RF182CInterface.dll";
- #include "stdafx.h"
- #include <msclrauto_gcroot.h>
- #include "RFIDWrapper.h"
- using namespace System::Runtime::InteropServices; // Marshal
- class RFIDWrapperIFacePrivate
- {
- public:
- msclr::auto_gcroot<RF182CInterface::RFIDInterface^> rf182CInterface;
- };
Add Comment
Please, Sign In to add comment