   Getting function pointer from DLL not working
  TFunctionPoint pFunc = (TFunctionPointer)(::GetProcAddress(hmod,"Function"));Supposing hmod is valid HMODULE to appropriate dll library. If the above call returns error 127, function not found in library, but the "Function" is listed in MSDN,  what is happening wrong???  Any info appreciated, thanks!!!   Kings of Chaos
  Have you verified that the function is exported by the dll? Just because a function is listed at MSDN doesn''t mean that it''s exported. It could be an intrinsic function. Be certain to double check that the function name is spelled correctly too. If the dll is one of your own, set up your .def file so that it compiles without prepending an underscore to the name.A good tool for checking the exports of a dll can be found at dependencywalker.com;  well, I got that dependancy walker, opened up kernel32.dll, and looked for the function I''m trying to access.  It wasn''t listed..  So.. what does intrinsic mean?  If it isn''t exported by the dll, how can I access it?   Thanks bunches for response!!!   Kings of Chaos;  Intrinsic functions just haven''t been marked exportable in the module.You could still use them, though, if you knew exactly where given function resides.That is why libs exists, they contain this mapping. 