by softruz » Thu Nov 06, 2008 10:22 am
Si estoy usando esa funcion pero me dá errores como:
Almacen.prg(1318) : error C2664: 'GetFileVersionInfoSizeW' : cannot convert parameter 1 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Almacen.prg(1326) : error C2065: 'GlobalAlloc' : undeclared identifier
Almacen.prg(1326) : error C2065: 'GMEM_MOVEABLE' : undeclared identifier
Almacen.prg(1326) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Almacen.prg(1332) : error C2065: 'GlobalLock' : undeclared identifier
Almacen.prg(1332) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Almacen.prg(1334) : error C2664: 'GetFileVersionInfoW' : cannot convert parameter 1 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Almacen.prg(1336) : error C2664: 'VerQueryValueW' : cannot convert parameter 2 from 'char [25]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Almacen.prg(1393) : error C2664: 'VerQueryValueW' : cannot convert parameter 2 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Almacen.prg(1400) : error C2065: 'GlobalUnlock' : undeclared identifier
Almacen.prg(1401) : error C2065: 'GlobalFree' : undeclared identifier
LINK : fatal error LNK1181: cannot open input file 'Almacen.obj'
Un Saludo.