c - Linking to winmm.dll from GCC -
I would like to use MSCC to create DLLs for DLL so that I have to link to the winmm.dll library.
I tried to do something like this:
gcc-c-o dllTest.o dllTest.c -lC: \ Windows \ System32 \ winmm.dll
But when I tried to make DLL, I got an undefined reference to MCAS and String.
What is the correct way to connect with GCC from GCC? In the end I was able to work with the lwinmm instead of the big path in the library- lwinmm.
Comments
Post a Comment