PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → [Bug ]  WD55 to WD75  conversion problem
[Bug ] WD55 to WD75 conversion problem
Iniciado por Peter van Vuuren, fev., 18 2004 11:52 AM - Sem resposta
Publicado em fevereiro, 18 2004 - 11:52 AM
Hi,
FYI,
I'm trapped by a class conversion bug (wd55 to wd75). Problem is that in case of
sructures before the class declaration, long int's are converted twice, so from
'long int' to 'int' to '2-byte int'. Sh.. (my mistake to for not testing very
good :-(( , quick job ...)
Declaration of cMapOperations
---
struct_BrowseInfo is structure

//WinDev 5.5 code replaced by migration:
// hWndOwner is long int
//WinDev 5.5 code replaced by migration:
// hWndOwner is int
hWndOwner is 2-byte int
//WinDev 5.5 code replaced by migration:
// pIDLRoot is long int
//WinDev 5.5 code replaced by migration:
// pIDLRoot is int
pIDLRoot is 2-byte int
//WinDev 5.5 code replaced by migration:
// pszDisplayName is long int
//WinDev 5.5 code replaced by migration:
// pszDisplayName is int
pszDisplayName is 2-byte int
//WinDev 5.5 code replaced by migration:
// lpszTitle is long int
//WinDev 5.5 code replaced by migration:
// lpszTitle is int
lpszTitle is 2-byte int
//WinDev 5.5 code replaced by migration:
// ulFlags is long int
//WinDev 5.5 code replaced by migration:
// ulFlags is int
ulFlags is 2-byte int
//WinDev 5.5 code replaced by migration:
// lpfnCallback is long int
//WinDev 5.5 code replaced by migration:
// lpfnCallback is int
lpfnCallback is 2-byte int
//WinDev 5.5 code replaced by migration:
// lParam is long int
//WinDev 5.5 code replaced by migration:
// lParam is int
lParam is 2-byte int
//WinDev 5.5 code replaced by migration:
// iImage is long int
//WinDev 5.5 code replaced by migration:
// iImage is int
iImage is 2-byte int

END
cMapOperations is class

CONSTANT
FO_MOVE = 1
FO_COPY = 2
...
---
Peter