Pointer to class or object
From: Krish (krish_jasmin_at_yahoo.ca)
Date: 09/30/04
- Next message: JKop: "Re: fstream ?"
- Previous message: Michael Mair: "Re: #include optimization"
- Next in thread: Victor Bazarov: "Re: Pointer to class or object"
- Reply: Victor Bazarov: "Re: Pointer to class or object"
- Reply: John Harrison: "Re: Pointer to class or object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Sep 2004 05:06:14 -0700
Hi,
I have a question, if I have a global function that pointed to class
or object, then how do I pass arguments to that function.
I have CService *MyService; in my cpp
and in my header, i have
static DWORD CALLBACK function(CService*, DWORD, LPVOID);
DWORD func(CService*, DWORD);
then how do i pass argument for that pointer.
CNewServiceApp::function(-------, DWORD R, LPVOID arg);
what should I put in ----- above.
Please someone help me
Thanks,
Krish
- Next message: JKop: "Re: fstream ?"
- Previous message: Michael Mair: "Re: #include optimization"
- Next in thread: Victor Bazarov: "Re: Pointer to class or object"
- Reply: Victor Bazarov: "Re: Pointer to class or object"
- Reply: John Harrison: "Re: Pointer to class or object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|