Tech Support banner
Status
Not open for further replies.
1 - 6 of 6 Posts

·
Registered
Joined
·
166 Posts
Discussion Starter · #3 ·
Which would you suggest the best? I was thinking of using C or C++?

EDIT:
And thanks for the article.
 

·
TSF Enthusiast
Joined
·
6,298 Posts
I have no experience with writing DLLs, but there's a nifty site here with a general overview of how to write them. From the site, it seems like C/C++ are the most flexible to write it in.
 

·
Registered
Joined
·
39 Posts
The language you use to create your dlls depends on what your application requirements are. C and C++ are fairly low level languages are used in applications such as hardware software (drivers) and performance intensive applications. On the other hand C# and VB.NET are used for most Microsoft-based business applications.

To determine what language you should use, you should first understand your applications requirements and go from there.
 

·
Registered
Joined
·
211 Posts
DLL's are not written in any specific language. They contain machine code organized into the common programming "routine" concept, along with a table ("export"/"import"-table) used to map these routines to an application's address space.

Any language can be used to write a DLL, so-long as it's supported. But, by far the most appropiate language to develop them in is C/C++ or Assembly. Or any low-level language.

All current (kernel) DLL's under Window's are written in C (Not C++). Additionally, they are all of the __stdcall calling convention (Parameters are pushed onto the stack left-to-right).


-Matt
 
1 - 6 of 6 Posts
Status
Not open for further replies.
Top