Click here to Skip to main content
15,916,019 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to get http response header from IE WebBrowser Control ? Pin
realroot17-Jan-06 20:39
realroot17-Jan-06 20:39 
QuestionMatlab ActiveX Variant Datatype Pin
Tolpan16-Jan-06 3:22
Tolpan16-Jan-06 3:22 
QuestionPlease help : Speech API COM Component .Net Pin
naresh_pandey1316-Jan-06 1:23
naresh_pandey1316-Jan-06 1:23 
QuestionI want to learn COM ? Pin
vikas amin16-Jan-06 0:55
vikas amin16-Jan-06 0:55 
AnswerRe: I want to learn COM ? Pin
Gizzo16-Jan-06 4:54
Gizzo16-Jan-06 4:54 
GeneralRe: I want to learn COM ? Pin
vikas amin17-Jan-06 0:51
vikas amin17-Jan-06 0:51 
QuestionMFC DLL with automation in VC++ .NET 2003 Pin
Mila02510-Jan-06 19:53
Mila02510-Jan-06 19:53 
QuestionATL-Objects can't have multiple instances Pin
hvse10-Jan-06 0:02
hvse10-Jan-06 0:02 
Hi. I have a problem, which I was trying to solve since a lot of hours and reading docs in the web.
The situation is:

I created an inproc-dll using the ATL-COM Wizard in VC++6. I added an ATL-class using "new atl-object". I added one property for testing purposes. I created the dll and tested it in VB6. It worked. I could create an object in VB6, set the property and read the property.
But:
If I create two objects in VB6 (using SET ... = NEW ...) and set the property in one of them, the property has the same value in the other object. So internally there is only one object with two references.
Or:
If I create an object in VB6 (using SET ... = NEW ... again), set the value and set the object to NOTHING, and then create it by new, the property still has the value.

It seems, that there is only one object in the dll, and it will not be terminated, it lives on and keeps all values ...

(As a workaround I created the same project in the same way, only as an ActiveX-EXE, set the "hRes = _Module.RegisterClassObjects(CLSCTX_LOCAL_SERVER,
REGCLS_SINGLEUSE)", and now I can have multiple object with separated properites and lifes and so on. But each object creates a new task in the system, and it is not an inproc-solution.

My Question is:

How can I easily change my inproc-solution, so that I can have multiple instances with separated properties and InitInstance and Terminate and so on?

Or does anyone have any sample for me?

Lots of thanks in advance ...

Heiko from GPSoverIP
AnswerRe: ATL-Objects can't have multiple instances Pin
Stephen Hewitt10-Jan-06 12:03
Stephen Hewitt10-Jan-06 12:03 
QuestionDrag and Drop Pin
Anil_vvs9-Jan-06 23:36
Anil_vvs9-Jan-06 23:36 
QuestionCOM Interdependency Pin
msumit8-Jan-06 16:46
msumit8-Jan-06 16:46 
AnswerRe: COM Interdependency Pin
Stephen Hewitt10-Jan-06 12:05
Stephen Hewitt10-Jan-06 12:05 
GeneralRe: COM Interdependency Pin
msumit12-Jan-06 7:46
msumit12-Jan-06 7:46 
AnswerRe: COM Interdependency Pin
Roger Stoltz12-Jan-06 22:05
Roger Stoltz12-Jan-06 22:05 
AnswerRe: COM Interdependency Pin
Skond20-Jan-06 5:38
Skond20-Jan-06 5:38 
Questionopeneing popwindow as in parent wind using AxWebBrowser Pin
Sufyan_shani6-Jan-06 19:31
Sufyan_shani6-Jan-06 19:31 
QuestionCalling COM DLL in Pocket PC Pin
Logan from Singapore5-Jan-06 0:51
Logan from Singapore5-Jan-06 0:51 
NewsAt Last! My DCOM Tutorial for VS.NET is Here! Pin
Brian C Hart30-Dec-05 22:30
professionalBrian C Hart30-Dec-05 22:30 
QuestionIWebBrowser2::SetUIHandler doesn't call back to get IDocHostUIHandler Pin
Bernie Pallek30-Dec-05 7:04
Bernie Pallek30-Dec-05 7:04 
AnswerRe: IWebBrowser2::SetUIHandler doesn't call back to get IDocHostUIHandler Pin
Bernie Pallek30-Dec-05 10:11
Bernie Pallek30-Dec-05 10:11 
QuestionAccess violation in COM object on exit from DLL using it Pin
Jens Winslow28-Dec-05 13:09
Jens Winslow28-Dec-05 13:09 
AnswerRe: Access violation in COM object on exit from DLL using it Pin
Gerald Schwab28-Dec-05 13:58
Gerald Schwab28-Dec-05 13:58 
GeneralRe: Access violation in COM object on exit from DLL using it Pin
Jens Winslow5-Jan-06 9:24
Jens Winslow5-Jan-06 9:24 
AnswerRe: Access violation in COM object on exit from DLL using it Pin
User 2155972-Jan-06 15:29
User 2155972-Jan-06 15:29 
GeneralRe: Access violation in COM object on exit from DLL using it Pin
Jens Winslow5-Jan-06 9:48
Jens Winslow5-Jan-06 9:48 

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.