Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Mac when i try to open a document from a database it givesc me "Error in loading DLL" Please note that is not on the mail database. I have some script on the "Declaration" Object of the form that the document i try to open is made with.

share|improve this question
    
Does the document have embedded objects in it? Or customised database? – Simon O'Doherty Oct 24 '13 at 13:32
up vote 2 down vote accepted

Most probably the developer used some Windows- specific DLL- functions in this application. The code in the Declaration- section then looks similar to this:

Declare Sub tapiRequestMakeCall Lib "TAPI32" (Byval lpszDestAddress$,Byval lpszAppName$, 
  Byval lpszCalledParty$, Byval lpszComment$)

Please contact the developer of the application to either

a) remove the Windows- specific code

b) give you a version that is compatible with MAC

share|improve this answer
    
the code is this :Declare Sub keybd_event Lib "user32" (Byval bVk As Integer, Byval bScan As Integer, Byval dwflags As Long, Byval dwextrainfo As Long) Const VK_F6 = &H75 Const KEYEVENTF_KEYUP = &H2 – MihaiRO Oct 24 '13 at 14:23
2  
The developer uses the user32.dll to Emulate Key- presses... This is only working on Windows... That is the reason for your error. – Torsten Link Oct 24 '13 at 14:42
    
Thank you Torsten – MihaiRO Oct 28 '13 at 7:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .