Click here to Skip to main content
15,893,564 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: change video border color when using WMP in C#? Pin
codefreaklcs14-Jan-08 23:29
codefreaklcs14-Jan-08 23:29 
GeneralRe: change video border color when using WMP in C#? Pin
Hamid_RT15-Jan-08 4:13
Hamid_RT15-Jan-08 4:13 
Generalimplementing a tree model Pin
Jim Crafton14-Jan-08 9:32
Jim Crafton14-Jan-08 9:32 
QuestionControls placed by Resource Editor are different size than controls placed programmatically? Pin
xjohnx14-Jan-08 9:18
xjohnx14-Jan-08 9:18 
GeneralRe: Controls placed by Resource Editor are different size than controls placed programmatically? Pin
Stephen Hewitt14-Jan-08 12:41
Stephen Hewitt14-Jan-08 12:41 
GeneralRe: Controls placed by Resource Editor are different size than controls placed programmatically? Pin
xjohnx14-Jan-08 14:20
xjohnx14-Jan-08 14:20 
GeneralRe: Controls placed by Resource Editor are different size than controls placed programmatically? Pin
Stephen Hewitt14-Jan-08 14:56
Stephen Hewitt14-Jan-08 14:56 
GeneralDeployment Pin
Rage14-Jan-08 2:56
professionalRage14-Jan-08 2:56 
Vs2005, XP Sp2. After reading lots of pages about MFC dlls and deployment and module state and memory and ..., here my question:

I have a plug-in dll, that is a "normal" Dll with MFC linked dynamically (and loaded by a third-party MFC app).
This dll uses:
- two resource dll, loaded at runtime (for changing language of dialogs) and that do not use MFC and do not contain code.
- two normal dll, delay loaded, with MFC linked dynamically.
- one win32 dll, delay loaded, with no MFC.
- one lib, statically linked, with MFC linked dynamically (actually this could as well be an MFC extension dll, I do not know the difference).

The whole makes extensive use of threads. Currently, this is compiled with the /MT option, as multithreaded (but for the lib, obviously). Should not everything be compiled as Multithreaded dll (/MD ?) Which Pre-processor definition are needed ? _DLL ? _AFXDLL ? _USRDLL ? What is the difference ?

When and in which projects should I use AFX_MODULE_STATE ?

Background: Debug version works perfectly, Release version is slow (some sync problems between threads probably). I came to suspect the project not to be build adequately, after observing that changing the thread priorities did not help. I also have one dialog that crashes when "DoModaled", supposely something goes wrong with state modules somewhere.

Thanks for your time, this bugs me.

~RaGE();

I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

Do not feed the troll ! - Common proverb




QuestionHow much data can be stored by CString Type varible Pin
rajneshmalik14-Jan-08 2:12
rajneshmalik14-Jan-08 2:12 
AnswerRe: How much data can be stored by CString Type varible Pin
CPallini14-Jan-08 2:29
mveCPallini14-Jan-08 2:29 
AnswerRe: How much data can be stored by CString Type varible Pin
toxcct14-Jan-08 3:32
toxcct14-Jan-08 3:32 
AnswerRe: How much data can be stored by CString Type varible Pin
Jimmanuel14-Jan-08 6:33
Jimmanuel14-Jan-08 6:33 
GeneralRe: How much data can be stored by CString Type varible Pin
David Crow14-Jan-08 6:44
David Crow14-Jan-08 6:44 
GeneralRe: How much data can be stored by CString Type varible Pin
pierre_ribery14-Jan-08 8:23
pierre_ribery14-Jan-08 8:23 
GeneralRe: How much data can be stored by CString Type varible Pin
David Crow14-Jan-08 8:30
David Crow14-Jan-08 8:30 
QuestionCan i give some text a Marquee feature on VC++ dialogue? Pin
megha_gharote14-Jan-08 0:12
megha_gharote14-Jan-08 0:12 
AnswerRe: Can i give some text a Marquee feature on VC++ dialogue? Pin
Hamid_RT14-Jan-08 0:16
Hamid_RT14-Jan-08 0:16 
AnswerRe: Can i give some text a Marquee feature on VC++ dialogue? Pin
toxcct14-Jan-08 2:07
toxcct14-Jan-08 2:07 
GeneralVC++ dynamic DLL loading sample without MFC class. Pin
Tintin9213-Jan-08 23:16
Tintin9213-Jan-08 23:16 
GeneralRe: VC++ dynamic DLL loading sample without MFC class. Pin
CPallini13-Jan-08 23:26
mveCPallini13-Jan-08 23:26 
GeneralIPC using data copy Pin
gayatri.neelema13-Jan-08 22:40
gayatri.neelema13-Jan-08 22:40 
GeneralRe: IPC using data copy Pin
CPallini13-Jan-08 23:03
mveCPallini13-Jan-08 23:03 
GeneralRe: IPC using data copy Pin
Hamid_RT14-Jan-08 0:52
Hamid_RT14-Jan-08 0:52 
GeneralRe: IPC using data copy Pin
Rajesh R Subramanian14-Jan-08 1:54
professionalRajesh R Subramanian14-Jan-08 1:54 
QuestionRe: IPC using data copy Pin
David Crow14-Jan-08 4:42
David Crow14-Jan-08 4:42 

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.