Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.