Recent

Author Topic: LoadLibrary problem  (Read 7642 times)

aducom

  • Full Member
  • ***
  • Posts: 155
    • http://www.aducom.com
LoadLibrary problem
« on: March 31, 2008, 10:30:27 am »
Which unit do I need to include to get LoadLibrary compiled?

albert

OnixJr

  • Full Member
  • ***
  • Posts: 172
    • http://www.brlazarus.kit.net
RE: LoadLibrary problem
« Reply #1 on: April 01, 2008, 02:47:31 am »
unit Windows
but works only on windows, obviously =)

Maybe someone have other solution!

Regards,
Júnior
Portal Lazarus Brasil - http://lazaruspascal.codigolivre.org.br/portal.php
Lazarus BOOK (in portuguese) - http://lazarus-book.blogspot.com
<hipernetjr@yahoo.com.br> - Curitiba/Brazil

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: LoadLibrary problem
« Reply #2 on: April 01, 2008, 02:46:01 pm »
Quote from: "aducom"
Which unit do I need to include to get LoadLibrary compiled?

albert


{$IFDEF MSWINDOWS}
  Windows,  
{$ELSE}
  DynLibs,  
{$ENDIF}

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Re: LoadLibrary problem
« Reply #3 on: April 03, 2008, 12:18:48 am »
DynLibs is available on windows too.

 

TinyPortal © 2005-2018