Click here to Skip to main content
15,898,035 members
Home / Discussions / COM
   

COM

 
GeneralCreating a POP3Proxy like Norton AntiVir Email scanning (pls help) Pin
mmathers25-Nov-04 19:36
mmathers25-Nov-04 19:36 
Generalexporting datagrid details into word Pin
sujithapril25-Nov-04 12:49
sujithapril25-Nov-04 12:49 
Generalinserting problem with OLEDB Pin
seans00225-Nov-04 4:55
seans00225-Nov-04 4:55 
GeneralRe: inserting problem with OLEDB Pin
Steve S29-Nov-04 22:50
Steve S29-Nov-04 22:50 
GeneralRe: inserting problem with OLEDB Pin
seans00230-Nov-04 3:30
seans00230-Nov-04 3:30 
QuestionHow to use variable types defined in a COM in Matlab Pin
tpndtbk24-Nov-04 1:12
tpndtbk24-Nov-04 1:12 
Generalabout "access is denied" at DCOM Pin
pig123423-Nov-04 21:01
pig123423-Nov-04 21:01 
GeneralI got A Queistion about COM+ Pin
Rassul Yunussov21-Nov-04 0:44
Rassul Yunussov21-Nov-04 0:44 
I made a COM (dll) server, i hope it will work in the local

network as a DCOMSmile | :) , because i haven't tried it yet. So it

is three tier Database Architecture, the client programm

sends a query to the server programm ant it sends a CSV

formated data.
The first question - i tried to use ADO (_Recordset) - as

return parameter, but had error in the IDL file, i didn't

know how to avoid it, and i changed it to IUnknow, but in

the client programm i couldn't dispatch it: i did this:
In The Client:
_Recordset* pRecordset = pDatabase->GetMaterials();
ANd it ruturns 0 = WHY???


In The Server:
GetMaterials(IUnknown* pRecordset)
{
_RecordsetPtr p(__uuidof(_Recorset))
//Some Query Procedure
//And in the finish


_RecordsetPtr->QueryInterface(__uuidof(_Recordset),(void**)

&pRecordset);
return S_OK;
}

And Another Question.
Server Should be able to change the address of Database.
For example now = the addres is C:\econ.mdb;
but if the database in other place?
I tried to use GetModulFileName() - but it returned -

C:\Windows\System32\Svchost.dll.
The Main question is - how to find out where my dll

placed...

Thanks.


QuestionHow do I return a SAFEARRAY from an ATL object? Pin
Crappity Crap19-Nov-04 13:15
Crappity Crap19-Nov-04 13:15 
AnswerRe: How do I return a SAFEARRAY from an ATL object? Pin
Steve S21-Nov-04 22:31
Steve S21-Nov-04 22:31 
AnswerRe: How do I return a SAFEARRAY from an ATL object? Pin
Anonymous6-Dec-04 3:54
Anonymous6-Dec-04 3:54 
QuestionIZoneIdentifier interface? Pin
dandy7218-Nov-04 11:11
dandy7218-Nov-04 11:11 
AnswerRe: IZoneIdentifier interface? Pin
geo_m19-Nov-04 3:20
geo_m19-Nov-04 3:20 
GeneralRe: IZoneIdentifier interface? Pin
dandy7219-Nov-04 4:59
dandy7219-Nov-04 4:59 
GeneralRe: IZoneIdentifier interface? Pin
dandy7219-Nov-04 7:33
dandy7219-Nov-04 7:33 
GeneralRe: IZoneIdentifier interface? Pin
geo_m23-Nov-04 0:47
geo_m23-Nov-04 0:47 
GeneralRe: IZoneIdentifier interface? Pin
dandy7223-Nov-04 7:20
dandy7223-Nov-04 7:20 
GeneralRe: IZoneIdentifier interface? Pin
geo_m23-Nov-04 22:52
geo_m23-Nov-04 22:52 
GeneralRe: IZoneIdentifier interface? Pin
geo_m24-Nov-04 1:42
geo_m24-Nov-04 1:42 
GeneralRe: IZoneIdentifier interface? Pin
dandy7225-Nov-04 5:11
dandy7225-Nov-04 5:11 
GeneralRe: IZoneIdentifier interface? Pin
geo_m26-Nov-04 3:11
geo_m26-Nov-04 3:11 
GeneralRe: IZoneIdentifier interface? Pin
dandy7226-Nov-04 5:36
dandy7226-Nov-04 5:36 
QuestionHow to return a vector or an array? Pin
tpndtbk18-Nov-04 2:59
tpndtbk18-Nov-04 2:59 
AnswerRe: How to return a vector or an array? Pin
User 21559718-Nov-04 18:46
User 21559718-Nov-04 18:46 
GeneralRe: How to return a vector or an array? Pin
Steve S18-Nov-04 23:23
Steve S18-Nov-04 23:23 

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.