Ah - that has to be the *.DLL, then. I'm not absolutly certain at the
moment, and I'm not at all 'home' on Basic, but I think you should have
that - or a copy of any 32bit DLL's you use, in the SYSWOW directory - this
whole compatibility re-direction issue, is very confusing. This link may
help:
http://support.microsoft.com/kb/896456
Your routines don't have to actually call anything in the filesystem, or
manipulate it in any way, to be subject to compatibility side-effects - this
is an effect of how 32bit app's are installed in the filesystem on this OS.
Tony. . .
"Jamie Turner" <> wrote in message
news:%...
> Hi Tony
>
> Thanks for the response. I'm writing in VB.NET (.NET 2.0) using this
> declaration (which I'm sure is right):
>
> <DllImport("user32.dll")> Private Shared Function SendInput(ByVal cInputs
As
> Integer, ByRef pInputs As INPUT, ByVal cbSize As Integer) As Integer
> End Function
>
> It works fine in 32bit XP but doesn't do anything in 64bit XP. I'm not
> touching the file system so I don't think it's that. Any ideas?!
>
> Thanks
>
> Jamie.
>
> "Tony Sperling" <> wrote in message
> news:...
> >I cannot be sure, but I think that the standard 'char' type has to be a
> > 'wchar' today (in support of uni-code). I havn't been doing any of this
> > for
> > a long time, but I think this is all pretty much standardized and should
> > be
> > handled more or less automatically in compiled routines, if they call
the
> > correct header files?
> >
> > But there is one other possibility. It concerns the subsystem that
> > arranges
> > for how 32bit and 64bit apps are installed on XP x64. They both use the
> > Program Files Directory, but they must be distinctly separated, if your
> > app
> > is making non-system calls that directs your keystrokes to the wrong
> > directory - you are in trouble! But I may be wrong, and your trouble
could
> > turn out to be more trivial. If nothing else turns up here, I think a
> > developer group might be able to give more specific answers. Might be a
> > guide to find the most suitable one, if you knew what language the app
was
> > originally written in?
> >
> >
> > Tony. . .
> >
> >
> > "Jamie Turner" <> wrote in message
> > news:...
> >> Hi all
> >>
> >> I have an app that uses Sendinput to simulate keystrokes in other apps.
> >> It
> >> works fine in regular XP but not in XP x64. I can't find any
> >> documentation
> >> about why the API call doesn't work - does anyone know of compatibility
> >> issues?
> >>
> >> TIA
> >>
> >> Jamie.
> >>
> >>
> >
> >
>
>