By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!The x62/release version doesn't have a DEF file specified.
What library don't you have? TakeCmd.lib? If you don't have that you can't link to any takecmd.dll functions, so you probably can't do much with your plugin.
1>LINK : fatal error LNK1181: cannot open input file 'd:\TakeCommand33\x64\release\TakeCmd.lib'
Without the DEF file, the names of the plugin's exports are decorated and TCC won't load the plugin. This has always been the case.Why do you need a DEF file? The Plugin sample is using DLLExports.
TCC: (Sys) The specified procedure could not be found.
"InitializePlugin"
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2176,5): warning : The referenced project '..\dll\TakeCmd.vcxproj' does not exist.
<ItemGroup>
<ProjectReference Include="..\dll\TakeCmd.vcxproj">
<Project>{5bf5a5ec-3ec4-4b7c-9f26-b48803137703}</Project>
</ProjectReference>
</ItemGroup>
which I reckon comes from here
plugin.h: DLLExports LPPLUGININFO WINAPI GetPluginInfo( HMODULE hModule );
plugin.cpp: DLLExports LPPLUGININFO WINAPI GetPluginInfo( void )
#define DLLExports extern "C" __declspec(dllexport)