Brian DeKorte's Q&A profile
Visual C++ free(pointer) in ansi C.
Hello, I'm using Visual C++ 2003 Standard for C coding. I have a problem with a freeing the pointer. In one place in my program it works, in another not. On gcc all goes well. Here is the code: void basic_pointers(){ int *pointer; int a=10; if (pointer == NULL) { printf("Out of memory, exiting\n"); &n ...Show All
.NET Development SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpCl ...Show All
Smart Device Development show path of process
i am trying to make a process viewer using OpenNETCF.ToolHelp.ProcessEntry. I am able to show the processid, base address, thread count and the exe name. however, i want to display the full path of the exe file. i understand that OpenNETCF.ToolHelp.ProcessEntry is a wrapper for the ToolHelp.dll ProcessEntry32, and it does not have a member for the path of the exefile. it only provides szExeFile, which is the name of the exe file. (http: ...Show All
Windows Forms Problem with MSDN help
Hi, I am trying to work on Content Management Server but msdn help website seems to have some problem. if you go the following link, it will show you incomplete sentences, for example, I am copying some lines from the website. Notice that the sentence ends on "Click ." , but click what In Visual Studio .NET, on the menu, click , and then click . In the New Project window, in , do the following: Click . ...Show All
Visual Studio Express Editions several problems with performance
Hello, I have some problems with a Frontend, I developed for a connection to a database. I have 2 tabcontrols as "Mainmenu" and then in each tabpage further tabpages. 1. problem: after compiling, the order of the tabs is not like I managed them in the Designer! 2. problem: when I'm clicking through the tabs, the drawing of the textboxes, comoboxes and checkboxes is so slow that I can almost see every step of drawing. At ...Show All
Visual Studio VS2005 does not work with web services of VSS 2005
I have VS2005 (Prof) installed on a client (XP Pro) and VSS2005 (Prof) installed on a Windows 2003 server. I can connect to SourceSafe via LAN plugin but when I try to connect via web, it gives an error: Cannot contact the Visual SourceSafe Internet Web Service or cannot access the specified database. The Visual SourceSafe Web Service returned the following error: Call context cannot be accessed after call completed. (Exception from HRESUL ...Show All
Visual Basic Hex function and Byte type declaration problem
I have a program that is supposed to format data into 4 hex bytes and sent thru the serial port. The declaration section contains the following: Dim Addr, MsData, LsData, CkSum as Byte Dim Cmd1, Cmd2, Cmd3, Cmd4 as Byte Data is input to the Addr, MsData and LsData bytes and ChkSum is computed as (MsData and LSData are parsed from a single text box input (0 to 4095 range): MsData = Int(InputData / 64) LsData = InputData Mod ...Show All
Visual Studio Team System How to use one step's Query String Parameter value in another step?
Hi, all. Sorry if this is a beginner's question, but I couldn't figure out how to do this. I have a web test, which has several steps. One of the step's Query String Parameters contains the value that I would like to use several steps after that. This value is not displayed in any of the fields on the following page, so I can't apply a field value extraction rule to it. How can I extract this Query String Parameter value to use in the foll ...Show All
Visual FoxPro I am facing a strage problem in VFP 8.0 with Error()
Hi there, I am converting old dos program into foxpro 8.0. I am facing problem with below statement. On error lError = Error() the code excuting and throws to error, but I am not getting error number. It is giving always 0. Message() is giving correct error description, I verified in debug mode. also I changed the above statement like On error messagebox(message() + str(error()) . Is there any settings in VFP environment I also installe ...Show All
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- ...Show All
Software Development for Windows Vista Problem with product activation for Vista build 5219
Hello, I have just purchased Windows Vista Ultimate Edition build 5219, I have a problem with the installation. The code is incorrect. The code is: GKFV7-F2D9H-QKYXY-777P3-4M73W Please help me! Send please a massage to my E-mail. boyekroeze@hotmail.com Ahh, how did you purchase Windows Vista It is not for sale and is only available to a select group Technical Testers, TAP, and MSDN subscribers. Its possible your act ...Show All
Smart Device Development VS 2005 Failed To Connect To PPC2003 SE Emulator
Installed VS 2005 from MSDN disk. Started Mobile project. Can connect to all devices, EXCEPT Pocket PC 2003 SE Emulator. Message that I get is "Connection failed. No connection could be made because the target machine actively refused it." Tried to go back to VS 2003 where this connection was working and, now, it also does not work. Most frustrating. As an aside, does merely connecting to the emulator need to be all so diff ...Show All
Visual C# SQL update command not working
When trying to execute a ExecuteNonQuery instruction in my C# web page program I receive an error message which says "Operation must use an updateable query". It is referring to an SQL UPDATE command against an Access data base file. What is strange is that the program works perfectly on my main computer but when I transferred the programs to my backup computer I get the above error message. Both computers are running XP sp2 and ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Possible to apply shader to DX7 content?
We are using an existing DirectX 7-based game engine to render 3d content. We do not have the source to the engine. We'd like to apply shaders to some of the objects rendered in this engine. Since it is DirectX 7-based, this seems like a technologically difficult, if not impossible, feat. Is this possible Hi Judah, as the previous poster mentioned. This is not possible. You might be able to handle it some other way. You'd be hacking things ...Show All
Visual C++ Error in Adding the new class (Visual Studio 6.0)
Hi, I am not able to add a new class to the already existing project which is designed using VC++ and ATL Com. I am getting the error "Error Creating resources for the new class" Any help regarding this is highly appreciated Thanks in Advance Check if one of the files are read only. Delete the current clw file. Note that VC6 isno longer supported. This forums are for the suppor ...Show All
