Compiling and Building in Windows 7 or Vista

31 views
Skip to first unread message

The Schickster

unread,
Jan 24, 2010, 1:39:17 PM1/24/10
to csEXWB
For those of you who are searching the web for how to build with VS
2010 / Windows 7 and register the ComUtilities.dll here is how it
worked for me.

Open Visual Studio by right clicking on the shortcut and choos 'Run As
Administrator'.

Open file ComUtilities.idl and comment out lines 37 through 259.

Go the project properties page find 'General -> Use of ATL and set it
to 'Static Linke to ATL'

Now build. And copy the ComUtilities.dll to your System32 folder.

After you have built he solution go the Start -> All Programs ->
Accessories and right click on 'Command Prompt' and 'Run As
Administrator'.

type Regsvr32.exe C:\Windows\System32\ComUtilities.dll.

That's it. Hope it helps someone.

Reply all
Reply to author
Forward
0 new messages