I have created a class as follows:
#include <iostream>
#define DLLEXPORT _declspec( dllexport )
using namespace std;
class DLLEXPORT xyz
{
public:
void printclass();
};
And my aim is to export the class xyz to a dll.
here is the .cxx file for the same.
#include "xyz.h"
void xyz::printclass()
{
cout<<"hello";
}
the project is building fine but there is no *.dll in the debug folder. instead there is *.dll.embed.manifest and *.dll.intermediate.manifest . I want to know what are these *.manifest files. And how could I get *.dll for my project.
I have created this project in visual studio.
You need to look in the solution directory, not your project directory.
A solution can have multiple projects, each having their own debug and release folder. Each project writes its final files to the solution’s debug and release directory, which is the directory that contains the project folders.
Assuming the solution’s name is also XYZ,
Look in
"Documents\Visual Studio\Projects\XYZ\Debug"