Posted By: mstefan | Feb 3rd, 2008 @ 9:46 PM
page 1 of 1
Comments: 7 | Views: 3854
mstefan
mstefan
Windows SDK coders do it without a .NET
I just noticed that the ActiveX Test Container (tstcon32.exe) was missing from Visual Studio 2008, and it's not in the latest Windows SDK. Is this an oversight, or does Microsoft just think that no one is building ActiveX controls anymore? Tongue Out

It's not a big deal, since I have a copy of it with Visual Studio 2005, but it is handy for testing them in the debugger, particularly when using scripts.

Is the source code for TSTCON still included in the Windows SDK that comes with Visual Studio 2008?

TSTCON Sample: ActiveX Control Test Container
The ActiveX test component is available in VS 9.0 inside the AllVCLanguageSamples.zip inside the samples\1033 folder BUT you need to open the 'tstcon' solution including the projects and build it yourself. It also contains a readme which explains how to do that.
joelSomething's right.  It's in that ZIP file in the C++\MFC\ole\TstCon folder.  You can download the samples from http://www.microsoft.com/downloads/details.aspx?FamilyId=01AE159F-08CD-495B-8BF4-A48CC395AD7B&displaylang=en.
Guys,

It kindof doesnt run on x64 platform... sure it compiles correct but refuses to run..  always lists side by side configuration as incorrect.. can anyone tell me where i can find x64 compatible build for TSTCON..

thanks in advance..

cheers,
Jay

Check here for how to get tstcon32 running correctly on x64: it's a linker setting.

 

Hope this helps,

Richard

I just tried this on Windows 7 and ran into additonal side-by-side run time errors.  I upgraded to SP1 of VS2008 and installed the SP1 samples, but the TstCon sample would no longer even compile.

 

Might I suggest that the ATL tutorial and all other documentation that refers to the ActiveX Control Test Container be removed from MSDN and other documentation if Microsoft is not going to support it. Additionally, it is not useful to have sample code if those samples are not being tested to verify that they compile and run properly.

page 1 of 1
Comments: 7 | Views: 3854
Microsoft Communities