91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

UG 二次開發(fā) MFC 外部模式 開發(fā)實例 包含完整源代碼 很好的一個例子 學(xué)習(xí)的好例子

資源截圖

代碼片段和文件信息

//?MFC?in?UG.cpp?:?Defines?the?initialization?routines?for?the?DLL.
//

#include?“stdafx.h“
#include?“MFC?in?UG.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

//
// Note!
//
// If?this?DLL?is?dynamically?linked?against?the?MFC
// DLLs?any?functions?exported?from?this?DLL?which
// call?into?MFC?must?have?the?AFX_MANAGE_STATE?macro
// added?at?the?very?beginning?of?the?function.
//
// For?example:
//
// extern?“C“?BOOL?PASCAL?EXPORT?ExportedFunction()
// {
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
// //?normal?function?body?here
// }
//
// It?is?very?important?that?this?macro?appear?in?each
// function?prior?to?any?calls?into?MFC.??This?means?that
// it?must?appear?as?the?first?statement?within?the?
// function?even?before?any?object?variable?declarations
// as?their?constructors?may?generate?calls?into?the?MFC
// DLL.
//
// Please?see?MFC?Technical?Notes?33?and?58?for?additional
// details.
//

/////////////////////////////////////////////////////////////////////////////
//?CMFCinUGApp

BEGIN_MESSAGE_MAP(CMFCinUGApp?CWinApp)
//{{AFX_MSG_MAP(CMFCinUGApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CMFCinUGApp?construction

CMFCinUGApp::CMFCinUGApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMFCinUGApp?object

CMFCinUGApp?theApp;

#include?
#include?
#include?
#include?
#include?yler.h>
#include?
extern?“C“?DllExport?void?ufusr(?char?*param?int?*returnCode?int?rlen?)//UG/Open函數(shù)入口
{
????int?errorCode?=?UF_initialize();
????if?(?0?==?errorCode?)
????{
????????//實現(xiàn)所需功能的函數(shù)調(diào)用,如:
????????AfxMessageBox(“I?have?realized?how?to?call?MFC?in?UG?development!“);
????????errorCode?=?UF_terminate();
????}
}
extern?“C“?int?ufusr_ask_unload(?void?)
{
????return(?UF_UNLOAD_UG_TERMINATE?);
}?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????18816??2008-11-17?09:35??MFC?in?UG\MFC?in?UG.aps

?????文件????????334??2007-05-27?01:02??MFC?in?UG\MFC?in?UG.clw

?????文件???????2307??2008-11-17?09:50??MFC?in?UG\MFC?in?UG.cpp

?????文件????????193??2007-05-27?01:02??MFC?in?UG\MFC?in?UG.def

?????文件???????4319??2007-11-01?19:57??MFC?in?UG\MFC?in?UG.dsp

?????文件????????543??2007-05-29?23:48??MFC?in?UG\MFC?in?UG.dsw

?????文件???????1270??2007-05-27?01:02??MFC?in?UG\MFC?in?UG.h

?????文件???11045888??2008-11-17?10:41??MFC?in?UG\MFC?in?UG.ncb

?????文件??????78848??2007-11-01?19:57??MFC?in?UG\MFC?in?UG.opt

?????文件????????822??2007-11-01?19:57??MFC?in?UG\MFC?in?UG.plg

?????文件???????3083??2007-05-27?01:02??MFC?in?UG\MFC?in?UG.rc

?????文件????????882??2008-11-17?10:41??MFC?in?UG\MFC?in?UG.sln

????..A..H.?????10752??2008-11-17?10:41??MFC?in?UG\MFC?in?UG.suo

?????文件???????7145??2008-11-17?10:41??MFC?in?UG\MFC?in?UG.vcproj

?????文件???????1401??2008-11-17?10:41??MFC?in?UG\MFC?in?UG.vcproj.DD677F0119E74F1.Administrator.user

?????文件???????2599??2007-05-27?01:02??MFC?in?UG\ReadMe.txt

?????文件????????401??2007-05-27?01:02??MFC?in?UG\res\MFC?in?UG.rc2

?????文件????????381??2007-05-27?01:02??MFC?in?UG\Resource.h

?????文件????????211??2007-05-27?01:02??MFC?in?UG\StdAfx.cpp

?????文件???????1447??2007-05-27?01:02??MFC?in?UG\StdAfx.h

?????目錄??????????0??2008-11-17?09:35??MFC?in?UG\Debug

?????目錄??????????0??2008-11-16?09:12??MFC?in?UG\Release

?????目錄??????????0??2008-11-16?09:12??MFC?in?UG\res

?????目錄??????????0??2008-11-17?10:41??MFC?in?UG

-----------?---------??----------?-----??----

?????????????11181860????????????????????25


評論

共有 條評論