error: DLL does not export the required 'GetPluginFactory' function

When I try to run the editorhost.exe that I built from the 3.6.8 SDK, I receive the following error message:
“Could not create Module for editorhost.exe Error: DLL does not export the required ‘GetPluginFactory’ function”

Any ideas on how to resolve this?

Hey,

Which plug-in do you try to load? All plug-ins inside the SDK have a Linker option called “/EXPORT:GetPluginFactory”. This exports the required function. You can find this option when opening the SDK solution and check e.g. again’s project properties “Configuration Properties >> Linker >> Command Line”.

René

Alternately use a *.def file.
This file will have the following entry…

EXPORTS
GetPluginFactory