Visual Basic - GetProcAddress

Life is soft - evento anual de software empresarial
 
Vista:

GetProcAddress

Publicado por Genaro (49 intervenciones) el 06/08/2004 20:01:08
Cuando uso:
x = GetProcAddress(hInst, "Prueba")
¿como llamo a la función "Prueba"?

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:GetProcAddress

Publicado por tecniCam (186 intervenciones) el 06/08/2004 23:10:07
Traduce esto:
GetProcAddress32W
Use the GetProcAddress32W in 16-bit code retrieve a value that represents a function in a 32-bit DLL.

DWORD FAR PASCAL GetProcAddress32W(
DWORD hInst, // handle to loaded library module
LPCSTR lpszProc // name of function
);

Parameters
hModule
Identifies the loaded library module that contains the function. The LoadLibraryEx32W function returns this handle.
lpszProc
Points to a null-terminated string containing the function name.
Return Values
Returns a 32-bit value if successful. This value must be passed as a parameter to the CallProc32W or CallProcEx32W function rather than being used directly.

Remarks
Windows 95 and Windows 98: This function releases the Win16Mutex. If this function is called from a 16-bit DLL, it can be reentered as soon as the 32-bit DLL entry-point function is called. This happens when another 32-bit process thunks to the 16-bit DLL or when another 16-bit DLL calls this 16-bit DLL. However, if this function is called in a 16-bit application and the 32-bit DLL entry-point function does not yield, the function is not reentered.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:GetProcAddress

Publicado por tecniCam (186 intervenciones) el 06/08/2004 23:24:09

Si tuvieras el MSDN no estarias buscando soluciones, entra en:
http://usuarios.lycos.es/coarte
y lo obtendrás.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:GetProcAddress

Publicado por Genaro (49 intervenciones) el 07/08/2004 12:14:38
Si SUPIERAS PROGRAMAR NO ESCRIBIRIAS COSAS SIN SENTIDO EN EL FORO.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:GetProcAddress

Publicado por Cecilia Colalongo (3116 intervenciones) el 07/08/2004 14:42:44
Con la función CallWindowProc, en http://www.mentalis.org/apilist/GetProcAddress.shtml tienes un ejemplo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar