Click here to Skip to main content
15,847,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What to replace macro in C/C++? Pin
John R. Shaw21-Nov-04 6:46
John R. Shaw21-Nov-04 6:46 
GeneralRe: What to replace macro in C/C++? Pin
Link260021-Nov-04 15:04
Link260021-Nov-04 15:04 
GeneralRe: What to replace macro in C/C++? Pin
Ryan Binns21-Nov-04 19:04
Ryan Binns21-Nov-04 19:04 
GeneralRe: What to replace macro in C/C++? Pin
Don Clugston21-Nov-04 20:11
Don Clugston21-Nov-04 20:11 
GeneralPostMessage Doesn't work with ALT Pin
Hany Grees Ayoub21-Nov-04 3:22
Hany Grees Ayoub21-Nov-04 3:22 
GeneralRe: PostMessage Doesn't work with ALT Pin
ThatsAlok21-Nov-04 18:50
ThatsAlok21-Nov-04 18:50 
GeneralRe: PostMessage Doesn't work with ALT Pin
22491721-Nov-04 23:14
22491721-Nov-04 23:14 
GeneralI got A Queistion about COM+ Pin
Rassul Yunussov21-Nov-04 1:46
Rassul Yunussov21-Nov-04 1:46 
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.


GeneralSlider Control Pin
shijuck21-Nov-04 1:11
shijuck21-Nov-04 1:11 
Generalnew to dll files Pin
Swatgod20-Nov-04 22:11
Swatgod20-Nov-04 22:11 
GeneralRe: new to dll files Pin
Mike Danberg24-Nov-04 20:10
Mike Danberg24-Nov-04 20:10 
GeneralPrint Dialog appears sometimes Pin
Jo Fredrickson20-Nov-04 20:20
Jo Fredrickson20-Nov-04 20:20 
GeneralRe: Print Dialog appears sometimes Pin
Neville Franks20-Nov-04 23:55
Neville Franks20-Nov-04 23:55 
GeneralRe: Print Dialog appears sometimes Pin
Jörgen Sigvardsson21-Nov-04 3:43
Jörgen Sigvardsson21-Nov-04 3:43 
GeneralRe: Print Dialog appears sometimes Pin
Jo Fredrickson22-Nov-04 4:08
Jo Fredrickson22-Nov-04 4:08 
GeneralRe: WM_CTLCOLORBTN Pin
Michael Dunn20-Nov-04 20:16
sitebuilderMichael Dunn20-Nov-04 20:16 
GeneralRe: WM_CTLCOLORBTN Pin
Neville Franks20-Nov-04 23:58
Neville Franks20-Nov-04 23:58 
GeneralRe: WM_CTLCOLORBTN Pin
John R. Shaw21-Nov-04 7:10
John R. Shaw21-Nov-04 7:10 
GeneralRe: WM_CTLCOLORBTN Pin
Timothy Grabrian21-Nov-04 19:40
professionalTimothy Grabrian21-Nov-04 19:40 
GeneralRe: WM_CTLCOLORBTN Pin
John R. Shaw22-Nov-04 13:45
John R. Shaw22-Nov-04 13:45 
GeneralWM_CTLCOLORBTN Pin
Timothy Grabrian20-Nov-04 18:57
professionalTimothy Grabrian20-Nov-04 18:57 
GeneralSorting a linked list of type class Pin
Maxforce20-Nov-04 18:25
Maxforce20-Nov-04 18:25 
GeneralRe: Sorting a linked list of type class Pin
Jack Puppy20-Nov-04 20:08
Jack Puppy20-Nov-04 20:08 
GeneralRe: Sorting a linked list of type class Pin
Maxforce20-Nov-04 20:47
Maxforce20-Nov-04 20:47 
GeneralCustom CImageList VS manifest files Pin
alex.barylski20-Nov-04 15:16
alex.barylski20-Nov-04 15:16 

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.