Event not handled error

Event not handled error

Post by Chris Nand » Tue, 25 May 1999 04:00:00

I have a simple perl script:

  #!perl -wl
  use Mac::AppleEvents;

  my $evt = AEBuildAppleEvent(
    'core', 'getd', typeApplSignature, 'FMP3',
     kAutoGenerateReturnID, kAnyTransactionID,
     "'----': obj{want:type(cDB ), from:'null'(), form:indx, seld:1}"
  ) or die $^E;

  print AEPrint $evt;

  my $rep = AESend($evt, kAEWaitReply) or die $^E;

  print AEPrint $rep;

  AEDisposeDesc $evt;
  AEDisposeDesc $rep;


This produces the following:

  core\getd{'----':obj {want:type(cDB ), from:'null'(), form:indx, seld:1}}
  aevt\ansr{errs:3Event not handled.2, errn:-1700}

The equivalent AppleScript works:

  tell application "FileMaker Pro"
     get database 1
  end tell

Using Capture AE confirms that both are sending the same event to the same
application.  Does anyone know what's going on?  I can successfully send
FileMaker simple events, like aevt/quit.  But this event fails with the
Event not handled error.  Any help is appreciated.



%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])


1. VB4 problem: DBCombo does not handle mouse events

I am programming a 16 bit VB 4 application using a ACCESS 2 db. In this
application I use some DBCombo's in "Dropdown List" style. In runtime
mode on 3.x machines, these DBCombo's wont respond properly to mouse
events: they do get activated (the dropdown list is shown) but the only
way to make a selection is by using the cursor keys. On W95 and NT4
machines everything is OK.

A known problem?

Thanks, Daan

2. What is SAP.

3. Raising Events from SQL Server - Event Handling from .NET

4. Joining 2 tables in Different Databases

5. Error -2147217888 Comsumer's event handle

6. Determine SQL Installation Type

7. Error handling for the WillConnect event

8. WA - Database Architect

9. SQL error 1205 not writing to Event Log

10. ODS error 17802 - Could not create server event thread

11. VB5 Data Control Problem - Error Event Not Triggered

12. Data error event hit err:Column(ordernr)does not exist in the appropriate rowset

13. ADO Error Handling with SQL Server 7.0 (not a FAQ)