Hi, Creating dll is pretty easy if you have Microsoft visula studio.. The basic concept is as follows: 1)Create new project and choose a win 32 - dll from the projects 2) Append the following line before every class declaration class _declspec ( dllexport ) Eg. class _declspec ( dllexport ) cComplex { public: cComplex(float a= 0.0, float b = 0.0); private: float real; float img; }; 3) Similarly if u are using any function just append _declspec ( dllexport ) before function. 4) for consuming or using that dll just mention dllimport in place of dllexport Thats all for now, anupamonu@gmail.com
Chat with our AI personalities
By running a compiler, assuming the text file contains a source program. The compiler translates source language into machine language.