I would be surprised if these caused problems as you normally pass the call
back address in code at runtime, so any address would be okay.
Objects responding to window or user messages will not cause problems - this
is what the VCL is built on.
A call back is provided for timers and threads and is also used for keyboard
window event handler hooks - again these are heavily used by the VCL - eg
the main window message/event hadler is one of these, and so is every window
used in the VCL.
Must be something else, stuff if I know what though.
Myles
> -----Original Message-----
> From: Kuet-Fung Chong [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 25, 1999 4:51 PM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Built on NT, deploy on Win95
>
> Ah ... this is getting more interesting ... what constitutes a Windows
> call-back routine? Do windows messages (ie those WM_* messages) count?
>
> My main data module has a couple of procedures that are called from
> various
> forms, and these procedures post (WM_User + ??) messages back to the
> calling
> forms, which in turn process the messages. Are these causing the problem?
>
> Thanks,
> Kuet-Fung.
>
>
> -----Original Message-----
> From: Leon Raj [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 25, 1999 4:12 PM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Built on NT, deploy on Win95
>
>
> Hi !
>
> You don't need to use absolute addresses to make you EXE non-
> relocatable. If you have some Windows call-back routines, e.g.
> multimedia timer call-backs, or even in the TListView (?) these
> will (may ?) need to be located in a non-relocatable segment.
>
> This is so that Windows doesn't try to swap it to disk (virtual
> memory). Normally though, these call-backs should reside in a DLL,
> but I believe you mentioned that you had only one EXE, no DLL's,
> hmm . . . interesting !
>
> A corrupt EXE could also be the cause of the problem. :-)
>
> Leon
>
> -------------------------------------------------------------------
> Leon Raj Private email (NZ): [EMAIL PROTECTED]
> the "Kiwi Viking" Private email (FIN): [EMAIL PROTECTED]
> Jyska, FINLAND (formerly of Auckland, NEW ZEALAND)
> -------------------------------------------------------------------
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz