You are missing a semicolon here:
struct line2d{point2d m1,m2;};}
That was good to know, but it doesn't solve the problem.
Reposting code ...
Code:
[uuid(1CFE9260-D6FB-11d7-9236-E4FCAE870F25),helpstring("Temp"),lcid(0x0409),version(1.0)]library Temp
{
[helpstring("Typesmodule"),version(1.0),dllname("Temp.dll")]module Typesmodule
{
struct point2d{double x,y;};
struct line2d{point2d m1,m2;};
}
};
error MIDL2025 : syntax error : expecting a type specification near "point2d"
I'm working in Visual C++ 5.0. What do you mean by "C not C++"?