The LoadLibrary API calls the DLL's entry point. You can use it to check if
the DLL is working.
This simple snippet correctly printed the "Hello World" from the dll.
#include
int main() {
LoadLibrary("test.dll");
return 0;
}
---
Hi,
As previously announced, I am writing Clang Driver code so it directly
calls as/ld instead of delegating that to GCC.
I am nearly finished, with just one issue remaining. If I have this test
code:
#include
int main()
{
printf("Hello World!\n");
}
and I run
$ i686-w64-mingw32-gcc -shared