Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : Copy Data

www.cryer.info
Managed Newsgroup Archive

Copy Data

Subject:Copy Data
Posted by:"Tom Peters" (tom_vip..@msn.com)
Date:Tue, 19 Apr 2005 02:54:21

I've got two applications which I'm communicating with WM_COPYDATA.  I
finally got all that working.  The problem is I'm doing stuff in the
formcreate event which finally triggers the condition, which calls the
second app and thus firing the WM_COPYDATA in the first app.  I want and
need this to happen.  I have a menu item which I use to turn the WM_COPYDATA
function on/off.

so, in the WM_COPYDATA event, I do a :

if (mnDataRequestAllowed.Checked) then
begin
end;

When I start the application, I'm getting an access violation error.  Any
ideas how to fix this?

Replies:

www.cryer.info
Managed Newsgroup Archive