Chris, On Tue, 14 Oct 2003, chris wrote:
> If I comment out the call to SHGetPathFromIDList in this program, the > program returns, else it hangs. > Confirmed. > Also, This program seems to be both valid c++ and c code. If it is > compiled in gcc, all is fine. In g++, it hangs. > Really? I see the hang regardless. > -- Code begins -- > > #include <shlobj.h> > > void fee (void) { > char *buf; > I changed this to char buf[255] just to be safer. > LPITEMIDLIST id; > SHGetPathFromIDList (id, buf); > } > > int main (int argc, char **argv) > { > return 0; > } > -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/