Taen Karth's Q&A profile
Visual C++ Unable to build in 'Debug' mode
Hello, I am trying to port a application from VC-6 to Visual Studio-2005. Though I am able to build in release mode, it is failing to build in debug mode. Following error is thrown. C:\Program Files\Microsoft Visual Studio 8\VC\include\strstream(139) : error C2061: syntax error : identifier '_DebugHeapTag_func' Can any one help me to fix this error Thanks Clean (delete) the debug folder and any other intermediate files generated by VC6 first, before rebuilding it in VC8. That might fix this problem. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't install directx 9.0c Please help.
Hi I am using windows xp professional with service pack 2 installed in it. As we all know that service pack 2 has built in directx 9.0b installed in it. Now if I try update directx 9.0b with directx 9.0c it wouldn’t do it. So using on of the directx uninstall software I have removed the directx 9.0b and restore the directx 8.1 from windows xp professional Service pack 1 cd. Which was successfully done. Owow. But I am still unable to install directx 9.0c into my pc. When I try to install directx 9.0c , a dialog box appear saying “The components installed are now ready for use.” Which is not true. ...Show All
Visual Studio Team System Access to private const in unit test using private accessor
Hi I have a class with private constant in VB. When I try to read value of this constant in unit test using private accessor I get an error: "System.MissingMethodException: Method 'namespace.class.private_constant_name' not found." I checed that in C# project such accessor works fine. How to solve this problem It's strange, but I think I didn't understand fine, you mean you have an VB.NET class with private const, and when you try to access it from VB.NET unit test it doesn't works, but if you try from C# it works fine or you mean you transform the class with the private const to C# and then ...Show All
Visual Studio Express Editions Disassemble C/C++ Code
Hello People, is it possible to Dissasemble C or C++ code with the Express edition What I have to Download Thanks Leo JaLeo wrote: is it possible to Dissasemble C or C++ code with the Express edition The dumpbin utility is included in the Visual C++ 2005 Express Edition. You can use it to show a disassembly of native Windows code from a .EXE or .DLL. Use Tools | Visual Studio 2005 Command Prompt, switch to the directory having the binary file in it, and then do a command like C> dumpbin /DISASM yourfile.exe | more and you can see what it produces. Jumps and calls won't be to labels, but I ass ...Show All
Visual C++ Convert bstr string to new character string
Hello! I am not a wizard in this area! Just need some help out in this. I am trying to convert bstr string to new character string. Here is the snippet of my code. **** Code Start**** // A Call function to C#.NET to get the string value. bstr string value is sent to C#. The C# // does some manipulation and returns the value to VC++ to bstrTNamePtr. GlobalInterfacePtr->GetName(bstr, bstrTNamePtr, &retVal); wcscpy (wstr1, *bstrTNamePtr); char text2[20]; //Converting the WideChar (wstr1) to New Character String (text2) WideCharToMultiByte (CP_ACP, 0, wstr1, -1, text2, sizeof (text2), NULL, NULL); **** Code END**** What ...Show All
Windows Live Developer Forums web-based messenger : is it possible?
I was wondering if it was possible to make a very simple web-based version of msn messenger, using seperate pop-up windows for private chat and the main page to list users on line etc...is this possible Maybe using ActiveX or Javascript - I've no real knowledge of the SDK or API or much programming in general when it comes to XML docs.... If it is, does anyone have a basic listing of links that would be able to help me get started (im not interested in making it complex, id just like a friends list, whos online and private chat popups) If anyone could even post some simple info or how to create relevant links on the fly (ie the link fo ...Show All
Visual C# Can't zip nested folders
Hi people ! does anyone here used the java.util.zip package I need to zip a series of nested folders similar to this MyProjects/MicrosoftProjects/MyProgram/bin/Debug/MyProgram.dll however the ZipOutput stream requires a file,in this case MyProgram.dll.Does anyone have a workaroud regading the above issue I keeping hitting the FileNotFoundException as i specifed the sourcestream at MyProjects/ regards Wilson Actually, if you are using ICSharpCode.SharpZipLib you can download the sample in their website, there has a sample project called CreateZipFile, you can reference that project. and just modify the zip file part to the code ...Show All
Windows Forms app.config is read only?
Do you guys know how to override the app.config file to allow writing back to the file (during runtime) When I try to save some custom user settings in the app.config file, it says the collection is read only. There must be a very simple way around this, isn't there Thanks for any help. Collection is read-only If you are  ...Show All
Visual Studio Team System Error 28100.Error loading Event web service.
Hi, During installation I got "Error 28100.Error loading Event web service.". Any idea what is going wrong TFS is being installed on a Virtual Machine. Please feel free to contact me if you need any more information. Thanks, Bart ps. Is it possible to upload the setup log I went back to some lessons learned when installing tfs beta 2, one of which was to install wss before sql server (even though the install guide says to do it after). I installed wss, stopped the default web site, set the sharepoint site to port 80, then installed sql server. Then I manually configured report ...Show All
SQL Server Still cannot Resolve! Footer Issue
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=241309&SiteID=1 ...Show All
.NET Development Setting Date Time Culture on the machine
Good Day, I would like to set the date time culture on a machine to dd\mm\yyyy and the currency to NZ (en-NZ). Note that I am not asking how do deal with it in C# code (as I know of culture in the datetime class). I am trying to set the culture on the machine. I will be writting the code to do this in C# 1.1. There is a little something in kernel32.dll calls, but the culture is not given for the format; further, there is no lead to the currency. The culture is not an environment variable (no leads when typing 'set' at cmd.exe window). Search engines have not turned anything up, so I wanted to ask here. Thanks for your help, ...Show All
Visual C++ Clicking Toolbar buttons programmitically
I am trying to get the handle of the Menu Bar present in an application (Araxis Merge). I am able to get the handle as it is of class type "ToolBarWindow32". But now i want to get the command ID of the buttons present but i am failing to do so My code is: TBBUTTONINFO info; ZeroMemory(&info , sizeof(TBBUTTONINFO)); info.cbSize = sizeof(info); info.dwMask = TBIF_COMMAND; SendMessage(hToToolbar, TB_GETBUTTONINFO, 0, (LPARAM)&info); But the info structure contains nothing.... Can't we get the information about tool bar buttons of a third party application. ...Show All
Visual Studio Team System Web Testing Javascript code
Currently I am testing against some sharepoint modifications we are making to a site. I am wondering if anyone has any ideas on how to test this in a web test. The event fires when the clicking the Save and Close button on an issues form. I know that javascript is currently not supported by this tool, but was wondering if anyone had any other thoughts on how I might accomplish this. Thanks Eric Landes http://aspadvice.com/blogs/elandes Hi Eric, I am not sure what you are trying to do with javascript but you can look at this blog where Josh has explained "Simulating Javascript with cod ...Show All
Windows Forms Changing font of a control at design time 'breaks' the form
Hi, I have the following message if I reopen the design view of a form after I change the font of a control (tried with a label and a button): >>>>Begin transcript>>>> An error occured while loading the document. Fix the error, and then try loading the document again. the eror message follows: Failed to parse code: System.FormatException: Input&n ...Show All
Windows Live Developer Forums new here, 2 questions.
Hi,everybody. I'm new here,here I got 2 questions: 1.I know the MetaWeblog API now support MSN Space,anyone who can tell me the MetaWeblog.net support . net 2.0 or not 2.Anyone who got the windows application samples for download thx.. 1.I know the MetaWeblog API now support MSN Space MSN Spaces MetaWeblog API, version 1.00 MetaWeblogAPI and MSN Spaces 2, I have the Visual C++ CMsnSpaces class which supports MSN Spaces MetaWeblog API . But I'm sorry i can't provide it for you because i programming this for my company. If you realy want to know it, you ca ...Show All
