Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: API hooking... Pin
John M. Drescher19-Aug-03 8:47
John M. Drescher19-Aug-03 8:47 
AnswerRe: Third party file protection? Pin
Anonymous18-Aug-03 1:13
Anonymous18-Aug-03 1:13 
Generalproblems while #import "VBE6EXT.OLB" Pin
emmai17-Aug-03 3:15
emmai17-Aug-03 3:15 
GeneralATL problem Pin
novachen17-Aug-03 1:52
novachen17-Aug-03 1:52 
GeneralRe: ATL problem Pin
Jörgen Sigvardsson17-Aug-03 5:01
Jörgen Sigvardsson17-Aug-03 5:01 
GeneralRe: ATL problem Pin
novachen17-Aug-03 14:41
novachen17-Aug-03 14:41 
GeneralRe: ATL problem Pin
Jörgen Sigvardsson17-Aug-03 22:40
Jörgen Sigvardsson17-Aug-03 22:40 
GeneralRe: ATL problem Pin
peterchen17-Aug-03 6:58
peterchen17-Aug-03 6:58 
novachen wrote:
But i dont know how to turn it back( from interface to real class

Rule of thumb: You must not, because your apple might sit on a server in Siberia.

Long answer: Unless you know 100% that the class implementing IApple was created on the same machine, in the same process (a few registry entries could easily break that). One of the fundamentals of COM is that you can never assume anything about the Implementing class, only abotu the interfaces.

The bad thing is, it works most of the time, for inproc servers, so people try it.








"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS

sighist | Agile Programming | doxygen

GeneralRe: ATL problem Pin
novachen17-Aug-03 14:40
novachen17-Aug-03 14:40 
GeneralRe: ATL problem Pin
peterchen17-Aug-03 23:15
peterchen17-Aug-03 23:15 
GeneralProblems with inheritance Pin
petter_e16-Aug-03 22:14
petter_e16-Aug-03 22:14 
GeneralRe: Problems with inheritance Pin
Ryan Binns16-Aug-03 23:35
Ryan Binns16-Aug-03 23:35 
GeneralRe: Problems with inheritance Pin
Jörgen Sigvardsson17-Aug-03 5:03
Jörgen Sigvardsson17-Aug-03 5:03 
GeneralRe: Problems with inheritance Pin
Ryan Binns17-Aug-03 5:41
Ryan Binns17-Aug-03 5:41 
GeneralRe: Problems with inheritance Pin
petter_e17-Aug-03 6:22
petter_e17-Aug-03 6:22 
GeneralCDaoDatabase Open Jet Database Crashing Pin
John Clump16-Aug-03 18:49
John Clump16-Aug-03 18:49 
GeneralRe: CDaoDatabase Open Jet Database Crashing Pin
Terry O'Nolley17-Aug-03 17:48
Terry O'Nolley17-Aug-03 17:48 
GeneralWM_ERASEBKGND Pin
Hosam Aly Mahmoud16-Aug-03 17:42
Hosam Aly Mahmoud16-Aug-03 17:42 
GeneralRe: WM_ERASEBKGND Pin
Ryan Binns16-Aug-03 19:53
Ryan Binns16-Aug-03 19:53 
GeneralRe: WM_ERASEBKGND Pin
Hosam Aly Mahmoud16-Aug-03 23:12
Hosam Aly Mahmoud16-Aug-03 23:12 
GeneralRe: WM_ERASEBKGND Pin
Ryan Binns16-Aug-03 23:30
Ryan Binns16-Aug-03 23:30 
GeneralRe: WM_ERASEBKGND Pin
Hosam Aly Mahmoud16-Aug-03 23:52
Hosam Aly Mahmoud16-Aug-03 23:52 
GeneralRe: WM_ERASEBKGND Pin
Ryan Binns17-Aug-03 0:16
Ryan Binns17-Aug-03 0:16 
GeneralRe: WM_ERASEBKGND Pin
Hosam Aly Mahmoud17-Aug-03 1:28
Hosam Aly Mahmoud17-Aug-03 1:28 
GeneralRe: WM_ERASEBKGND Pin
Ryan Binns17-Aug-03 5:48
Ryan Binns17-Aug-03 5:48 

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.