exporting class methods to library results in .lib and .exp
I'm trying to export some class methods to dll and lib files, but instead of creating a dll it's creating a .exp file, is it supposed to be doing this? I haven't seen class methods being exported before so I wasn't entirely sure what to do, but in my header file i've got:
__declspec(dllexport) return type Name(parameters);
and then in the implementation file i've got:
__declspec(dllexport) return type Name(parameters) {
//implementation
};
Have I exported correctly? I don't know what I'm doing...
EDIT: Well I made an app to test the library and it doens't work, gives me an error saying the application couldn't initialize successfully
Hmmmm, I don't know what I did wrong!