Título: SendMessageA en c++ con windows forms Publicado por: hackstyle18 en 2 Octubre 2010, 19:11 pm Buenas pues asin como dice el titulo del post, estoy intentando utilizar la funcion:
Código: LRESULT SendMessageA( HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) en un proyecto de Visual C++ Windows Forms , y resulta que cuando llamo a la funcion me salta el siguiente error : Código: error LNK2028: se hace referencia al símbolo (token) sin resolver (0A000019) "extern "C" long __stdcall SendMessageA(struct HWND__ *,unsigned int,unsigned int,long)" agradeceria vuestra ayuda ::) //////MODIFICO//////// No os molesteis...... ya e encontrado la solucion.... Código: [DllImport("User32.dll")] static unsigned int SendMessageA(HWND hWnd, int msg, int wParam, int lParam); |