Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   Hi (http://www.go4expert.com/community/hi-t9327/)

kahari 13Mar2008 21:11

Hi
 
hi all,

i have joined in group newly.

Thanks
Hari

shabbir 13Mar2008 21:27

Re: Hi
 
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.

pyn 19Mar2008 12:48

Re: Hi
 
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

shabbir 20Mar2008 12:06

Re: Hi
 
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

pyn 20Mar2008 14:14

Re: Hi
 
Hi Shabbir,
I found the solution yesterday. Thks



Quote:

Originally Posted by shabbir
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



All times are GMT +5.5. The time now is 13:12.