Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQues on Load Icon Pin
SatyaDY4-Jul-03 20:47
SatyaDY4-Jul-03 20:47 
GeneralRe: Ques on Load Icon Pin
Ryan Binns4-Jul-03 21:16
Ryan Binns4-Jul-03 21:16 
GeneralRe: Ques on Load Icon Pin
SatyaDY6-Jul-03 17:44
SatyaDY6-Jul-03 17:44 
GeneralRe: Ques on Load Icon Pin
Ryan Binns6-Jul-03 18:11
Ryan Binns6-Jul-03 18:11 
Generaljunk character display in microsoft date time picker control Pin
Raghunandan S4-Jul-03 20:35
Raghunandan S4-Jul-03 20:35 
QuestionHow to enable (visiable) a CEdit before the dialog is displayed? Pin
Kevein4-Jul-03 17:58
Kevein4-Jul-03 17:58 
AnswerRe: How to enable (visiable) a CEdit before the dialog is displayed? Pin
Ryan Binns4-Jul-03 19:02
Ryan Binns4-Jul-03 19:02 
Generallinking with an mfc extension dll Pin
(Steven Hicks)n+14-Jul-03 13:46
(Steven Hicks)n+14-Jul-03 13:46 
I created an MFC Extension DLL that when calls checks a file, and condictionally displays a dialog box and quits. It compiled fine.

But

When I went to create a sample app, I added the lib to the project and included the header file from the MFC Extension DLL.. Called teh function:

CPluginMessage mPIM;
mPIM.CheckForInformation("asdf.exe","ASDF","None");


But when I compile the app it throws a fit and says:
--------------------Configuration: asdf - Win32 Release--------------------
Compiling...
asdfDlg.cpp
Linking...
asdfDlg.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPluginMessage::CheckForInformation(class CString,class CString,class CString)" (?CheckForInformation@CPluginMessage@@QAEHVCString@@00@Z)
asdfDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CPluginMessage::CPluginMessage(class CWnd *)" (??0CPluginMessage@@QAE@PAVCWnd@@@Z)
Release/asdf.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

asdf.exe - 3 error(s), 0 warning(s)


-Steven Hicks

CPA

CodeProjectAddict

Actual Linux Penguins were harmed in the creation of this message.

More tutorials: Ltpb.8m.com: Tutorials |404Browser.com (Download Link)

GeneralRe: linking with an mfc extension dll Pin
valikac4-Jul-03 15:07
valikac4-Jul-03 15:07 
GeneralRe: linking with an mfc extension dll Pin
(Steven Hicks)n+14-Jul-03 17:19
(Steven Hicks)n+14-Jul-03 17:19 
GeneralRe: linking with an mfc extension dll Pin
(Steven Hicks)n+14-Jul-03 17:21
(Steven Hicks)n+14-Jul-03 17:21 
GeneralRe: linking with an mfc extension dll Pin
Kelly Herald7-Jul-03 6:06
Kelly Herald7-Jul-03 6:06 
GeneralExtracting records from file, but don't know how long records could be... Pin
IrishSonic4-Jul-03 13:26
IrishSonic4-Jul-03 13:26 
GeneralRe: Extracting records from file, but don't know how long records could be... Pin
David Crow4-Jul-03 13:40
David Crow4-Jul-03 13:40 
GeneralRe: Extracting records from file, but don't know how long records could be... Pin
IrishSonic4-Jul-03 13:57
IrishSonic4-Jul-03 13:57 
GeneralRe: Extracting records from file, but don't know how long records could be... Pin
David Crow7-Jul-03 4:19
David Crow7-Jul-03 4:19 
GeneralSize and Position Pin
Zak_4-Jul-03 12:33
Zak_4-Jul-03 12:33 
GeneralRe: Size and Position Pin
Michael Dunn4-Jul-03 13:09
sitebuilderMichael Dunn4-Jul-03 13:09 
Generaldealing with bi-directional association Pin
RK_20004-Jul-03 12:18
RK_20004-Jul-03 12:18 
QuestionIs it possible to manually resize a statusbar? Pin
clintsinger4-Jul-03 11:31
clintsinger4-Jul-03 11:31 
AnswerRe: Is it possible to manually resize a statusbar? Pin
Ryan Binns4-Jul-03 15:27
Ryan Binns4-Jul-03 15:27 
QuestionSetting GetAsyncKeyState() output? Pin
S O S4-Jul-03 11:09
S O S4-Jul-03 11:09 
QuestionSome tips for my first real application in VC++ ?? Pin
konac4-Jul-03 10:42
konac4-Jul-03 10:42 
AnswerRe: Some tips for my first real application in VC++ ?? Pin
Toni784-Jul-03 11:53
Toni784-Jul-03 11:53 
GeneralRe: Some tips for my first real application in VC++ ?? Pin
conac8-Jul-03 1:09
conac8-Jul-03 1:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.