D - Win32
- King Hajj (3/3) Dec 30 2003 Whenever I try to use the Win32 library (std.c.windows.windows), I get L...
- J C Calvarese (17/20) Dec 30 2003 Maybe I've had this problem; maybe I haven't.
Whenever I try to use the Win32 library (std.c.windows.windows), I get LOTS of errors about the functions I use. Does anybody else have this problem, and, if so, how do I fix it?
Dec 30 2003
In article <bst0ap$1lgi$1 digitaldaemon.com>, King Hajj says...Whenever I try to use the Win32 library (std.c.windows.windows), I get LOTS of errors about the functions I use. Does anybody else have this problem, and, if so, how do I fix it?Maybe I've had this problem; maybe I haven't. Perhaps someone else can read you mind, but I could use some more information. An error message or an example of what in particular doesn't work would be great. An example of code that gives you problems may do the trick. Just the same I'll throw out a couple of blind guesses (let me know if I might be close). 1) You might need to add some libraries to the command line such as user32.lib, gdi32.lib, ole32.lib, or uuid.lib. I usually just use trial and error until it works, but one could also grep on .dll's (or .lib's?) to find the proper file. 2) You might have conflicting definitions in std.c.windows.windows and another unofficial set of Windows imports you might be importing. This would probably be much trickier to fix. These are my favorite ways to shoot myself in the foot with Win32, but I'm sure there are many other mistakes that can be made. Good luck with your problem. Justin http://jcc_7.tripod.com/d/
Dec 30 2003