Hi Pritpal,
'TrackMouseEvent' is included in <windows.h>. SO do not know why it
remains
undefined.
Maybe a missing header, or maybe version differences
in platform SDK?
<<<
.\wvgsink.c(455) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(457) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(460) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(463) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(466) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(469) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(472) : error C2039: 'n1' : is not a member of
'tagVARIANT'
.\wvgsink.c(475) : error C2039: 'n1' : is not a member of
'tagVARIANT'
Not aware why it is so. BCC5.8 does not produce any error.
Try using this custom switch with BCC, so that
you can get more warnings/errors through
development:
'set C_USR=-DUNICODE -P' (this turns on UNICODE and C++ mode)
BTW, this or very similar problem has been corrected
in hbole and hbwin in the past, so the answer is
in one of the diffs for these files, or maybe it's just
enough for you to peek into the code.
.\wvgsink.c(652) : warning C4996: 'strcat': This function or
variable
may be unsafe. Consider using strcat_s instead. To disable
deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
Please do it as I am not familiar with the function usge.
Just replaces strcat() with hb_strncat() and pass the
total size of the buffer minus one, as an additional
parameter. Pls see one of similar changes done in
the repository, or it's also enough to look at one
such hb_strncat() call in existing code.
I recommend to try compiling your code with MSVC 2005
or 2008 (both free), if possible. Using 'set C_USR=-DUNICODE -TP',
so you'll be informed about all these in the first
place.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour