Click here to Skip to main content
16,012,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
I want to use the functions setmap of dll in vc# applciation.
How can i import the class used in this dll.
please guide for the same.
Thankyou.

// Test.h

#pragma once

#ifdef COMPILE_TEST_DLL
#define TEST_DLL __declspec(dllexport)
#else
#define TEST_DLL __declspec(dllimport)
#endif

class TEST_DLL test_map {

public:

test_map(int amplifiersNumber);
~test_map();
bool setmap1(float val1,char val2, float val3, char val4);
bool setmap2(float val5);

float * calculatemap3();

};
Posted

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900