K
Kevin Liu
Attribute Programming generates IDL file automatically.
The IDL looks like
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\prsht.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\mshtml.idl";
import "c:\program files\microsoft visual studio
..net\vc7\platformsdk\include\dimm.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\mshtmhst.idl";
import "c:\program files\microsoft visual studio
..net\vc7\platformsdk\include\docobj.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\exdisp.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\objsafe.idl";
[
object,
uuid(D9F5BF5F-55D8-4843-B06D-43788AAFED80),
dual,
helpstring("IATL72class Interface"),
pointer_default(unique)
]
#line 17 "e:\\test\\atl72\\atl72class.h"
interface IATL72class : IDispatch {
#line 19 "e:\\test\\atl72\\atl72class.h"
[id(1),helpstring("method getTest")] HRESULT getTest();
};
How can I remove line number and the absolute path of import library
when the IDL is generated.
The IDL looks like
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\prsht.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\mshtml.idl";
import "c:\program files\microsoft visual studio
..net\vc7\platformsdk\include\dimm.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\mshtmhst.idl";
import "c:\program files\microsoft visual studio
..net\vc7\platformsdk\include\docobj.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\exdisp.idl";
import "C:\Program Files\Microsoft Visual Studio
..NET\Vc7\PlatformSDK\include\objsafe.idl";
[
object,
uuid(D9F5BF5F-55D8-4843-B06D-43788AAFED80),
dual,
helpstring("IATL72class Interface"),
pointer_default(unique)
]
#line 17 "e:\\test\\atl72\\atl72class.h"
interface IATL72class : IDispatch {
#line 19 "e:\\test\\atl72\\atl72class.h"
[id(1),helpstring("method getTest")] HRESULT getTest();
};
How can I remove line number and the absolute path of import library
when the IDL is generated.