Using extern with DLL files (C)

Associate
Joined
22 Sep 2009
Posts
2,085
Location
Leicester
I'm writing a quick bit of code up for something, however I've hit the brick wall of not being able to use external structs imported from DLL files into my main exe.

I'm getting "main.c: variable 'filebrowser' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status", using MinGW which may make a difference.

So what should I do? This is all in C, no C++ or C# as I'm trying to keep this as open ended as possible.
 
Thanks for the insight, I do however wonder what the aim of the image is.

I managed to sort it though, amazing what you can do after a good nights sleep.
 
Back
Top Bottom