| Return to Index | Read Prev Msg | Read Next Msg |

Slink-e / CDJ Discussion Archive #4

COM type question...

Posted By: Brooks Talley <brooks_talley@i...>
Date: 4/29/1999 12:06p.m.

...this isn't the right place to ask, I know. But I've also asked in some COM and ASP newsgroups, and I thought I'd throw it out here.

I'm working on a web interface to drive CDJ (sneak preview at http://vishnu.frnk.com but don't be surprised if it's down or broken while I'm working on it). But I'm having a terrible time getting responses back from the Slinkx unit.

ASP's can't, as far as I can tell, sink events fired by the cdjr device from the Slinkx control. That's the root of the problem.

My solution was to build a wrapper for Slinkx, which would simply pass through send requests, but handle the receive event and buffer all received values so the ASP could query what the last "playlist_size" report was.

Unfortunately, when my ActiveX dll (or OCX) tries to create an Slinkx object, it causes the ASP page to fail. ("ActiveX component can't create object")

I've also tried having the ASP page create the Slinkx control and then having the dll pull the object out of the Session object. No luck there, either. ("Type mismatch" with a wide variety of types tried)

I'm just about to do the really cheesy thing and write an NT service that creates an Slinkx, polls it once a second or so, and writes a bloody text file somewhere that the ASP will read. That's really cheesy.

I have tried the trick in http://support.microsoft.com/support/kb/articles/q184/6/82.asp
to allow ASP pages to create out of process components. I have no idea if that has any bearing on my problem, but I tried it. No luck.

If any COM type expert has any ideas, I'd love to hear them. I'm not much of a C++ programmer, but I can muddle my way through. Would I be better off there, using the session method, and forcing the type to Slinkx? It's a lot of work to go to just to try that.

Any comments, ideas, whatever appreciated.

-b

| Return to Index | Read Prev Msg | Read Next Msg |

Password:

Slink-e / CDJ Discussion Archive #4 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21.