Click here to Skip to main content
15,912,897 members
Home / Discussions / COM
   

COM

 
GeneralCOM and ISAPI Pin
Eytan Heidingsfeld27-Jul-00 1:39
sussEytan Heidingsfeld27-Jul-00 1:39 
GeneralRe: COM and ISAPI Pin
ekarlsso6-Aug-00 3:04
ekarlsso6-Aug-00 3:04 
GeneralCDialog in ATL COM DLL Server Pin
Rajendra R26-Jul-00 21:23
sussRajendra R26-Jul-00 21:23 
GeneralRe: CDialog in ATL COM DLL Server Pin
czieler27-Jul-00 3:24
czieler27-Jul-00 3:24 
GeneralRegister a DLL server Pin
Tony Li21-Jul-00 11:00
Tony Li21-Jul-00 11:00 
GeneralRe: Register a DLL server Pin
Alex Gorev24-Jul-00 11:27
Alex Gorev24-Jul-00 11:27 
GeneralRe: Register a DLL server Pin
Tony Li25-Jul-00 4:17
Tony Li25-Jul-00 4:17 
QuestionHow do I return an array of objects in C++ to my ASP page. Pin
notjeff19-Jul-00 20:08
notjeff19-Jul-00 20:08 
I know how to return an array of variants, such as if I wanted to return an array of integers.

What I would like to do is along the lines of returning an array of C++ objects.

Here is what I'd like to do:

ASP Pseudo Code:
<%
'First, get a connection to my catalog component.
Set objCatalog = Server.CreateObject("my.Catalog.1")

'Now ask my catalog to find me all itmes that match
'the text I send and return them to me.
Set objItems = objCatalog.Find("Books about ASP")

'For each item display its name, price, and then all
'of its pictures.
For i = 0 to objItems.Count
response.write objItems(i).name
response.write objItems(i).price

' Now each book will have 0-20 picutres
' I'll need to have an array of strings
' with the URL to each picture
SomeFunctionToGetAndOutHTMLtoShowPictures(objItems(i).pictures)

Next
%>

So my question is how do I get my C++ component to return
an array of catalog item "objects." This data is not coming from a database else, I'd just use ADO. My COM component goes
out and grabs it dynamically and stores it in a linked list of
Catalog objects. Now I just need to know how to get these
darn things back to my ASP pages! Smile | :) I've searched high and low on Microsofts site and bought 3 books, but none of them cover
anything like this.

I'd appreciate any help, hints, scraps, anything at all to even
point me in the right direction. I'm going bonkers trying to figure this out.

Thanks

NJ
AnswerRe: How do I return an array of objects in C++ to my ASP page. Pin
Alex Gorev20-Jul-00 5:38
Alex Gorev20-Jul-00 5:38 
GeneralRe: How do I return an array of objects in C++ to my ASP page. Pin
notjeff25-Jul-00 22:11
notjeff25-Jul-00 22:11 
QuestionIE 5.5: QueryInterface(IPersistStreamInit) fails on frames?!? Pin
Mike Morearty19-Jul-00 12:33
Mike Morearty19-Jul-00 12:33 
GeneralFireing events from a Thread... Pin
Daniel Fiske14-Jul-00 2:21
Daniel Fiske14-Jul-00 2:21 
GeneralRe: Fireing events from a Thread... Pin
Alex Gorev14-Jul-00 3:59
Alex Gorev14-Jul-00 3:59 
GeneralHandle of edit box in IE COM Pin
Ryan Park13-Jul-00 23:45
Ryan Park13-Jul-00 23:45 
Generalfunction to view error.log file Pin
BJ13-Jul-00 23:14
BJ13-Jul-00 23:14 
QuestionHow to open error.log file Pin
John13-Jul-00 2:41
John13-Jul-00 2:41 
GeneralReading an existing Excel File from C++/COM.. Pin
K M Bansal12-Jul-00 4:17
sussK M Bansal12-Jul-00 4:17 
GeneralObject to save text or number into file Pin
BJ12-Jul-00 2:06
BJ12-Jul-00 2:06 
GeneralRe: Object to save text or number into file Pin
Alex Gorev12-Jul-00 4:21
Alex Gorev12-Jul-00 4:21 
GeneralRe: Object to save text or number into file Pin
BJ12-Jul-00 5:44
BJ12-Jul-00 5:44 
GeneralName Space Extension Pin
rod7-Jul-00 8:14
rod7-Jul-00 8:14 
GeneralCalling a COM component from ASP Pin
pba_7-Jul-00 7:02
pba_7-Jul-00 7:02 
GeneralRe: Calling a COM component from ASP Pin
Alex Gorev7-Jul-00 8:42
Alex Gorev7-Jul-00 8:42 
QuestionHow to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo6-Jul-00 2:11
leo6-Jul-00 2:11 
AnswerRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo10-Jul-00 4:37
leo10-Jul-00 4:37 

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.