hello guys:
tht scenario, it's interesting and somehow weird,yesterday i copied OS's dll 'gdi32.dll' to c:\ from c:\windows\system32\,and i ran loadlibrary/getprocaddress things in a MFC dialogbox-based application, i'm sure tht i've locatted the function 'CreateCompatibleDC' from 'c:\gdi32.dll' correctly; then i invoked tht function,my app shown me a collapse of memory error,i can't understand tht, Ain't those OS dlls supposed to be available anytime anywhere?