Hi and welcome to the forum and Please do not jump into any other thread with your query as that may not be seen by all.
Dear Folks, I read the posts regarding creating DLL. I followed those steps. but its working on VC 6.0. but i cant access the functions which resides in the DLL using Microsoft .Net 2003. Here i mentioned the code MY.CPP Code: #include "stdafx.h" #include "Today.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } int __stdcall add(int a , int b) { return a+b; } MY.h #include "stdafx.h" int __stdcall add(int a , int b); MY.Def LIBRARY Today EXPORTS add @1 please clarify, if i did any mistakes..... Thanks n Advance regards, Pyn
pyn, do not jump in any thread with your query, Either use the same thread where you found the article or create a new thread providing link to thread you would like to discuss the issue