Click here to Skip to main content
15,911,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC42D.dll missing error Pin
neha.agarwal2716-Nov-07 18:39
neha.agarwal2716-Nov-07 18:39 
AnswerRe: MFC42D.dll missing error Pin
followait16-Nov-07 19:48
followait16-Nov-07 19:48 
AnswerRe: MFC42D.dll missing error Pin
Hamid_RT16-Nov-07 21:06
Hamid_RT16-Nov-07 21:06 
AnswerRe: MFC42D.dll missing error Pin
ThatsAlok17-Nov-07 0:10
ThatsAlok17-Nov-07 0:10 
AnswerRe: MFC42D.dll missing error Pin
Paresh Chitte18-Nov-07 18:32
Paresh Chitte18-Nov-07 18:32 
QuestionRedistributing Files(.ocx) Problem Pin
ashishbhatt16-Nov-07 18:25
ashishbhatt16-Nov-07 18:25 
AnswerRe: Redistributing Files(.ocx) Problem Pin
ashishbhatt16-Nov-07 21:55
ashishbhatt16-Nov-07 21:55 
GeneralRe: Redistributing Files(.ocx) Problem Pin
bob1697217-Nov-07 4:45
bob1697217-Nov-07 4:45 
Make sure your .ocx is added to the installation project to be installaed to some location.

In the Visual Studio Installer, in the "Project Exporer" you should have an item called "Associations". Double click on this to open the view.

I'm assuming the .ocx is an ActiveX control which would mean you want to add a COM Object. Use the ActiveX controls CLSID for the identifier. Make sure it is selected and go over the "Properties" window. Select "Component", click the "..." button and hit the "the following component" radio button, and double click on your .ocx file in the list.

The other options in the Properties window will default to the settings needed for InProc Servers (if I remember correctly) so if your component is typical, you will likely use the defaults but be aware of these settings if you find it's still not registering correctly.

One word of caution, the MSI will register and deregister the file the CLSID path refers to for you. During development, when you manually register new versions, always keep in mind to check OLEView to ensure the last registered ProgID is pointing to the CLSID component that you would expect. This is more troublesome in a VB environment since you have to explicitly set "binary compatibility" to reuse the same CLSID. Just be aware to always check OLEView if something is not right on your development box. I find I still need to use "regsvr32.exe" on a regular basis without regards to my deployment .msi during development.

Hope that helps
QuestionDeployment of MFC application on to Linux machine? Pin
H4u3216-Nov-07 18:06
H4u3216-Nov-07 18:06 
AnswerRe: Deployment of MFC application on to Linux machine? Pin
ThatsAlok17-Nov-07 0:11
ThatsAlok17-Nov-07 0:11 
AnswerRe: Deployment of MFC application on to Linux machine? Pin
JudyL_MD17-Nov-07 8:02
JudyL_MD17-Nov-07 8:02 
AnswerRe: Deployment of MFC application on to Linux machine? Pin
mav@octaval18-Nov-07 11:50
mav@octaval18-Nov-07 11:50 
QuestionZLib Compatibility problem in VISTA Pin
neha.agarwal2716-Nov-07 17:47
neha.agarwal2716-Nov-07 17:47 
QuestionRe: ZLib Compatibility problem in VISTA Pin
bob1697217-Nov-07 5:02
bob1697217-Nov-07 5:02 
AnswerRe: ZLib Compatibility problem in VISTA Pin
Moak18-Nov-07 12:28
Moak18-Nov-07 12:28 
QuestionHow to get data from CString object Pin
Max++16-Nov-07 17:41
Max++16-Nov-07 17:41 
AnswerRe: How to get data from CString object Pin
followait16-Nov-07 19:44
followait16-Nov-07 19:44 
AnswerRe: How to get data from CString object Pin
chandu00416-Nov-07 21:04
chandu00416-Nov-07 21:04 
AnswerRe: How to get data from CString object Pin
ThatsAlok17-Nov-07 0:14
ThatsAlok17-Nov-07 0:14 
QuestionHow to update the screen continuously when I keep the key pressing [modified] Pin
followait16-Nov-07 17:41
followait16-Nov-07 17:41 
QuestionRe: How to update the screen continuously when I keep the key pressing Pin
Hamid_RT16-Nov-07 21:04
Hamid_RT16-Nov-07 21:04 
AnswerRe: How to update the screen continuously when I keep the key pressing [modified] Pin
followait17-Nov-07 0:52
followait17-Nov-07 0:52 
GeneralRe: How to update the screen continuously when I keep the key pressing Pin
Nelek18-Nov-07 22:09
protectorNelek18-Nov-07 22:09 
GeneralRe: How to update the screen continuously when I keep the key pressing Pin
followait19-Nov-07 3:40
followait19-Nov-07 3:40 
GeneralRe: How to update the screen continuously when I keep the key pressing Pin
Nelek19-Nov-07 21:44
protectorNelek19-Nov-07 21:44 

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.