Loading ...
Sorry, an error occurred while loading the content.

RE: [jasspa] NT4 issue and patch

Expand Messages
  • Phillips, Steven
    This problem was also experienced by a Win98 user so I am glad there is a work around. I ll try to incorporate this into the next release, Thanks for the info,
    Message 1 of 2 , Oct 5, 2004
    • 0 Attachment
      This problem was also experienced by a Win98 user so I am glad there is a work around. I'll try to incorporate this into the next release,

      Thanks for the info,

      Steve

      > -----Original Message-----
      > From: Pierre Gaston [mailto:pgas@...]
      > Sent: Tuesday, October 05, 2004 4:18 PM
      > To: jasspa@yahoogroups.com
      > Subject: [jasspa] NT4 issue and patch
      >
      >
      >
      > On NT4 sp6 me could not start. A message box states:
      > "The procedure entry point SHGetSpecialFolderPathA could not
      > be located
      > in the dynamic link library SHELL32.dll"
      >
      > This is due to the call to SHGetSpecialFolderPath in winterm.c. This
      > function is available in shell32.dll v 4.71 or later
      > It seems that the only way to have this version of the dll on
      > NT is to
      > install IE4 (which is not available anymore).
      >
      > I tried a patch according shamelessly copying what is saw there:
      > http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&white
      > space_mode=show&subdir=mozilla/modules/libpr0n/decoders/icon/w
      > in&command=DIFF_FRAMESET&file=nsIconChannel.cpp&rev1=1.36&rev2
      > =1.37&root=/cvsroot
      >
      > It seems to work (copmiled with borland) though I'm not a win32
      > programmer (nor hacker) so ......
      >
      > 5373c5373
      > <
      > ---
      > > LPITEMIDLIST idList;
      > 5373a5374
      > >
      > 5396,5398c5397,5399
      > <
      > if((SHGetSpecialFolderPath(NULL,appDataBuff,CSIDL_APPDATA,FALSE)
      > != NOERROR) &&
      > < (appDataBuff[0] != '\0'))
      > < appData = appDataBuff ;
      > ---
      > > if(SHGetSpecialFolderLocation(NULL,CSIDL_APPDATA,&idList) ==
      > NOERROR)
      > > SHGetPathFromIDList(idList, appDataBuff);
      > > if (appDataBuff[0] != '\0')
      > 5398a5400
      > > appData = appDataBuff ;
      >
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      > --------------------~-->
      > Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
      > Now with Pop-Up Blocker. Get it for free!
      > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/89EolB/TM
      > --------------------------------------------------------------
      > ------~->
      >
      > ______________________________________________________________
      > ____________
      >
      > This is an unmoderated list. JASSPA is not responsible for
      > the content of
      > any material posted to this list.
      >
      > To unsubscribe, send a mail message to
      >
      > mailto:jasspa-unsubscribe@yahoogroups.com
      >
      > or visit http://groups.yahoo.com/group/jasspa and
      > modify your account settings manually.
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
    • Pierre Gaston
      On NT4 sp6 me could not start. A message box states: The procedure entry point SHGetSpecialFolderPathA could not be located in the dynamic link library
      Message 2 of 2 , Oct 5, 2004
      • 0 Attachment
        On NT4 sp6 me could not start. A message box states:
        "The procedure entry point SHGetSpecialFolderPathA could not be located
        in the dynamic link library SHELL32.dll"

        This is due to the call to SHGetSpecialFolderPath in winterm.c. This
        function is available in shell32.dll v 4.71 or later
        It seems that the only way to have this version of the dll on NT is to
        install IE4 (which is not available anymore).

        I tried a patch according shamelessly copying what is saw there:
        http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/modules/libpr0n/decoders/icon/win&command=DIFF_FRAMESET&file=nsIconChannel.cpp&rev1=1.36&rev2=1.37&root=/cvsroot

        It seems to work (copmiled with borland) though I'm not a win32
        programmer (nor hacker) so ......

        5373c5373
        <
        ---
        > LPITEMIDLIST idList;
        5373a5374
        >
        5396,5398c5397,5399
        < if((SHGetSpecialFolderPath(NULL,appDataBuff,CSIDL_APPDATA,FALSE)
        != NOERROR) &&
        < (appDataBuff[0] != '\0'))
        < appData = appDataBuff ;
        ---
        > if(SHGetSpecialFolderLocation(NULL,CSIDL_APPDATA,&idList) ==
        NOERROR)
        > SHGetPathFromIDList(idList, appDataBuff);
        > if (appDataBuff[0] != '\0')
        5398a5400
        > appData = appDataBuff ;
      Your message has been successfully submitted and would be delivered to recipients shortly.