Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionImplementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_10-Oct-10 16:48
Vaclav_10-Oct-10 16:48 
AnswerRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Tim Craig10-Oct-10 17:23
Tim Craig10-Oct-10 17:23 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_10-Oct-10 17:54
Vaclav_10-Oct-10 17:54 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Tim Craig10-Oct-10 22:06
Tim Craig10-Oct-10 22:06 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem [modified] Pin
Vaclav_11-Oct-10 2:57
Vaclav_11-Oct-10 2:57 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Tim Craig11-Oct-10 9:42
Tim Craig11-Oct-10 9:42 
GeneralRe: Implementing CALLBACK in MFC getting error C2440: 'type cast' conversion problem Pin
Vaclav_11-Oct-10 12:45
Vaclav_11-Oct-10 12:45 
QuestionNot able to register a C++ service Pin
Aseem Sharma10-Oct-10 16:39
Aseem Sharma10-Oct-10 16:39 
Hi all,

I have made a .net application which usees a COM component hosted by a C++ service. The service is a simple C++ service developed using ATL (and not using MFC).

My development environment is Windows XP. Now everything works fine on my dev machine. But when I tried to install my service on a fresh VISTA machine, I could not do so. I got below message:

Activation context generation failed for "C:\Windows\System32\PSPW.exe". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.


But when I tried to install my service on VISTA machine which already have Visual Studio 2008, service got installed without any problem.

It means before installing my service on a fresh VISTA (or even fresh Windows 7), I also need to install/copy some other dlls which comes with VS 2008. Can anybody help me in knowing how should I go about it. Or might be my assumption that I need to install/copy some other VS dlls is wrong.

I could not resolve this problem. So seeking for help.

Regards
Aseem
modified on Sunday, October 10, 2010 11:36 PM

AnswerRe: Not able to register a C++ service Pin
Aescleal10-Oct-10 22:34
Aescleal10-Oct-10 22:34 
GeneralRe: Not able to register a C++ service Pin
Aseem Sharma11-Oct-10 17:43
Aseem Sharma11-Oct-10 17:43 
QuestionDetection if computer is a standalone system or is part of a local network system Pin
sdancer759-Oct-10 23:01
sdancer759-Oct-10 23:01 
AnswerRe: Detection if computer is a standalone system or is part of a local network system Pin
Moak14-Oct-10 9:23
Moak14-Oct-10 9:23 
GeneralRe: Detection if computer is a standalone system or is part of a local network system Pin
sdancer7514-Oct-10 23:39
sdancer7514-Oct-10 23:39 
GeneralRe: Detection if computer is a standalone system or is part of a local network system Pin
Moak17-Oct-10 10:24
Moak17-Oct-10 10:24 
GeneralRe: Detection if computer is a standalone system or is part of a local network system Pin
sdancer7518-Oct-10 6:35
sdancer7518-Oct-10 6:35 
GeneralRe: Detection if computer is a standalone system or is part of a local network system Pin
Moak18-Oct-10 10:41
Moak18-Oct-10 10:41 
QuestionConvert COleDateTime to SQL datetime column type Pin
Md Saleem Navalur9-Oct-10 4:10
Md Saleem Navalur9-Oct-10 4:10 
AnswerRe: Convert COleDateTime to SQL datetime column type Pin
Md Saleem Navalur9-Oct-10 6:55
Md Saleem Navalur9-Oct-10 6:55 
QuestionCRecordset count not increase even after Update(). Pin
Le@rner9-Oct-10 2:39
Le@rner9-Oct-10 2:39 
AnswerRe: CRecordset count not increase even after Update(). Pin
David Crow9-Oct-10 15:53
David Crow9-Oct-10 15:53 
GeneralRe: CRecordset count not increase even after Update(). Pin
Le@rner10-Oct-10 18:12
Le@rner10-Oct-10 18:12 
QuestionRe: CRecordset count not increase even after Update(). Pin
David Crow11-Oct-10 1:53
David Crow11-Oct-10 1:53 
QuestionHelp me to implement it. Pin
Le@rner8-Oct-10 23:56
Le@rner8-Oct-10 23:56 
AnswerRe: Help me to implement it. Pin
Richard MacCutchan9-Oct-10 0:39
mveRichard MacCutchan9-Oct-10 0:39 
GeneralRe: Help me to implement it. Pin
Code-o-mat10-Oct-10 21:02
Code-o-mat10-Oct-10 21:02 

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.