Hi,
I would like to compare a struct created in C++ and a type created in VB 6.0. They must be equal.
Please anybody check the variables types for me.
C++
struct icPar
{
LONG icCmd;
LONG icContPassTotal;
LONG icContCartTotal;
LONG icContPassParc;
LONG icContCartParc;
LONG icEstFita;
LONG icRot;
LONG icCoordX;
LONG icCoordY;
LONG icTipoFonte;
LONG icTamFonte;
LONG icEstilo;
LONG icCoerc;
char icNmArq[8];
LONG icDirEsc;
LONG icTrilha;
LONG icDensTrilha1;
LONG icDensTrilha2;
LONG icDensTrilha3;
LONG icTamBuf;
LONG icTipCodBar;
LONG icIndExiNum;
LONG icAltCodBar;
LONG icCodRet;
LONG icCodErro;
char icBuffer[255];
};
VB 6.0
Private Type icPar
icCmd As Long
icContPassTotal As Long
icContCartTotal As Long
icContPassParc As Long
icContCartParc As Long
icEstFita As Long
icRot As Long
icCoordX As Long
icCoordY As Long
icTipoFonte As Long
icTamFonte As Long
icEstilo As Long
icCoerc As Long
icNmArq As String
icDirEsc As Long
icTrilha As Long
icDensTrilha1 As Long
icDensTrilha2 As Long
icDensTrilha3 As Long
icTamBuf As Long
icTipCodBar As Long
icIndExiNum As Long
icAltCodBar As Long
icCodRet As Long
icCodErro As Long
icBuffer As String
End Type
Thanks
I would like to compare a struct created in C++ and a type created in VB 6.0. They must be equal.
Please anybody check the variables types for me.
C++
struct icPar
{
LONG icCmd;
LONG icContPassTotal;
LONG icContCartTotal;
LONG icContPassParc;
LONG icContCartParc;
LONG icEstFita;
LONG icRot;
LONG icCoordX;
LONG icCoordY;
LONG icTipoFonte;
LONG icTamFonte;
LONG icEstilo;
LONG icCoerc;
char icNmArq[8];
LONG icDirEsc;
LONG icTrilha;
LONG icDensTrilha1;
LONG icDensTrilha2;
LONG icDensTrilha3;
LONG icTamBuf;
LONG icTipCodBar;
LONG icIndExiNum;
LONG icAltCodBar;
LONG icCodRet;
LONG icCodErro;
char icBuffer[255];
};
VB 6.0
Private Type icPar
icCmd As Long
icContPassTotal As Long
icContCartTotal As Long
icContPassParc As Long
icContCartParc As Long
icEstFita As Long
icRot As Long
icCoordX As Long
icCoordY As Long
icTipoFonte As Long
icTamFonte As Long
icEstilo As Long
icCoerc As Long
icNmArq As String
icDirEsc As Long
icTrilha As Long
icDensTrilha1 As Long
icDensTrilha2 As Long
icDensTrilha3 As Long
icTamBuf As Long
icTipCodBar As Long
icIndExiNum As Long
icAltCodBar As Long
icCodRet As Long
icCodErro As Long
icBuffer As String
End Type
Thanks