Site menu
Login form
Section categories
Web Development [20]
Learn about PHP & Web Development
Education [4]
Learn for Free
Knowledge & Tricks [0]
General Knowledge,computer Knowledge & tricks
Writing World [2]
A MiX World of SmS on Various Topics
Main » 2012 » November » 6 » How to Use a DLL(dynamic link library) in php
10:14 PM
How to Use a DLL(dynamic link library) in php
how to use the .dll file means a dynamic link library can only be make by .NET tecnology. here we will disscuss that how to use that library in our php script

first of all make any functional  .dll file in .NET and use the following code for use this library in php

NOTE:>> .exe file and .dll files are same in .net but if you compile and Run your C# program with Main() function then always .exe file will be generate by the .NET and if you run your C# program without using Main() function then definitely .NET will produce a .dll file

NOw make a dll file having your own functionality and use following code to use it in your web application


$myobj= new DOTNET("mscorlib", "Mycustomclass");

//first parameter is the name of the assembly and second one is your created class name in that //assembly

//now you have a abject of that class created in .NET now easily call the functions of that class by
//passing its parameters and you can recieve the returned value from the dll file in php varriable




//this will print hahahhhahahha.........

Category: Web Development | Views: 94 | Added by: admin-priyank | Rating: 5.0/1
Total comments: 0
Name *:
Email *:
Code *:
«  November 2012  »
Entries archive
Our poll
Rate my site
Total of answers: 4
Site friends
  • Create a free website
  • Online Desktop
  • Free Online Games
  • Video Tutorials
  • All HTML Tags
  • Browser Kits
  • Statistics

    Total online: 1
    Guests: 1
    Users: 0
    Creative Commons License
    Free Downloads and Services by MiX1 is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
    Copyright MyCorp © 2018