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.
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.
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?
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
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/
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.
@@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.
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
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
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
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?
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.
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.
that's good, if you are teaching them this in grade 12, they have a bright feature studying under you :)
@Gamer Yousha Yes and my students are doing it right now in Australia.
@@samanthapennington4232 Ay fellow aussie
i have .dll file which i inject it crash program how do i fix it?
This is the third year I have used your video to demonstrate DLL's this year I remembered to make the first part public.
where are you from, where do you teach?
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.
thank you mate, for your long comment, your words inspire content creators like me 😄
Thanks mate, it works!
Not sure why there are dislikes considering that you did exactly what the title suggests.
thanks for being kind enough to say that, i don't know myself why people dislikes for no reason.
it's probably because there are people who struggle with this in C++
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?
Nice ascent😊
Great Video, thank you for making the most common problem so obvious.
that's great you're welcome :)
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
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
Other Videos of Encoding & Decoding Dll:
ruclips.net/p/PLrb70iTVZjZNn20yjP7JX-RJPjGwWxxep
Excellent video. Simple and right to the point.
I can only say u got a new subscriber!
good for me thanks 😃
class library template doesn't exist?
check visual studio installation panel goto search bar beside windows button, type visual studio installer check if you have installed class library.
it gets installed with the .net desktop development package
Is this a genuine tutorial? :
-Indian guy | ✔
-About tech | ✔
This is a certified tutorial
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..
07:46 Thank you so much!! This is the exact problem I was having!
How to call c program from Java servlet through dynamic link library?
can we run the class library file and check if it is giving the right output before using the .dll ?
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/
@@HassaanRaza ok ,thanks a lot 👍
You can use a unit test
Can we instantiate a class through its constructor with parameters ???
yes you can.
I know there is a workaround (factory method instead of constructor), my question can we do it straightforward?
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.
@@HassaanRaza thanks 👍
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
no matter how many libraries used, does not creates a problem, there must be some other problem.
@@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.
Want to Learn React and Firebase?
Check out this playlist:
ruclips.net/p/PLrb70iTVZjZNgEcdiGLrf05wmuFAGNLDI
Here y u have used public static??
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
Nicely done. It Helped a lot understanding the inner working of dll files.
Im glad that it did 😄
Clear and easy to follow.. thank you.
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
yes like those dll, you can create your own dll (with your code) by using this mehtod.
Can you make a video on how to edit a premade .dll file made from someone else please
your request is granted :D (SUBSCRIBE FOR MORE AWESOMENESS)
ruclips.net/video/5XWmw8bnX_g/видео.html
Is it possible to make a “server dll”
A very nice job!
Nice class.
Nice tutorial sir👍
can u copy that code and put in desc?
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
music installation?
Why does it take decades for Visual studio to do anything? For ide its slow asf.
Thanks for video, I was searching for this
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?
Your wallpaper is taxing on the system lol.
Hi, can this dll used in php ??
Can you save a folder as a dll this way?
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.
Does ist work with community 2017?
the first time i made a dll through this method, i had used VS community 2017
so definitely works!
Thank you so much ❤️❤️
1000th like
ty cool guy
thanks :D
Thank you
thanks bro one subscribe you deserve it;)
Glad I could help
How to have that live wallpaper?
Nice video btw, very helpful for me.
Steam wallpaper engine
хав хав :)
of course a indiean guy
nope not indian 😁