How to Make & Use (.dll) files in Visual Studio | Using Class Library

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 82

  • @samanthapennington4232
    @samanthapennington4232 4 ปีที่แล้ว +6

    Thanks for this I just used it to demonstrate the concept of a DLL to my Year 12 students. Much appreciated as they were in need of some practical programming practice whilst learning from home during COVID-19 as they are learning from home at the moment.

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว +4

      that's good, if you are teaching them this in grade 12, they have a bright feature studying under you :)

    • @samanthapennington4232
      @samanthapennington4232 2 ปีที่แล้ว

      @Gamer Yousha Yes and my students are doing it right now in Australia.

    • @GalaxyYeaYea
      @GalaxyYeaYea ปีที่แล้ว

      @@samanthapennington4232 Ay fellow aussie

  • @HassaanRaza
    @HassaanRaza  4 ปีที่แล้ว +1

    Other Videos of Encoding & Decoding Dll:
    th-cam.com/play/PLrb70iTVZjZNn20yjP7JX-RJPjGwWxxep.html

  • @HassaanRaza
    @HassaanRaza  2 ปีที่แล้ว

    Want to Learn React and Firebase?
    Check out this playlist:
    th-cam.com/play/PLrb70iTVZjZNgEcdiGLrf05wmuFAGNLDI.html

  • @levinfubex608
    @levinfubex608 2 ปีที่แล้ว

    thank you so much for this video. i searched this video for a few days straight and most were useless to me. ur vid is straightforward and simple to understand. thank you so much once again.

    • @HassaanRaza
      @HassaanRaza  2 ปีที่แล้ว +1

      thank you mate, for your long comment, your words inspire content creators like me 😄

  • @XPayne-bf7do
    @XPayne-bf7do 2 ปีที่แล้ว +1

    i have .dll file which i inject it crash program how do i fix it?

  • @samanthapennington4232
    @samanthapennington4232 5 หลายเดือนก่อน

    This is the third year I have used your video to demonstrate DLL's this year I remembered to make the first part public.

    • @HassaanRaza
      @HassaanRaza  5 หลายเดือนก่อน

      where are you from, where do you teach?

  • @uccoskun
    @uccoskun 2 ปีที่แล้ว +1

    Great Video, thank you for making the most common problem so obvious.

    • @HassaanRaza
      @HassaanRaza  2 ปีที่แล้ว

      that's great you're welcome :)

  • @aussieraver7182
    @aussieraver7182 3 ปีที่แล้ว +1

    Thanks mate, it works!
    Not sure why there are dislikes considering that you did exactly what the title suggests.

    • @HassaanRaza
      @HassaanRaza  3 ปีที่แล้ว +1

      thanks for being kind enough to say that, i don't know myself why people dislikes for no reason.

    • @DeveloVooshGWeb
      @DeveloVooshGWeb ปีที่แล้ว

      it's probably because there are people who struggle with this in C++

  • @Guest-o5j
    @Guest-o5j 9 หลายเดือนก่อน

    Nice ascent😊

  • @tonynarde5634
    @tonynarde5634 3 ปีที่แล้ว +2

    Excellent video. Simple and right to the point.

  • @rulfos624
    @rulfos624 4 ปีที่แล้ว +2

    I can only say u got a new subscriber!

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว +2

      good for me thanks 😃

  • @dorkish
    @dorkish 2 ปีที่แล้ว

    Is this a genuine tutorial? :
    -Indian guy | ✔
    -About tech | ✔
    This is a certified tutorial

    • @HassaanRaza
      @HassaanRaza  2 ปีที่แล้ว

      hahaha, but I'm not Indian, I'm from Pakistan we are similar but yet different, its like korea and japan, or British vs amercians..

  • @yashverma8536
    @yashverma8536 4 ปีที่แล้ว

    Nicely done. It Helped a lot understanding the inner working of dll files.

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว +1

      Im glad that it did 😄

  • @kellybmackenzie
    @kellybmackenzie 2 ปีที่แล้ว

    07:46 Thank you so much!! This is the exact problem I was having!

  • @nickname4848
    @nickname4848 2 ปีที่แล้ว +1

    When I'm trying to add a .dll I'm getting the error message: " A reference to (path) could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component." anyone else encountered that problem?

  • @xandersafrunek2151
    @xandersafrunek2151 3 ปีที่แล้ว +5

    Your wallpaper is taxing on the system lol.

  • @h-Films
    @h-Films 4 ปีที่แล้ว +2

    class library template doesn't exist?

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      check visual studio installation panel goto search bar beside windows button, type visual studio installer check if you have installed class library.

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      it gets installed with the .net desktop development package

  • @henryulloa2656
    @henryulloa2656 4 ปีที่แล้ว +1

    A very nice job!

  • @urandurparthu1526
    @urandurparthu1526 ปีที่แล้ว

    my single cs file is 48kb and other cs file combined is 5.6mb how come dll is just 4kb what happens to the entire project?
    how to implant entire project (14 .cs files) into single dll

  • @capalot6028
    @capalot6028 5 ปีที่แล้ว +3

    Can you make a video on how to edit a premade .dll file made from someone else please

    • @HassaanRaza
      @HassaanRaza  5 ปีที่แล้ว +1

      your request is granted :D (SUBSCRIBE FOR MORE AWESOMENESS)
      th-cam.com/video/5XWmw8bnX_g/w-d-xo.html

  • @Heikki70
    @Heikki70 4 ปีที่แล้ว +1

    Clear and easy to follow.. thank you.

  • @10hourscreens68
    @10hourscreens68 4 ปีที่แล้ว +1

    I Have 1 Question
    I few different DLL Files for Registering Adobe and Corel Softwares
    Is this thing can work the same ?
    Or which thing will work Please help me

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      yes like those dll, you can create your own dll (with your code) by using this mehtod.

  • @fayas2709
    @fayas2709 2 ปีที่แล้ว

    Brother I try it with windows forms in button like 4 sep button for four operations and I want to show them in message box but how to call them

  • @pew8208
    @pew8208 4 ปีที่แล้ว

    amm good tutorials... but i wanted to see how to make in c# console user input and output (and hide that code in .dll) can you make another video like that?

  • @kitamashi
    @kitamashi ปีที่แล้ว +1

    1000th like

  • @karthiks4689
    @karthiks4689 3 ปีที่แล้ว

    How to call c program from Java servlet through dynamic link library?

  • @khunmaegamer1129
    @khunmaegamer1129 4 ปีที่แล้ว

    Thanks for video, I was searching for this

  • @abhishekrastogi2833
    @abhishekrastogi2833 4 ปีที่แล้ว +1

    can we run the class library file and check if it is giving the right output before using the .dll ?

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      hmm i don't think there is a way to run a class library becuase its just plane code, however you can test your code by copy pasting it to an online compiler like dotnetfiddle.net/

    • @abhishekrastogi2833
      @abhishekrastogi2833 4 ปีที่แล้ว +1

      @@HassaanRaza ok ,thanks a lot 👍

    • @satori8626
      @satori8626 ปีที่แล้ว

      You can use a unit test

  • @FANTICOUS32
    @FANTICOUS32 3 ปีที่แล้ว +1

    Can we instantiate a class through its constructor with parameters ???

    • @HassaanRaza
      @HassaanRaza  3 ปีที่แล้ว

      yes you can.

    • @FANTICOUS32
      @FANTICOUS32 3 ปีที่แล้ว

      I know there is a workaround (factory method instead of constructor), my question can we do it straightforward?

    • @HassaanRaza
      @HassaanRaza  3 ปีที่แล้ว +1

      default constructor has one job, instantiate the class (make object).
      if you are making a constructor with parameters, it will have two jobs.
      1) instantiate the class (make object).
      2) do whatever is written in the constructor method.

    • @FANTICOUS32
      @FANTICOUS32 3 ปีที่แล้ว

      @@HassaanRaza thanks 👍

  • @amulyakethineedi8464
    @amulyakethineedi8464 3 ปีที่แล้ว +1

    Here y u have used public static??

    • @HassaanRaza
      @HassaanRaza  3 ปีที่แล้ว

      public static is use to make (static fields, or static mehtod, or static classes)
      means you don't need to create the object of the class you can directly use it like
      className.StaticMethod(); //example1
      className,StaticProperty; //example2

  • @HOAXYT01
    @HOAXYT01 4 ปีที่แล้ว +1

    Nice tutorial sir👍

  • @lutherjohnjomaya2744
    @lutherjohnjomaya2744 4 ปีที่แล้ว

    Question how about a large project with two libraries. Had issue with it as i make some customization of the properties, its not appearing the changes

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      no matter how many libraries used, does not creates a problem, there must be some other problem.

    • @lutherjohnjomaya2744
      @lutherjohnjomaya2744 4 ปีที่แล้ว

      @@HassaanRaza
      Thanks for reply, ill your trick. Maybe this will fix the issues. I had two folders lets call folderMain and the other folderSecond. All of my class libraries are on folderSecond and already reference the folderSecond .dll, but some issues occur like some classes and its properties not appearing in the folderMain.

  • @ajaydev5489
    @ajaydev5489 3 ปีที่แล้ว

    Nice class.

  • @EclipseYTxD
    @EclipseYTxD 3 ปีที่แล้ว

    can u copy that code and put in desc?

  • @daito6426
    @daito6426 2 ปีที่แล้ว

    Thank you so much ❤️❤️

  • @krudo5096
    @krudo5096 2 ปีที่แล้ว

    Is it possible to make a “server dll”

  • @laakshayveersingh9608
    @laakshayveersingh9608 4 ปีที่แล้ว +1

    Bhai Mene music installation karwai thi wo sabhi dll files he agar me installed pc me se dll files utha k same data copy other pc me kardu to chal jayegi

  • @tethos3817
    @tethos3817 3 ปีที่แล้ว

    ty cool guy

  • @ishanprajapati9967
    @ishanprajapati9967 2 ปีที่แล้ว

    Thank you

  • @chotatinesh407
    @chotatinesh407 2 ปีที่แล้ว

    Hi, can this dll used in php ??

  • @noel54
    @noel54 5 ปีที่แล้ว

    How to have that live wallpaper?
    Nice video btw, very helpful for me.

    • @HassaanRaza
      @HassaanRaza  5 ปีที่แล้ว +1

      Steam wallpaper engine

  • @sadiewinterlord6908
    @sadiewinterlord6908 4 ปีที่แล้ว +1

    Can you save a folder as a dll this way?

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      dll is just bunch of code encoded in a format, its not like a compressed file type like zip or rar, so i don't think a folder can be saved within a dll.

  • @dietrichdietz
    @dietrichdietz 4 ปีที่แล้ว

    Does ist work with community 2017?

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      the first time i made a dll through this method, i had used VS community 2017

    • @HassaanRaza
      @HassaanRaza  4 ปีที่แล้ว

      so definitely works!

  • @zakagg4707
    @zakagg4707 4 ปีที่แล้ว

    thanks bro one subscribe you deserve it;)

  • @muzprog2023
    @muzprog2023 2 ปีที่แล้ว

    хав хав :)

  • @rorymahoney
    @rorymahoney 3 ปีที่แล้ว

    of course a indiean guy

    • @HassaanRaza
      @HassaanRaza  3 ปีที่แล้ว

      nope not indian 😁