Results 1 to 4 of 4

Thread: DLL in PHP?

  1. #1

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    DLL in PHP?

    Hi All,
    Just would like to know if you can call DLL from PHP the same way you do in ASP? If so then can any one pass me some example or links.

    Thanks.

    Danial
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    You can call a PHP extension in DLL form from the extension folder using the dl() function.

    That's all I know of.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Originally posted by The Hobo
    You can call a PHP extension in DLL form from the extension folder using the dl() function.

    That's all I know of.
    Hobo,
    Thanks for your link. It looks like PHP version 4.2 and above seem to support calliing DLL, if this example (http://php.weblogs.com/discuss/msgReader$1481?mode=topic) is correct then i can call any dll(they seem to be calling windows API). Some mentioned that i can only use COM dll or something like that.

    I am not a PHP programmer just need to add some low level functinality to a php project. Just want to make it clear, if any dll can be used or certain dll with special interface must be used. Would a DLL(ActiveX DLL) written in VB work? Or must i write it in C++

    Thanks.

    Danial

    Thanks
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can try the PHP COM functions to see if you can get the VB DLL to work. It should work, but you know how it is...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width