不行啊,我用c++builder改编了一下,还是取不到值啊,下面是c++builder增加的内容<br><br>#pragma hdrstop<br><br>#include "Unit2.h"<br>#include "UHook.hpp"<br>//---------------------------------------------------------------------------<br><br>#pragma package(smart_init)<br>extern "C" __declspec(dllexport) void __stdcall InstallHook_Dll(int MainWnd, int DestWnd);<br>extern "C" __declspec(dllexport) void __stdcall UninstallHook_dll(void);<br>extern "C" __declspec(dllexport) char * __stdcall GetHookedCell_dll(void);<br><br>void __stdcall InstallHook_Dll(int MainWnd, int DestWnd)<br>{<br> InstallHook(MainWnd,DestWnd);<br>}<br><br>void __stdcall UninstallHook_dll(void)<br>{<br> UninstallHook();<br>}<br><br>char * __stdcall GetHookedCell_dll(void)<br>{<br> return GetHookedCell();<br>}<br><br>在test.dpr中更改了一下<br> @InstallHook := GetProcAddress(hLib, 'InstallHook_Dll');<br> @UninstallHook := GetProcAddress(hLib, 'UninstallHook_dll');<br> @GetHookedCell := GetProcAddress(hLib, 'GetHookedCell_dll');<br><br>其它的没有变,还是取不到总行数,和总列数。