Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.software.firefox > #8343

Re: Can't find directory, but Everything says it's there

From Paul <nospam@needed.invalid>
Newsgroups alt.comp.software.firefox, alt.comp.os.windows-10
Subject Re: Can't find directory, but Everything says it's there
Date 2023-11-30 04:32 -0500
Organization A noiseless patient Spider
Message-ID <uk9ks7$1ac7e$1@dont-email.me> (permalink)
References (10 earlier) <780fmihltmltdsmcjthv8v62rngn9aalvf@4ax.com> <431fmi1vad4cvicms77gprnq4uj0ditk3o@4ax.com> <uk8b7s$10fts$1@dont-email.me> <ksqg9bFu213U2@mid.individual.net> <ksqgm1Fu213U3@mid.individual.net>

Cross-posted to 2 groups.

Show all headers | View raw


On 11/29/2023 11:17 PM, Andy Burns wrote:
> Andy Burns wrote:
> 
>> There is a call to disable SysWoW64 redirection
> 
> I'm sure you could find it, but here
> 
> <https://learn.microsoft.com/en-us/windows/win32/api/wow64apiset/nf-wow64apiset-wow64disablewow64fsredirection>

To do that, it wasn't looking very good on MinGW32.
On MinGW32, the original program compiles like this.
The apiset needed, seems to be missing. There is one
instance of the string, in a static lib but that's all
I could find.

    g++ -o getopenfix64.exe  getopenfix64.cc -lcomdlg32   #    needs  libgcc_s_dw2-1.dll  in the directory

I had to switch to MinGW64 on Linux, and have it compile
a 32-bit windows output there.

   /usr/bin/i686-w64-mingw32-g++  -I/usr/i686-w64-mingw32/include
        -o getopenfix64.exe  getopenfix64.cc  -lcomdlg32              # UB2310 disk
                                                                      # needs  libgcc_s_dw2-1.dll  in the directory                   # Still needed!

The calls seem to be working. The returned result passes
an if-then-else check.

But, the redirection continues on. It didn't succeed in
changing the results.

My normal experience with efforts like this, is it should be
"blowing errors all over the place", if the interface work
I'm doing is sketchy. What is weird, is the damn thing
is obedient as can be, and nothing I do seems to throw errors.
Yet I can't get it to disable the redirect. This is the
essence of the code change.

    PVOID OldValue = NULL;

    if( !Wow64DisableWow64FsRedirection(&OldValue) )  return -1;
    GetOpenFileName( &ofn );
    if( !Wow64RevertWow64FsRedirection(OldValue) )    return -1;
    MessageBox ( NULL , ofn.lpstrFile , "File Name" , MB_OK);

   Paul

Back to alt.comp.software.firefox | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-25 23:05 -0500
  Re: Can't find directory, but Everything says it's there Ralph Fox <-rf-nz-@-.invalid> - 2023-11-26 19:32 +1300
    Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 14:05 -0500
  Re: Can't find directory, but Everything says it's there Dave <news@triffid.co.uk> - 2023-11-26 08:02 +0000
    Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 14:01 -0500
      Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-26 21:08 -0500
  Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-26 04:06 -0500
    Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 14:20 -0500
      Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-11-26 20:44 +0100
        Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-26 19:54 +0000
          Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-26 19:48 -0500
            Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 20:56 -0500
              Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-27 02:06 -0600
            Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-27 09:34 +0000
      Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-26 19:46 +0000
        Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 16:13 -0500
          Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-26 21:27 +0000
            Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 17:11 -0500
              Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-27 09:00 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 15:13 -0500
      Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-26 16:07 -0600
        Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-26 20:34 -0500
          Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 21:03 -0500
        Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 20:58 -0500
  Re: Can't find directory, but Everything says it's there knuttle <keith_nuttle@yahoo.com> - 2023-11-26 08:16 -0500
    Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 14:09 -0500
      Re: Can't find directory, but Everything says it's there knuttle <keith_nuttle@yahoo.com> - 2023-11-26 15:47 -0500
        Re: Can't find directory, but Everything says it's there knuttle <keith_nuttle@yahoo.com> - 2023-11-26 15:56 -0500
          Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-26 16:15 -0500
  Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 15:18 -0500
    Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-27 20:28 +0000
      Re: Can't find directory, but Everything says it's there AllanH <nospam@unokix.invalid> - 2023-11-27 15:16 -0600
        Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-27 21:49 +0000
          Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-27 21:51 +0000
          Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-27 22:02 +0000
            Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 23:21 -0500
        Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 16:51 -0500
        Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-11-27 22:55 +0100
          Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 17:47 -0500
            Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 17:57 -0500
              Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-27 20:40 -0500
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-28 19:44 -0500
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-28 23:18 -0600
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-29 03:29 -0500
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-29 04:52 -0500
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-29 04:48 -0500
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-29 13:22 +0000
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 11:45 -0600
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-29 18:34 +0000
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 20:51 -0600
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-30 03:53 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-29 13:27 -0500
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 12:47 -0600
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-29 16:42 -0500
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 20:44 -0600
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-29 22:40 -0500
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 23:03 -0600
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-12-01 22:41 -0600
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-12-02 09:29 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-12-02 12:17 -0500
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-12-02 14:49 -0600
                Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-12-02 11:36 +0100
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-12-02 12:24 -0500
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-12-02 13:52 -0500
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-12-02 19:11 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-12-02 14:54 -0500
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-12-02 20:35 -0500
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-30 04:10 +0000
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-30 04:17 +0000
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-30 04:32 -0500
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 22:59 -0600
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-29 08:03 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-29 13:34 -0500
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-29 18:40 +0000
                Re: Can't find directory, but Everything says it's there Char Jackson <none@none.invalid> - 2023-11-29 20:52 -0600
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-12-02 12:13 -0500
                Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-12-02 14:01 -0500
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-12-02 19:08 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-12-02 14:59 -0500
              Re: Can't find directory, but Everything says it's there AllanH <nospam@unokix.invalid> - 2023-11-28 01:54 -0600
                Re: Can't find directory, but Everything says it's there AllanH <nospam@unokix.invalid> - 2023-11-28 02:12 -0600
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-28 10:15 -0500
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-12-01 10:53 -0500
            Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-11-28 14:49 +0100
              Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-28 10:22 -0500
                Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-28 16:26 +0000
                Re: Can't find directory, but Everything says it's there Frank Slootweg <this@ddress.is.invalid> - 2023-11-28 16:45 +0000
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-28 19:35 -0500
                Re: Can't find directory, but Everything says it's there Frank Miller <miller@posteo.ee> - 2023-11-29 01:51 +0100
                Re: Can't find directory, but Everything says it's there candycanearter07 <no@thanks.net> - 2023-11-29 10:11 -0600
                Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-29 13:04 -0500
        Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-27 17:46 -0500
          Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 23:23 -0500
          Re: Can't find directory, but Everything says it's there Andy Burns <usenet@andyburns.uk> - 2023-11-28 07:48 +0000
            Re: Can't find directory, but Everything says it's there Paul <nospam@needed.invalid> - 2023-11-28 13:53 -0500
              Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-29 13:06 -0500
        Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-27 23:20 -0500
          Re: Can't find directory, but Everything says it's there The Real Bev <bashley101@gmail.com> - 2023-11-27 21:10 -0800
            Re: Can't find directory, but Everything says it's there The Real Bev <bashley101@gmail.com> - 2023-11-27 22:05 -0800
              Re: Can't find directory, but Everything says it's there micky <NONONOmisc07@fmguy.com> - 2023-11-28 10:12 -0500
                Re: Can't find directory, but Everything says it's there candycanearter07 <no@thanks.net> - 2023-11-28 12:10 -0600
            Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-11-28 12:07 +0100
              Re: Can't find directory, but Everything says it's there The Real Bev <bashley101@gmail.com> - 2023-11-28 07:58 -0800
                Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-11-28 17:53 +0100
                Re: Can't find directory, but Everything says it's there The Real Bev <bashley101@gmail.com> - 2023-11-28 12:39 -0800
                Re: Can't find directory, but Everything says it's there "Carlos E. R." <robin_listas@es.invalid> - 2023-12-02 11:27 +0100

csiph-web