| | |
static and dynamic Dll
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2006
Posts: 1
Reputation:
Solved Threads: 0
Hi all,
This is charan new member of this team.
Iam having one Question to all of you
What is the difference between static and dynamic Dll and how the mechanisim of static dll goes in VC++
---------------------------------------------------------------------
<<split to keep from resurrecting the quoted dead thread>>
This is charan new member of this team.
Iam having one Question to all of you
What is the difference between static and dynamic Dll and how the mechanisim of static dll goes in VC++
---------------------------------------------------------------------
•
•
•
•
Originally Posted by neuronco
You can have a DLL without DllMain function. Its purpose is for Windows to notify your DLL of various events that might be of interest to it, e.g. whenever another EXE or DLL loads it etc.
_declspec (dllexport) is a Microsoft specific extension for the compiler to tell it to export your function "bla", so that other DLLs and EXEs can link to it and use it. Other way to accompilsh the same is to use the DEF file and specify your exports there.
void _stdcall bla() is just a normal function visible to your DLL only. _stdcall is specifying standard (or PASCAL) calling convention (as opposed to _cdecl or C calling convention).
Last edited by Dave Sinkula; Aug 1st, 2006 at 9:54 am.
•
•
•
•
Originally Posted by scharan
Hi all,
This is charan new member of this team.
Iam having one Question to all of you
What is the difference between static and dynamic Dll and how the mechanisim of static dll goes in VC++
Last edited by Ancient Dragon; Aug 1st, 2006 at 10:36 am.
![]() |
Similar Threads
- Static Count vs Dynamic Count (Very advanced, gurus take your shot) (MySQL)
- Combining Static & Dynamic content (JSP)
- Set up static IP with AirPort on Windows (Networking Hardware Configuration)
- static ip (OS X)
- works for static need help to make it dynamic (C++)
- static ip? (Networking Hardware Configuration)
Other Threads in the C++ Forum
- Previous Thread: creating a window in turbo c??
- Next Thread: Why the reverse output?
Views: 8155 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char class classes code coding compile compiler console conversion convert count data database delete developer display dll email encryption error file forms fstream function functions game generator getline givemetehcodez graph homeworkhelper iamthwee ifstream image input int java lazy lib loop looping loops map math matrix memory multidimensional multiple newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






