Thank you for your help, but I can't find the good way to create my own project...
What I've done:
- Created a new folder : SDK/foobar2000/foo_autofield
- puted in this folder my own actions.cpp and and .rc file with only my things.
- added my project to the SDK workspace
My incluides are:
#include "../SDK/foobar2000.h"
#include "../helpers/helpers.h"
#include "../foo_masstag/masstagger_action.h"
#include "../foo_masstag/resource.h"
#include <shlobj.h>
And my problem is that I have a linking error:
Linking...
actions.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall string8::replace_char(unsigned int,unsigned int,unsigned int)" (?replace_char@string8@@QAEIIII@Z)
actions.obj : error LNK2001: unresolved external symbol "int __cdecl uDialogBox(unsigned int,struct HWND__ *,int (__stdcall*)(struct HWND__ *,unsigned int,unsigned int,long),long)" (?uDialogBox@@YAHIPAUHWND__@@P6GH0IIJ@ZJ@Z)
actions.obj : error LNK2001: unresolved external symbol __imp__uMessageBox
...
Debug/foo_autofield.dll : fatal error LNK1120: 23 unresolved externals
Error executing link.exe.
I think I have a problem with include or with some path somewhere, but don't find where anyone can help me please?
Foosion, I think your right for the release build, but how to build a release?