Hello,

I'm trying to read my SQL Server databases from MASM32, But when I try to compile my programs I get this message, I have the WINDOWS.INC Ver 1.26a,
and this is the message for all lines.


error A2179: Structure improperly initialized.


ok, I download the sample ODBC5 from Iczelion and I get the same error,
please help me.


Best Regards:confused:
Posted on 2003-09-06 21:41:20 by AhPuch32
What structure are you having a problem with. Generally if you want to make sure you don't get this message use <> instead of <?> as there are strings in the structure. This should take care of your problem, if not post the structure that is giving you the problem.
Posted on 2003-09-06 22:01:48 by donkey
Hello,

Here you are some STRUCTURES appears with errors when I try to compile my ODBC program, The emr EMR <> appears in more STRUCTURES with ERROR MESSAGE, but I just give you this group:

EMRPOLYPOLYLINE STRUCT
emr EMR <>
rclBounds RECTL <>
nPolys DWORD ?
cptl DWORD ?
aPolyCounts DWORD ?
aptl POINTL <>
EMRPOLYPOLYLINE ENDS

EMRPOLYPOLYLINE16 STRUCT
emr EMR <>
rclBounds RECTL <>
nPolys DWORD ?
cptl DWORD ?
aPolyCounts DWORD ?
aptl POINTL <>
EMRPOLYPOLYLINE ENDS

EMRPOLYDRAW16 STRUCT
emr EMR <>
rclBounds RECTL <>
cpts DWORD ?
apts POINTS <>
abTypes BYTE ?
EMRPOLYDRAW16 ENDS

EMRPOLYDRAW STRUCT
emr EMR <>
rclBounds RECTL <>
cpts DWORD ?
apts POINTS <>
abTypes1 BYTE ?
EMRPOLYDRAW16 ENDS

EMRANGLEARC STRUCT
emr EMR <>
ptlCenter POINTL <>
nRadius DWORD ?
eStartAngle DWORD ?
eSweepAngle DWORD ?
EMRANGLEARC ENDS

EMRARC STRUCT
emr EMR <>
rclBox RECTL <>
ptlStart POINTL <>
ptlEnd POINTL <>
EMRARC ENDS

Thank you, is very nice of you, help me.

Best Regards

AHPuch32
:)
Posted on 2003-09-08 11:21:05 by AhPuch32