18 Jul
2003
18 Jul
'03
4:31 p.m.
Hm, so if you declare an array like so:
DWORD args[32];
and then pass args as a parameter of type "DWORD *args", it automatically gets the address of it? I thought passing variables directly like that would normally cause a copy by value, but I don't know C well enough I suppose.
yes. As far as parameter passing goes, xxx *bob is the same as xxx bob[]. this is always true in C and C++, as far as I can remember. Kelly