WIN32: MSVC: fix warnings on dynamic load.
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
I update the patch with support for UNICODE charset posted into r45864 because:
Attached patch includes these tiny fixes.
i have missed that before - instead of malloc/free use lib_malloc and lib_free please (and then you shouldnt have to include stdlib)
lib_malloc() and lib_free() are also undefined.
So, I guess that I have to include also "lib.h" for using them.
BTW, since this is a Windows-only source, would you like to use HeapAlloc()/HeapFree() from WinAPI (so, without any extra include file) or you still prefer lib_malloc() and lib_free()?
Nothing changes to me, just let me know which one you prefer.
lib_ functions should be used for everything regarding memory allocation - that allows the debug mode to track memory usage (and find some leaks)
Thanks, I attached a new patch with your suggestions.
applied in r45875, thanks!