From: Brett H. <br...@nc...> - 2003-07-12 19:23:18
|
Oscar, Yes, I've added it to the link command. I've looked through the win api library source code, and i've been unable to find a reference to it. I've found it listed in shell32.def, but no entry point in the shell32.c file. I also had to add lines into the shellapi.h along with the constants it supports. I've seen that it is supposed to be implemented, I figure someone just forgot to add it to the release code. If I could figure out how to find the entrypoint i'd add it to my copy of the win api source and just recompile it. Unfortunately, i don't know how to figure that out. At least I've figured out how to work around it, it just bugs me. Brett ----- Original Message ----- From: "Oscar Fuentes" <of...@wa...> To: <min...@li...> Cc: <br...@nc...> Sent: Saturday, July 12, 2003 3:00 PM Subject: Re: [Mingw-users] Problem with SHEmptyRecycleBin > "Brett Hart" <br...@nc...> writes: > > > I've tried to use SHEmptyRecycleBin. It is supposed to be defined, > > but I keep getting an "undefined reference to > > 'SHEmptyRecycleBinA@12'.... Any suggestions.. I've been > > able to use it with LoadLibrary and GetProcAddress, but dislike > > having to use it at runtime. > > Have you added -lshell32 to your link command? > > -- > Oscar > > > |