Click here to Skip to main content
15,881,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: Simple and Easy to Use Graph or Plotter [modified] Pin
Cedric Moonen6-Dec-07 7:57
Cedric Moonen6-Dec-07 7:57 
GeneralRe: Simple and Easy to Use Graph or Plotter Pin
ThatsAlok6-Dec-07 20:12
ThatsAlok6-Dec-07 20:12 
GeneralRe: Simple and Easy to Use Graph or Plotter Pin
super_ttd9-Dec-07 5:28
super_ttd9-Dec-07 5:28 
QuestionDelete characters from a string? Pin
bosfan6-Dec-07 5:01
bosfan6-Dec-07 5:01 
AnswerRe: Delete characters from a string? Pin
David Crow6-Dec-07 5:10
David Crow6-Dec-07 5:10 
AnswerRe: Delete characters from a string? Pin
CPallini6-Dec-07 5:18
mveCPallini6-Dec-07 5:18 
AnswerRe: Delete characters from a string? Pin
led mike6-Dec-07 5:26
led mike6-Dec-07 5:26 
QuestionMFC application crash possibily due to runtime version conflict of VC++ 2005 redistributable binaries Pin
ComplexLifeForm6-Dec-07 4:29
ComplexLifeForm6-Dec-07 4:29 
Hi,
I am using VS2005 Professional edition (procured by my company) on Windows XP Pro SP2 to develop a MFC application. Currently I am facing two problems and I am unable to determine the reason for the same. The application is packaged using Install shield which also include VC++2005 redistributable binaries and installs it on the target machine if these are not located. On my machine I have two versions of VC++ 2005 runtime binaries (one for VC++2005 and other for VC++2005 SP1). Now on to the problem description

1. When I execute release version of my application on my machine and perform Print operation via Print Preview dialog box, the application crash. The stack trace shows a crash in the MFC library mfc80u.dll (8.0.50727.762). However when I execute my application on a fresh machine and performs the same application it works fine. My query is why is the application using MFC libraries from VC++2005 SP1. I have not installed VC++2005 SP1 on my machine and not sure which application installed them. I tried copying MFC and C Runtime libraries from VC++ 2005 redistributables package along with the required manifest files to the application binary folder but still the application is using MFC libraries from SP1 and crashes at the same location. If I perform print operation directly using Print Menu item, the application works properly under all conditions. So I doubt if there is a bug in my application or is the application crashing due to the fact it is not complied with VC++ 2005 SP1 but trying to use MFC libraries from SP1. Though I doubt that it is most probably the formal case but I am not sure.
How do I ensure that I compile my application using the MFC and C runtime libraries from the original version and not from SP1? How do I uninstall VC++ 2005 SP1 MFC and C runtime libraries?

2. The same application also has mail sending capability which works fine on all versions of Windows except on Windows 2003 Server Enterprise edition with SP1. On Win2k3 Enterprise edition the application hangs when using mail functionality and I have to kill it using Task Manager. I doubt if it is something to do with WinSock libraries on Win2K3 but again I am not sure if it is due to a bug in my application.

Kindly provide me some pointers which can help me in resolving these issues.

Thanks and Regards.
GeneralRe: MFC application crash possibily due to runtime version conflict of VC++ 2005 redistributable binaries Pin
KarstenK6-Dec-07 4:42
mveKarstenK6-Dec-07 4:42 
QuestionVisual C++ 2008 needs framework to run? Pin
Dr. Emmett Brown6-Dec-07 3:55
Dr. Emmett Brown6-Dec-07 3:55 
AnswerRe: Visual C++ 2008 needs framework to run? Pin
toxcct6-Dec-07 4:27
toxcct6-Dec-07 4:27 
AnswerRe: Visual C++ 2008 needs framework to run? Pin
KarstenK6-Dec-07 4:43
mveKarstenK6-Dec-07 4:43 
GeneralRe: Visual C++ 2008 needs framework to run? Pin
Dr. Emmett Brown6-Dec-07 5:19
Dr. Emmett Brown6-Dec-07 5:19 
GeneralRe: Visual C++ 2008 needs framework to run? Pin
led mike6-Dec-07 5:58
led mike6-Dec-07 5:58 
AnswerRe: Visual C++ 2008 needs framework to run? Pin
George L. Jackson6-Dec-07 7:11
George L. Jackson6-Dec-07 7:11 
GeneralRe: Visual C++ 2008 needs framework to run? Pin
Dr. Emmett Brown6-Dec-07 8:47
Dr. Emmett Brown6-Dec-07 8:47 
GeneralThe 2D Graph Component With Zoom Capability - SmartGraph Build Errors Pin
Andy2026-Dec-07 3:48
Andy2026-Dec-07 3:48 
GeneralRe: The 2D Graph Component With Zoom Capability - SmartGraph Build Errors Pin
CPallini6-Dec-07 4:35
mveCPallini6-Dec-07 4:35 
GeneralI'm a newbee on this site... Pin
Allen C.6-Dec-07 3:38
Allen C.6-Dec-07 3:38 
GeneralRe: I'm a newbee on this site... Pin
Matthew Faithfull6-Dec-07 3:44
Matthew Faithfull6-Dec-07 3:44 
GeneralRe: I'm a newbee on this site... Pin
toxcct6-Dec-07 3:45
toxcct6-Dec-07 3:45 
GeneralRe: I'm a newbee on this site... Pin
Hamid_RT6-Dec-07 3:58
Hamid_RT6-Dec-07 3:58 
Generalhttps problem Pin
Sundararajan6-Dec-07 3:16
Sundararajan6-Dec-07 3:16 
AnswerDelete Elements in arrays Pin
KARFER6-Dec-07 3:09
KARFER6-Dec-07 3:09 
GeneralRe: Delete Elements in arrays Pin
Cedric Moonen6-Dec-07 3:14
Cedric Moonen6-Dec-07 3:14 

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.