I started with easy language. I started out for interest at first. Later, I was killed by easy language and software by mistake. I even killed blank programs, and then I learned C #. With the development of my study, after getting familiar with more and more complex things, I found that some functions are not easy to write, so I thought of using C # To Call The DLL written in easy language, just like calling a common DLL, no technical skills.
Create a DLL file in easy language
C # called like a common DLL
[CSHARP]
View plaincopy
- <P> using system;
- Using system. Collections. Generic;
- Using system. componentmodel;
- Using system. Data;
- Using system. drawing;
- Using system. LINQ;
- Using system. text;
- Using system. Windows. forms;
- Using system. runtime. interopservices; </P> <p> namespace e_dll
- {
- Public partial class form1: Form
- {
- Public form1 ()
- {
- Initializecomponent ();
- }
- [Dllimport ("MSG. dll")]
- Public static extern void msgbox (string text, String title );
- Private void button#click (Object sender, eventargs E)
- {
- Msgbox ("easy language DLL called successfully! "," Test ");
- }
- }
- }
- </P>
The result is as follows: