Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do i Monitor a external program status Pin
Member 4048139-Jul-03 23:56
Member 4048139-Jul-03 23:56 
QuestionCreate region from a jpeg?? Pin
Chris Eatough9-Jul-03 23:17
Chris Eatough9-Jul-03 23:17 
AnswerRe: Create region from a jpeg?? Pin
Rage9-Jul-03 23:26
professionalRage9-Jul-03 23:26 
QuestionHOW TO IMPORT A TAB DELIMITED TEXT FILE INTO AN ACCESS DATABSE PROGRAMMATICALLY? Pin
vcseeker9-Jul-03 23:11
vcseeker9-Jul-03 23:11 
AnswerRe: HOW TO IMPORT A TAB DELIMITED TEXT FILE INTO AN ACCESS DATABSE PROGRAMMATICALLY? Pin
Terry O'Nolley10-Jul-03 7:33
Terry O'Nolley10-Jul-03 7:33 
GeneralRe: HOW TO IMPORT A TAB DELIMITED TEXT FILE INTO AN ACCESS DATABSE PROGRAMMATICALLY? Pin
basementman10-Jul-03 7:37
basementman10-Jul-03 7:37 
GeneralRe: HOW TO IMPORT A TAB DELIMITED TEXT FILE INTO AN ACCESS DATABSE PROGRAMMATICALLY? Pin
vcseeker10-Jul-03 18:25
vcseeker10-Jul-03 18:25 
GeneralCan't compile dll in debug mode Pin
eddymohd9-Jul-03 23:07
eddymohd9-Jul-03 23:07 
I created a dll with MFC as shared library. In order for me to have different name and type of dll for each mode (debug and release), i used this code in MyDllLib.h. This file will be called by exe from stdafx.h file.

#if defined _AFXDLL
#ifdef _DEBUG
#pragma comment(lib,"MyDlld.lib")
#pragma message("Automatically linking with MyDLLd.dll")
#else
#pragma comment(lib,"MyDll.lib")
#pragma message("Automatically linking with MyDll.dll")
#endif
#endif

but whenever i compile in debug mode, i got this warning..

Linking...
Creating library ./bin/MyDlld.lib and object ./bin/MyDlld.exp
MyDlld.exp : warning LNK4070: /OUT:MyDll.dll directive in .EXP differs from output filename "./bin/MyDlld.dll"; ignoring directive

it doesn't have any problem in the release mode... can anybody tell me why this is happenning..


One more thing, when compile in debug mode, my exe will search for release mode of MyDll.dll and not debug mode (MyDlld.dll)...

Thanks in advance
GeneralRe: Can't compile dll in debug mode Pin
Rage9-Jul-03 23:30
professionalRage9-Jul-03 23:30 
GeneralRe: Can't compile dll in debug mode Pin
eddymohd10-Jul-03 16:40
eddymohd10-Jul-03 16:40 
GeneralRe: Can't compile dll in debug mode Pin
Mike Dimmick10-Jul-03 6:38
Mike Dimmick10-Jul-03 6:38 
GeneralRe: Can't compile dll in debug mode Pin
eddymohd10-Jul-03 16:44
eddymohd10-Jul-03 16:44 
GeneralText Drawing as in Win PaintBrush Pin
黑发9-Jul-03 22:37
黑发9-Jul-03 22:37 
GeneralRe: Text Drawing as in Win PaintBrush Pin
Iain Clarke, Warrior Programmer9-Jul-03 22:51
Iain Clarke, Warrior Programmer9-Jul-03 22:51 
GeneralRe: Text Drawing as in Win PaintBrush Pin
黑发9-Jul-03 23:08
黑发9-Jul-03 23:08 
GeneralRe: Text Drawing as in Win PaintBrush Pin
Iain Clarke, Warrior Programmer9-Jul-03 23:49
Iain Clarke, Warrior Programmer9-Jul-03 23:49 
GeneralClass-Constructing function Pin
FlyingDancer9-Jul-03 21:34
FlyingDancer9-Jul-03 21:34 
GeneralRe: Class-Constructing function Pin
jhwurmbach9-Jul-03 22:16
jhwurmbach9-Jul-03 22:16 
GeneralRe: Class-Constructing function Pin
FlyingDancer9-Jul-03 22:59
FlyingDancer9-Jul-03 22:59 
Questionconsole program font size? Pin
DaveE9th9-Jul-03 20:24
DaveE9th9-Jul-03 20:24 
AnswerRe: console program font size? Pin
Iain Clarke, Warrior Programmer9-Jul-03 22:58
Iain Clarke, Warrior Programmer9-Jul-03 22:58 
AnswerRe: console program font size? Pin
Anthony_Yio10-Jul-03 1:44
Anthony_Yio10-Jul-03 1:44 
GeneralRe: console program font size? Pin
DaveE9th12-Jul-03 2:35
DaveE9th12-Jul-03 2:35 
Questionfull screen? Pin
DaveE9th9-Jul-03 20:21
DaveE9th9-Jul-03 20:21 
AnswerRe: full screen? Pin
Magnus Westin9-Jul-03 22:33
Magnus Westin9-Jul-03 22:33 

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.