Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ActiveX control as parent Pin
Alton Williams16-May-06 1:53
Alton Williams16-May-06 1:53 
AnswerRe: ActiveX control as parent Pin
Roger Stoltz16-May-06 3:07
Roger Stoltz16-May-06 3:07 
Alton Williams wrote:
When I build and register the control.


I interpret this as you get an assertion or runtime error when you try to register the component after a successful build. Correct?
What happens if you try to register the component outside DevStudio? If it crashes even then I suggest you try to debug the component by selecting RegSvr32.exe as the executable for debug session, provide the complete path to your debug-built component as argument and "run" your component (F5). Put a breakpoint inside DllRegisterServer() and step through the registration call chain.
If you don't get any clues from this exercise; post again and describe what happens, what error messages you're getting and where.


Alton Williams wrote:
When I place it on another form (in VB) or Dialogue box (in VC++) for testing. it seems to bring down VB or VC++. If I'm lucky if my final app comes down or doesn't respond at run-time.


If the registration isn't successful you may get various errors when you try to use the component, e.g. inserting it to a client or running the final app.
In other words: let's fix the registration first if it doesn't work.

--
Roger


It's supposed to be hard, otherwise anybody could do it!

Regarding CodeProject: "resistance is pointless; you will be assimilated"

GeneralRe: ActiveX control as parent Pin
Alton Williams5-Jun-06 2:16
Alton Williams5-Jun-06 2:16 
AnswerRe: ActiveX control as parent Pin
Roger Stoltz7-Jun-06 10:49
Roger Stoltz7-Jun-06 10:49 
QuestionGDI and Regions Pin
HakunaMatada15-May-06 4:47
HakunaMatada15-May-06 4:47 
Questionto locate the registry keys for Local Security Policies Pin
narayanagvs15-May-06 4:46
narayanagvs15-May-06 4:46 
Questionerror in debugging directshow filter in loading dll function Pin
yongwpi15-May-06 4:46
yongwpi15-May-06 4:46 
AnswerRe: error in debugging directshow filter in loading dll function Pin
Cedric Moonen15-May-06 4:55
Cedric Moonen15-May-06 4:55 
GeneralRe: error in debugging directshow filter in loading dll function Pin
yongwpi15-May-06 6:13
yongwpi15-May-06 6:13 
AnswerRe: error in debugging directshow filter in loading dll function Pin
Stephen Hewitt15-May-06 18:29
Stephen Hewitt15-May-06 18:29 
GeneralRe: error in debugging directshow filter in loading dll function Pin
yongwpi16-May-06 6:30
yongwpi16-May-06 6:30 
QuestionHide folder Pin
nat2kus15-May-06 4:22
nat2kus15-May-06 4:22 
AnswerRe: Hide folder Pin
David Crow15-May-06 5:55
David Crow15-May-06 5:55 
Questioncheck status CD Pin
photomatic15-May-06 4:06
photomatic15-May-06 4:06 
QuestionRe: check status CD Pin
David Crow15-May-06 6:00
David Crow15-May-06 6:00 
AnswerRe: check status CD Pin
photomatic15-May-06 22:32
photomatic15-May-06 22:32 
QuestionDos printing from Win Xp Pin
mikobi15-May-06 3:15
mikobi15-May-06 3:15 
AnswerRe: Dos printing from Win Xp Pin
basementman15-May-06 5:08
basementman15-May-06 5:08 
QuestionUpdate Views Pin
masnu15-May-06 3:06
masnu15-May-06 3:06 
AnswerRe: Update Views Pin
Cedric Moonen15-May-06 3:09
Cedric Moonen15-May-06 3:09 
GeneralRe: Update Views Pin
masnu15-May-06 3:48
masnu15-May-06 3:48 
Questionneeded dll's on other computers Pin
Grimes15-May-06 2:45
Grimes15-May-06 2:45 
AnswerRe: needed dll's on other computers Pin
Cedric Moonen15-May-06 3:00
Cedric Moonen15-May-06 3:00 
AnswerRe: needed dll's on other computers Pin
Eytukan15-May-06 3:25
Eytukan15-May-06 3:25 
AnswerRe: needed dll's on other computers Pin
-Dy15-May-06 5:15
-Dy15-May-06 5:15 

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.