Click here to Skip to main content
15,884,628 members
Articles / Containers / Virtual Machine

Simple Method of DLL Export without C++/CLI

Rate me:
Please Sign up or sign in to vote.
5.00/5 (44 votes)
27 Jun 2009CPOL4 min read 183K   5.9K   112  
Article describes how to build an assembly that exposes functions to unmanaged code without C++/CLI
#pragma once

// ��������� ������� ���������� ����������� ���������� � ������ ���������. ����������� ���������� � ������ ���������
// - ��� ����� ������ ������ Windows, Internet Explorer � �. �., ������� ��� ����������� ������� ��� ���������� 
// ������ ����������. � ���������� ���������� ������� ���������� ��� �������, ��������� ��� ������ ��������� ������ �� ��������� � 
// ������� ��������� ������.

// �������� ��������� �����������, ���� ������ ����� ��������� ����� ������, ��� ��������� ����.
// ��������� ������ � ��������������� ��������� ��� ��������� �������� ��. � MSDN.
#ifndef _WIN32_WINNT            // ���������, ��� ���������� ����������� ������� ��������� �������� Windows Vista.
#define _WIN32_WINNT 0x0600     // �������� ��������, ����������� �� ������ ������ Windows.
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions