Can anyone help me with a DLL?
I have written a DLL which is called upon by Visual Basic. The cod which it is having problems with is:
Code:
NOMANGLE int CCONV readfile(int *lparray, int pixelbit, long head, long width, long height, LPSTR fname)
Alledgedly, this code has three errors:
C:\Uni\C\Source Code\readanddraw.c(19) : error C2061: syntax error : identifier 'readfile'
C:\Uni\C\Source Code\readanddraw.c(19) : error C2059: syntax error : ';'
C:\Uni\C\Source Code\readanddraw.c(19) : error C2059: syntax error : 'type'
I can't understand any of these errors and why they would possibly exist. Could anyone help?
Thanks!
BTW, that line of code I have posted is line 19.