SteveG schreef:
Just a note on the GetKeyState function from LclIntf - causes exception when used within a dll (mine anyway) -
same call direct (thru 'use Windows') works ok
Not sure as yet to report this as a bug, still doing eliminations in my own code


Do you use the interfaces unit in your dll? Otherwise you cannot use LCL units.

Note that using the interfaces unit in the DLL gets you into different problems, because the global variables from the LCL are not shared between the DLL and the main program.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to