DWPorter's Q&A profile
Visual C++ Application Verifier and MFC app
I've just tested my application with the Microsoft Application Verifier 3.2 to see if it finds anything BoundsChecker doesn't find and to run the Standard User Analyzer. Actually the Application Verifier always throws an error when I quit my application. I've then created a new MDI application with VC6 and tested that one, and I got the same error. Then started VS2005 and created a new MDI project, and again, same error when I quit the application. The error occurs somewhere in ExitProcess of the CRT. Is this a problem of the Application Verifier or the CRT ======================================= VERIFIER STOP 00000301 : pid 0x3F0: Invalid TLS index used for current stack trace. FFFFFFFF : Invalid TLS index. 00 ...Show All
Visual Studio Express Editions Text Document at start up
In this up i made i need to have a text document start when the app is fired for the first time then not again after that. The setting is saved per user and per version of your application. If you have run the app in the debugger, you can use the "Synchronize" button in the settings designer in order to "reset" the setting to its default value. You don't need to do this in order to publish your application, however - as soon as another user runs the app, it will be the first time for them (on that machine) Best regards, Johan Stenberg ...Show All
Windows Forms Deploying application version
I have deployed our application using clickonce and signed the manifests using a code authorizing certificate and installed the application on a number of computers. Sometime (not alway) when I deploy a new version of the application the update terminates and says that the manifests have been signed by different authorities. I am using a Thawte Certificate to sign the manifests. Does anyone have any idea on how to fix this I'm pretty sure that shouldn't make a difference. The certificate info should still be the same, unless they are different certs with the same file name... that could explain the problem :-) ...Show All
Visual Studio 2008 (Pre-release) Troubles on running WFC Lab 2 on June CTP
Hi There I have trouble running the " CON002 Hands-On Lab Lab Manual Reliable, Transacted and Instrumented Messaging with the Windows Communication Foundation This lab is designed for use with the .NET Framework 3 Beta 2." On the June CTP of the .Net Framework 3.0. The lab works until taks 4. (the only thing I had to do is changing [ ServiceContract (Session = true )] to [ ServiceContract (SessionMode = SessionMode .Required)] However when doing taks 4 I get a bunch of errors when compiling: Error 1 The type or namespace name 'IRequestContext' could not be found (are you missing a using directive or an assembly reference ) C:\Data\Tests\TradingServiceV2\Cli ...Show All
Visual C++ MSPSDK: HTTP API sample won't compile in VC++
Hi there, I read about the scope of this forum. I believe my question applies because it involves the Platform SDK... I've been trying to compile the HTTP API samples found under "C:\Program Files\Microsoft Platform SDK\Samples\NetDS\http\server" and "C:\Program Files\Microsoft Platform SDK\Samples\NetDS\http\serviceconfig". None of this source code works. First of all the typcasting is all wrong, the different methods of typecasting and calling between C and C++ keep conflicting. When you compile what is originally a .c as a .cpp (you pretty much have to) you get errors. The funny part is that the files are originally written in C, but inserted in the documentation is a little note that says "C++". Anyway, I don't ha ...Show All
Visual Studio 2008 (Pre-release) Boolean DP and Binding
I need to bind bool property of model to bool dependency property of control. If I wrote this in XAML in short form, like this: <Button IsEnabled="{Binding Path=Loaded}"/> I got a build error. OK, next I tried to use full form: <Button> <Button.IsEnabled> <Binding Path="Loaded"/> <Button.IsEnabled> </Button> That's works fine, but form designer in VS still showed an error and ain't worked. Is there any solution Error in short form: The 'IsEnabled' attribute is invalid - The value '{Binding Path=Loaded}' is invalid according to its datatype 'http://schemas.microsoft.com/winfx/2006/xaml/presentation:frlrfSystemBooleanCla ...Show All
Visual Studio Exception when running VCBuild.exe
Hi , I'm running compiling of my solution using vcbuild.exe in the following format vcbuild /r solution.sln "Unicode Debug|win32" . The solution contains a list of C++ unmanaged project and one C# project. The crash happens when compilation of C# project starts PreBuildEvent The prebuildEvent contains reference to $ProjectDir and Environment Variables , that I believe that I think the reasons for the crash. Can you help me with with that I have similar problem. I use VC++ 2005 express SP1 Windows 2000 Professional SP4 + all updates The exception occurs with various commandlines: - vcbuild solution.sln - vcbuild solution.sln "Debug|Win32" - vcbuild solution.sln "Release|Win32" The exception occ ...Show All
Visual Studio Team System Fields with list values
I have 2 questions regarding fields that have a list of allowed values. 1. If my possible values is a global list, can I set the default value to be the first item in the list without knowing what that item is My main reason for using a global list is that it changes frequently, and it's one of the few things in an existing project you can modify as far as work item templates are concerned. 2. Is there a way to have a field that is a multiple selection list Hello Michael, 1. No it is not possible to set a default value without knowing that item. But in your work item rules if the field allowed values changes you can always default it to a known common value in that allowed list. 2. in V1.0 we ...Show All
Audio and Video Development uncompressed YUV to EVR
Hi, I am writing a simple YUV media source to take in .yuv bytestreams and send it to the EVR. I have modified the MFT_Grayscale to act as a dummy transform to copy the yuv samples to the EVR. I am also using the playbackFX sample for the player. I'm having a problem with the player just showing a black screen, as if no samples are being sent to the EVR. I have verified that the samples are being processed in the dummy transform with the correct image size and attributes for my given yuv sample. I have tried other yuv samples and all just display a black screen, but the samples are being processed for sure. Is there any way to debug this to see if the samples are being sent to the EVR Or does anyone have any clues why this is happeni ...Show All
Visual Studio Team System Advice for using VS2005, TFS, integrated FxCop & ASP.NET
We are trying to use the VS2005 integrated version of FxCop with Team Foundation Server at the back to enforce check-in policies and we're hitting problems with web developments - we've also adopted the Web Application way of doing web development so we have got project files since the project-less development style was causing us even more problems :( A couple of examples: Errors and warnings with no source location - please see my other post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=475875&SiteID=1 Microsoft warnings about the casing of each server side control (CA1709) - we're using the widely accepted notation of btnButton, txtTextBox, etc which appears to be throwing this problem The general problem ...Show All
Visual Studio VSS 2005: Require Secure Communications using SSL is grayed out
I am having some issues setting up VSS Internet access. Has anyone run into the issue where the "Require Secure Communcations over SSL" is grayed out. I have already created, issued and applied a SSL cert to my Default Web Site. I have searched all over the web and the documentation doesn't seem to point to this occurrence. Any ideas See link for the screenshot. http://test.naturalproduct.us/images/vss.jpg I set up SSL as you recommended through IIS and now I get the error below: http://test.naturalproduct.us/images/vss2.jpg ...Show All
Windows Forms MSI to check flash availability
HI to all. Thanks in advance. I tried to create msi for a windows application. The application displays retrieves information from the xml file (located in web server) and displays it. what i need to know is, when MSI gets clicked it has to check for the availability of flash in that target system. if it is there it has to continue the installation of my windows application, otherwise it has to install the flash first and then continue the installation of my windows application and it should not provide url to download the flash. ...Show All
.NET Development Unable to consume Web Service with DictionaryEntry
I have a Web Service that returns a List<MyClass> and MyClass contains a public DictionaryEntry property. I am trying to write a Unit Test to consume this web service. I am able to call the web service from Atlas (JSON serialization), but it does not work through SOAP. The following is the exception generated when running the Unit Test: Test method WebService1_WebMethod1 threw exception: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NotSupportedException: Cannot serialize System.Collections.DictionaryEntry. References in structs are not supported with encoded SOAP. at System.Xml.Serialization.SoapReflectionImporter.ImportStructLike ...Show All
.NET Development Extern DLL returns Struct ??
Dear All, To be clear: I never tried to access external DLL before, please kindly help, thanks! I have a RFID reader/writer which comes with a VB sample app and 1 DLL. I uploaded the DLL, VB6 Demo Program to: http://upload2.net/page/download/85QQgLnx7PVagMp/RRD-HEVM.zip.html The DLL could NOT be imported into VS2005 using "Add Reference" The (working) VB6 sample code to call the DLL: Public Declare Function DeviceInfo Lib "Prr8310lib.dll" (ByVal hCom As Long, ByVal Addr As Byte) As DevInfo The DevInfo is : Public Type DevInfo '// Sw_Rev As String * 50 ' Device Software Revision '// D_Rev As String * 50 ' Device Hardware Revision '// Hw_Type As String * 50 ' Device Hardware ty ...Show All
Smart Device Development A simple doubt about the device emulator ctp 2.0
Hi! I was using the default device emulator that comes with VS 2005 (I don't know what is the version, but I think it's 1.0, right ). I've read about the v2.0 and as I saw it's faster than mine. I have done some tests and as I could see, this version (ctp 2.0) does not do the deploy of the .NET CF 2.0, right Thanks Yes, VS 2005 shipped with Device Emulator 1.0. I can't repro this - the Device Emulator 2.0 CTP is working fine for me. Deployment failures of the .NET CF 2.0 runtine are not related to the new emulator bits. Do a 'hard reset' the affected emulator and try again. ...Show All
