Hi guys,
My question is very simple. I have created 2 projects:
1) MyApp - MyApp.exe
2) Mydll - Mydll.dll
Mydll.h
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h"
class MydllApp : public CWinApp
{
public:
MydllApp();
public:
virtual BOOL InitInstance();
DECLARE_MESSAGE_MAP()
};
MydllDlg.h
#pragma once
class MydllDlg : public CDialog
{
DECLARE_DYNAMIC(MydllDlg)
public:
MydllDlg(CWnd* pParent = NULL);
virtual ~MydllDlg();
enum { IDD = IDD_DIALOG_CRINV };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
DECLARE_MESSAGE_MAP()
};
I have created these projects separately.
Now, I want io include this dll to the app so that I can instantiate obj and call methods of the dll from the app.
What are the correct steps I need to do in order to success this.
(Kindly explain in DETAIL the steps as i'm NEW to software development)
If there were already some threats or explaination on this done kindly send me the link.
I have do some searching but, it does NOT HELP me because in those forums the answers were given to ppl who are knowlegeable in MVS IDE. (e.g "reference your dll to the project and import the dll in the project")...seriously I tell you, I don't know how to do that!
Sorry if I'm too harsh :)
Leaner,
skunkhead :)