Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralClose Application Pin
WIDI10-May-00 22:48
WIDI10-May-00 22:48 
GeneralRe: Close Application Pin
Andrei Zenkovitch11-May-00 4:38
Andrei Zenkovitch11-May-00 4:38 
QuestionNotification, if dialog gains the focus? Pin
Chris Vischer10-May-00 22:31
Chris Vischer10-May-00 22:31 
AnswerRe: Notification, if dialog gains the focus? Pin
Andrei Zenkovitch11-May-00 4:21
Andrei Zenkovitch11-May-00 4:21 
GeneralTab key not working on a property sheet Pin
Member 73252210-May-00 18:41
Member 73252210-May-00 18:41 
GeneralIRunningObjectTable::Register Pin
Member 73252210-May-00 18:36
Member 73252210-May-00 18:36 
GeneralRe: IRunningObjectTable::Register Pin
Alex Gorev11-May-00 4:20
Alex Gorev11-May-00 4:20 
GeneralRe: IRunningObjectTable::Register Pin
Member 73252211-May-00 15:22
Member 73252211-May-00 15:22 
Hello Alex,

I am not writing my own moniker class but i am using
monikers.

I need to access my component from another process. I
use the component to exchange data between an ActiveX
component and an application.

So i register it with ROT using an ItemMoniker created with the ClassId. And then i get an itf pointer to the same object from my application.

Initially i tried by registering the OCX itself with ROT and it worked fine. I could even invoke the methods.

But the problem was revoking it from the ROT. I aint in a position to decide when the use of OCX is over. So i decided to have another component between the ocx and appln.

I am new to this. So its trial and error. I found use of Monikers and ROT the simplest. Is there a better way to do it?

I have one more question. I finally managed to register the object with the ROT (i tried with the ROT method Register and well as RegisterActiveObject) but when i try to get
an itf pointer to it , in my application, it simply deletes the entry from ROT!!

I am unable to pinpoint where i am going wrong.

Any suggestions?

-Gita
GeneralRe: IRunningObjectTable::Register Pin
Alex Gorev12-May-00 6:58
Alex Gorev12-May-00 6:58 
GeneralRe: IRunningObjectTable::Register Pin
Member 73252214-May-00 14:49
Member 73252214-May-00 14:49 
GeneralRe: IRunningObjectTable::Register Pin
Alex Gorev16-May-00 4:18
Alex Gorev16-May-00 4:18 
QuestionSetWindowPos doesn't work? Pin
Member 1176625710-May-00 9:31
Member 1176625710-May-00 9:31 
GeneralATL and MFC simple data types Pin
Member 1038911810-May-00 6:08
Member 1038911810-May-00 6:08 
GeneralRe: ATL and MFC simple data types Pin
TBK10-May-00 6:45
TBK10-May-00 6:45 
GeneralRe: ATL and MFC simple data types Pin
Alex Gorev11-May-00 4:03
Alex Gorev11-May-00 4:03 
GeneralRe: Simulate IE Post File to Web server Pin
Alex Gorev10-May-00 4:47
Alex Gorev10-May-00 4:47 
GeneralRe: Simulate IE Post File to Web server Pin
zlyang10-May-00 16:50
zlyang10-May-00 16:50 
GeneralRe: Simulate IE Post File to Web server Pin
Alex Gorev11-May-00 3:49
Alex Gorev11-May-00 3:49 
GeneralSimulate IE Post File to Web server Pin
zlyang10-May-00 4:07
zlyang10-May-00 4:07 
QuestionProperty Sheet ; IShellPropSheetExt, IShellExtInit ? Pin
Cristi10-May-00 3:36
Cristi10-May-00 3:36 
AnswerRe: Property Sheet ; IShellPropSheetExt, IShellExtInit ? Pin
Erik Thompson16-May-00 6:48
sitebuilderErik Thompson16-May-00 6:48 
GeneralHelp!! How to change the ListBox and EditBox background & text color without using MFC!! Thanks.. Pin
Jason Hsu10-May-00 1:25
Jason Hsu10-May-00 1:25 
GeneralRe: Help!! How to change the ListBox and EditBox background & text color without using MFC!! Thanks.. Pin
Kurt10-May-00 1:35
Kurt10-May-00 1:35 
GeneralBand Pin
Member 23759-May-00 16:07
Member 23759-May-00 16:07 
GeneralRe: Band Pin
Alex Gorev10-May-00 4:19
Alex Gorev10-May-00 4:19 

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.