Johan761224's Q&A profile
Visual Studio Symbols loaded (source information stripped)
Hi, I'm pretty noob and im just trying figure out my Visual Studio C++ 2005 Express and get it to do a first debug on a HelloWorld and I get these errors 'Hello World!.exe': Loaded 'C:\Documents and Settings\Mike\My Documents\Visual Studio 2005\Projects\Hello World!\Debug\Hello World!.exe', Symbols loaded. 'Hello World!.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Symbols loaded (source information stripped). 'Hello World!.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Symbols loaded (source information stripped). The program '[2944] Hello World!.exe: Native' has exited with code 0 (0x0). I've been looking around and I guess it would be helpful to tell you my Symbol File (.pbd) location list C:\WINDOWS\Symbols\dll http://msdl.microso ...Show All
Visual C++ vs2005 closing app error
Hi there I have one annoying problem, I am working on app which is mainly converting files and sendig data on serial port, and everything is all right there is no errors and so on and so far, but when I try to close app something like it appears "Unhandled exception at 0x00509a76 in HH Manager.exe: 0xC0000005: Access violation reading location 0xccccccc8." Could you help me anyway, and if not just make any advise where can I find the solution or how to debug closing application Best wishes in winter time ;) Adrian Proszczuk, Biocontrol Poland Somewhere you are reading unallocated memory. Please debug through the code to identify where the error occurs. Since you are dealing with some files handles or so ...Show All
Visual C++ Cl.exe / link.exe / lib.exe: Need help with command line opts
Hi, I'm working on an MSBuild setup for compiling for both desktop and WCE devices. Got everything installed, but here's the observation and question: All of the tools are named the same (i.e. compiler is cl.exe, linker is link.exe, etc.) What (in as much detail as possible, msdn help doesn't cover very well) does the /MACHINE option do Can I use the desktop compiler (located in Visual Studio 8\VC\bin) to compile for CE devices by throwing the /MACHINE:ARM switch Am I required to use the /MACHINE:ARM switch when compiling/linking from the link.exe located in the CE directory Am I required to use the cl.exe found in "Visual Studio 8\VC\ce\bin\x86_armv4i" Is there a difference When using the linkers (same ...Show All
Visual Studio 2008 (Pre-release) is it possible to use one app.config file from many clients?
Hello I've been making some research on what is and what isn's possible with WCF and I have a question. Suppose, there is a system with one service with say 50 clients that are exactly the same. And suppose the location of the service changed so the address of the service in client's app.config files have to be reset too. In that case, do we have to go to every single 50 app config files of each client and make a change or can we , for example, put one config on a server and make 50 clients read the config file from there so that we need to make a change to only one file If not, what are the ways to make the update really easy for clients If anyone knows the answer, please help me out. Thanks.1 As of V1 we have no way ...Show All
Game Technologies: DirectX, XNA, XACT, etc. tiled background texture
Hello there, I'm wondering if it's possible to draw the 2D background of my game with a texture that repeats. If this isn't clear think of the background of Arknoid where the background is simply a rectangular texture that's repeated over and over to cover the background. Thanks, Barranger You could just draw your background texture over and over again until you covered all the area that you needed to cover. I don't think there is anything built into XNA to do this for you. ...Show All
.NET Development ORA-12154 error when connection to Oracle Database from C#
I'm trying to connect to an Oracle Database 9.0.2 using OracleClient in C#. I get the error "ORA-12154 Could not resolve service name" when trying to connect to the database. I've checked the TNSNAMES.ora file an it seems ok. The project where I get this error was previously a .VS 2003 project which I converted to a VS 2005 project. As a test I created a small project in VS 2005 where I connected to the same Oracle database with the same connection parameters, and it worked fine. Does anyone have a clue on what might be the problem Try creating a new entry in the tns using the (crappy) oracle tool (oracle net manager). Ive had this same problem before and fixed it this way. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will Game Creator Club be Region Locked?
OK.. bad way to put it.. and it's probably a stupid question but someone's gotta ask it. Since we have a concept of regions to our Live memberships, and the creator club goes ontop of our Live memberships can you answer if Creator Club membership will be open to ALL live subscribers regardles of country Since... some of us are grey... and there're plenty of us out there who don't have US accounts and just dreads it when Major Nelson says "This content is not available in XXXXXX" :P Regionalization is a tough cookie, because it involves things like copyright laws, international commerce laws, etc. That being said, our intention is to make content as broadly available as possible, and we ...Show All
Visual C# Sql Server and Mediafiles
Hi How do you save an Avi file in a Sql Server database My application also allows users to view the videos. How do you do this Is it possible to directly stream the file, without downloading it before (local copy) Are there any tutorials or examples (code) Thank you Try here - http://www.microsoft.com/sql/downloads/2005/default.mspx - I can't promise you this sample is downloadable... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. One BGM in memory at a time? See if my method makes any sense.
Take a look and see if this makes sense. I can't seem to stream an audio file from the hard drive, or at least I don't know how. It looks like streaming is designed to be read from a DvD. However, failing that, it looks like when you define a new audio engine and specify the xact file to use, it loads all the wav files into memory. Obviously, this isn't a good idea for multiple large music files. So... what about creating a separate xact file for each bgm, disposing the wavebank when you want a new bgm and creating a new audio engine, wave bank, and sound bank using the xact file of the new bgm you want. Would this achieve the goal of having only one bgm in memory at a time XACT lets you have as many wavebanks as you like in the s ...Show All
SQL Server Resources in CLR Stored Procedures?
Can Resource Files (containing, for example, string resources holding the text of exception messages) be part of a .NET project holding Sql Server CLR Stored Procedures Thanks for you help, Andy Andy, Yes, you can add resources to SQL Server CLR stored procedures. I don't recommend using the Visual Studio GUI for this because the resources generated use non-readonly statics which are not allowed except with unsafe assembly permissions (which is not a good idea from a security point of view). See the HelloWorldReady CLR sample for how to use resources with CLR stored procedures while only requiring safe assembly permissions. The latest samples MSI is located at http://msdn.microsoft.com/sq ...Show All
Visual Basic First time user of Visual Studio 2005...need help DESPARATELY
I just started using visual basic the otherday..from visual basic 6....which by the way I'm still trying to master. Anyway i started this project that I saved and possibly built even before I could finish it. Now I can't get my forms to open in the windows form designer...even when I double click them in the solutions explorer... Detailed assistance required Please....I have a deadline for this project....and already facing hurdles Thanx for that support, though am afraid it didn't work and here's why: I did realise that when I right clicked on my Form1 in the S E, the context menu offered only "View Code" and "View class Diagram" there was no "View Designer" I also notice t ...Show All
Smart Device Development Localize Network Folder
Hi, I need to localize the Network folder (name). How can I do this Thanks in advance, Stefano With WNetAddConnection3 I connect a PC folder to my device. I'll find this folder under the <Network> folder on my PDA. If the operating system is english, this folder is Network, if it's italian is Rete. I need a function to get the localized name. ...Show All
Visual Studio Express Editions How do I set the text alignments?
I want to make the text be aligned to the center, but I don't know how to do that. Could someone help me out Thank's! Hello Re: How do I set the text alignments Since you have not followed up with more details I assume you have figured it out by yourself. I will now mark the question as answered but if you are still having problems please mark the question as unanswered and supply more details. Thanks Damien ...Show All
Windows Forms Drawing focus rectangle on the Image combobox
Hi, I am working in vs 2005. I designed a custom image combobox control with ownerdrawnmode. I am overriding the protected method DrawItem as follows. Protected Overloads Overrides Sub OnDrawItem( ByVal e As DrawItemEventArgs) e.DrawBackground() e.DrawFocusRectangle() If e.Index < 0 Then e.Graphics.DrawString( Me .Text, e.Font, New SolidBrush(e.ForeColor), e.Bounds.Left + imgs.ImageSize.Width, e.Bounds.Top) Else If Me .Items(e.Index).GetType Is GetType (ImageComboItem) Then Dim item As ImageComboItem = CType ( Me .Items(e.Index), ImageComboItem) Dim forecolor As Color = Microsoft.VisualBasic.IIf(( Not (item.ForeColor = Color.FromKnownColor(KnownColor.Transparent)) ...Show All
Visual C++ Problem with pthreads
I am new to Visual C++ and to test out how the threads work, I have written a simple C++ multithreaded program. I included the pthread.h library file in the main program but it gives me an error :fatal error C1083: Cannot open include file: 'pthread': No such file or directory Error executing cl.exe. DO i need to get the pthread library and link it externally I am very knew to the WIndows IDE so please do let me know if there is somethign wrong that I am doing. Thanks Nathan anathan wrote: This is a sample code that i got from the internet, I am trying to run this but it gives me an error: error C4716: 'dowork' : must return a value Error executing cl.exe. Disregardi ...Show All
