Here I go with a bump again...
I'm posting this on a few different forums hoping someone can help me out.
I switched the build back from Bloodshed to Visual C++ and everything "compiles" - the .obj files are built, but then when they should be linked to a .dll this junk comes from nowhere (note that the compile does not even have warnings):
--------------------Configuration: gladio_plugin - Win32 Debug--------------------
Compiling...
gladio_main.cpp
gladio_util.cpp
gladio_windows.cpp
Linking...
gladio_util.obj : error LNK2005: "struct HWND__ * mMainWnd" (?mMainWnd@@3PAUHWND__@@A) already defined in gladio_main.obj
gladio_util.obj : error LNK2005: "int (__cdecl* plugin_send)(char *,char *,void *)" (?plugin_send@@3P6AHPAD0PAX@ZA) already defined in gladio_main.obj
gladio_windows.obj : error LNK2005: "int __cdecl prefDialog(struct HWND__ *,unsigned int,unsigned int,long)" (?prefDialog@@YAHPAUHWND__@@IIJ@Z) already defined in gladio_main.obj
gladio_windows.obj : error LNK2005: "struct HWND__ * __cdecl myCreateDialog(struct HINSTANCE__ *,char const *,struct HWND__ *,int (__stdcall*)(struct HWND__ *,unsigned int,unsigned int,long))" (?myCreateDialog@@YAPAUHWND__@@PAUHINSTANCE__@@PBDPAU1@P
6GH2IIJ@Z@Z) already defined in gladio_main.obj
gladio_windows.obj : error LNK2005: "void __cdecl myDestroyWindow(struct HWND__ *)" (?myDestroyWindow@@YAXPAUHWND__@@@Z) already defined in gladio_main.obj
gladio_windows.obj : error LNK2005: "struct HWND__ * prefs_window" (?prefs_window@@3PAUHWND__@@A) already defined in gladio_main.obj
gladio_windows.obj : error LNK2005: "struct HWND__ * mMainWnd" (?mMainWnd@@3PAUHWND__@@A) already defined in gladio_main.obj
gladio_windows.obj : error LNK2005: "int (__cdecl* plugin_send)(char *,char *,void *)" (?plugin_send@@3P6AHPAD0PAX@ZA) already defined in gladio_main.obj
.\gladio.def : fatal error LNK1119: invalid ordinal number "0"
LINK : fatal error LNK1141: failure during build of exports file
Error executing link.exe.
gladio.dll - 10 error(s), 0 warning(s)
Again, please note that this is not compile, this is linking that this stuff comes up. I have searched all source for the functions it is claiming I already used, and they each appear only once (no reusing the name in other files or overloading).