Hello Pascal,
Thanks, but I no need to use crafty tricks. It's not call, it's just
reading from the memory.
Wednesday, July 7, 2004, 8:41:16 AM, you wrote:
P> /* Direct Acces to the Function */
P> printf("printf - f() : %d \t |\t",cA.f());
P> cout << "COUT - f() : " << cA.f() << endl;
P> /* Acces with the pointeur *pFunc */
P> printf("printf - *pFunc : %x\ \t | \t",*pFunc);
P> cout << "COUT - *pFunc : " << *pFunc << endl;
P> /* Address of the pointeur *pFunc */
P> printf("printf - &pFunc : %x\ | \t",&pFunc);
P> cout << "COUT - &pFunc : " << &pFunc << endl;
P> system("PAUSE"); return 0;
P> }
--
Best regards,
Harry mailto:wi...@ma...
|