Click here to Skip to main content
15,902,863 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a perplexing access violation... I just wanna be tidy! ;-) Pin
Taka Muraoka7-Sep-03 8:54
Taka Muraoka7-Sep-03 8:54 
GeneralRe: a perplexing access violation... I just wanna be tidy! ;-) Pin
ENewton7-Sep-03 9:39
ENewton7-Sep-03 9:39 
GeneralRe: a perplexing access violation... I just wanna be tidy! ;-) Pin
Taka Muraoka7-Sep-03 9:41
Taka Muraoka7-Sep-03 9:41 
GeneralRe: a perplexing access violation... I just wanna be tidy! ;-) Pin
ENewton7-Sep-03 10:05
ENewton7-Sep-03 10:05 
GeneralRe: a perplexing access violation... I just wanna be tidy! ;-) Pin
Ted Ferenc7-Sep-03 12:26
Ted Ferenc7-Sep-03 12:26 
GeneralRe: a perplexing access violation... I just wanna be tidy! ;-) Pin
Gary R. Wheeler7-Sep-03 12:30
Gary R. Wheeler7-Sep-03 12:30 
GeneralConverting a MFC CView app to an ActiveX control Pin
AJ1237-Sep-03 7:29
AJ1237-Sep-03 7:29 
GeneralRe: Converting a MFC CView app to an ActiveX control Pin
igor19607-Sep-03 10:34
igor19607-Sep-03 10:34 
It may require some work. However, all this is implementable and straight forward: unless you are currently using an interface/callbacks from your View, that may not be or difficult to convert to Automation.

It's very important to start conversion with as minimum changes to your CView class. Therefore, i would recommend hosting your CView directly as a child of an ActiveX Control window (maybe even together with CFrameWnd).

I can't give you some published directions on that conversion, because I just don't know of them. However, I've done such several times.

If implemented properly, I don't think you will see any major performance hit due to ActiveX inproc COM calls.

As to could it possibly be a false economy: sure it could -- depends on your application, it's customer base, future of MFC/CLR.

I would say: if you have already implemented MFC portion: conversion to ActiveX is much simplier then writing from scratch either as ActiveX or WinForm.

Regards

"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
GeneralDomains and Workgroups List Pin
Frank Deo7-Sep-03 7:20
Frank Deo7-Sep-03 7:20 
GeneralRe: Domains and Workgroups List Pin
Frank Deo7-Sep-03 9:56
Frank Deo7-Sep-03 9:56 
GeneralReferencing "internal" resources in MFC Pin
Antti Keskinen7-Sep-03 5:28
Antti Keskinen7-Sep-03 5:28 
GeneralRe: Referencing "internal" resources in MFC Pin
Michael Dunn7-Sep-03 8:17
sitebuilderMichael Dunn7-Sep-03 8:17 
GeneralRe: Referencing "internal" resources in MFC Pin
PJ Arends7-Sep-03 8:21
professionalPJ Arends7-Sep-03 8:21 
GeneralRe: Referencing "internal" resources in MFC Pin
Antti Keskinen7-Sep-03 10:45
Antti Keskinen7-Sep-03 10:45 
GeneralRe: Referencing "internal" resources in MFC Pin
Michael Dunn7-Sep-03 13:07
sitebuilderMichael Dunn7-Sep-03 13:07 
GeneralRe: Referencing "internal" resources in MFC Pin
Antti Keskinen7-Sep-03 18:12
Antti Keskinen7-Sep-03 18:12 
Generalnon modal Dialog in Background Pin
DarkMarine7-Sep-03 5:11
DarkMarine7-Sep-03 5:11 
GeneralRe: non modal Dialog in Background Pin
valikac7-Sep-03 5:14
valikac7-Sep-03 5:14 
GeneralRe: non modal Dialog in Background Pin
Nish Nishant7-Sep-03 18:18
sitebuilderNish Nishant7-Sep-03 18:18 
GeneralRe: non modal Dialog in Background Pin
DarkMarine7-Sep-03 21:54
DarkMarine7-Sep-03 21:54 
GeneralGet router stats Pin
pma7-Sep-03 3:51
pma7-Sep-03 3:51 
GeneralRe: Get router stats Pin
geo_m7-Sep-03 6:01
geo_m7-Sep-03 6:01 
GeneralModeless Dialog box Pin
Ph@ntom6-Sep-03 23:40
Ph@ntom6-Sep-03 23:40 
GeneralRe: Modeless Dialog box Pin
valikac7-Sep-03 5:16
valikac7-Sep-03 5:16 
GeneralRe: Modeless Dialog box Pin
Ph@ntom7-Sep-03 7:44
Ph@ntom7-Sep-03 7: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.