Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a function from win32 dll in VC++

Status
Not open for further replies.

rajasingh

Instructor
May 24, 2004
1
IN

hi,

I Created a Win32 Dll project in VC++ .Net. I am having some c files in that project. In these files i am having some functions. In a separate .h file i included the declaration of functions which were to be exported form the dll using dllexport and __stdcall calling convention. I want to call these functions from another VC++ Win32 Application. It is not giving the correct out put. Application aborted after calling the first function in the code. But if I create a static library with out any change in the VC++ dll project and the test application it is giving the correct output. but if i generating the dll it is not giving the correct out put. What may be the problem?. Any one knows please help me.

Thanks in Advance.

Regards,
RajaSingh R.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top