SRINIVAS ENDRA's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Is there any built librarys/function for collision detection?
I was just wondering if there's any sort collision detection build in to XNA If so what can we expect We provide a number of bounding volumes with intersection and containment checks. This would give you simple collision detection. We do not provide any sort of complex collision detection or physics simulation (collision or response). Paul ...Show All
SQL Server Release of 1.0 product
I can't find any timeframe for the 1.0 release of SQL Server Everywhere. Is this information available That's very helpful! I wonder if I could ask one other question... If we were to utilize the current CTM version in shrink-wrapped software and later upgrade the Dlls (we have online updates in our shrink-wrapped software) to the 1.0 version as part of one of our own updates, would there be any incompatibilities between SQL Server Everywhere CTM version and the 1.0 version such that the database generated with the CTM version would not be compatible with the 1.0 dll's Is anyone else planning to use the CTM version We have done initial testing on the CTM version without incident, are there known ma ...Show All
SQL Server Freeze Panes?
Is there functionality within the Table or Matrix objects to freeze columns or row headers when you scroll thru a wide or long report Similay to the freeze panes functionality in Excel. Thanks Hi , Is ther any way to keep the first set of N columns along with the data as frozen and the other columns move behind it as in excel. I tried to check the option in layout --> fixed header = true but the header along remains frozen but the data is getting overlapped. please do help at the earliest. thanks, Vidula ...Show All
Visual Studio Express Editions Resourcse question
ok i ahve a wav file embedded into my project and i am wanting ot know hwo to get it to play it is embedded as a resourse and i have this much of the code figuered out but i ahve no clue if its wrong or not adn i would like some help and on what else i need to do cuz it wont play when the project open and where is it in the form1 dose the code need to be placed it is in the event.Load part befor it or where i jsut need help on getting this done and my project it dose Dim theStream As System.IO.Stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(Application.ProductName & ".Young Joc - Do Ya Bad.wav" ) Dim player As New System.Media.SoundPlayer(theStream) ...Show All
Visual Studio C++ mixed mode crash logging (callstack)
Hi there I have a mixed mode application that I want to have some crash logging in. I have done a bit of investigation and it turns out that I can get the callstack for both the managed and native parts if I use a different process and use a debugger object - basically in a similar way to how the visual studio IDE does it. My question is, is there a debugger object that I can use in the .NET framework itself to do this or does it rely on things that are installed with visual studio Regards Jero JeroGrav wrote: I have a mixed mode application that I want to have some crash logging in. I have done a bit of investigation and it turns out that I can get the callstack for both the managed and native parts if ...Show All
Visual C++ std::vector versus std::map performance
I am curious if anyone knows about possible performance issues related to the use of the container template std::map, and particularly as it relates to std::vector's performance. I imagine there is good and bad usage of a map and/or vector, but would replacing a map with a vector offer any real performance gain (considering heavy usage) My worry is that we will replace an easy-to-read associative container (map) for one that uses magic numbers to associate elements (vectors) and get no gain from it. Jonathan Scott The problem with std::map, at least Microsoft's implementation, is that it uses a binary tree, giving it an O(log n) lookup. Even worse, every call made an allocation, maki ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Implementation Inheritance Regrets
This is kind of OT, but I'd like to see what the other developers here have to say. I used implementation inheritance in Buttermilk's GUI design. I am regretting it quite a bit. I used implementation inheritance because I reasoned that everyone else's GUI system (including my past two) do so. But the more I learn about design and anti-patterns, the more subtle flaws I see arising because of the decision to use impl inheritance. Why do people use impl inheritance, even when they know better I presume because it's just so darn easy and quick. There is no way a modern language could get away with getting rid of implementation inheritance completely. People wouldn't accept it. In my opinion, a new language without implementation inherita ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX performance issues, multithreaded
Hi, I'm writing a DirectX application with two threads: Main thread: Processed Windows messages, renders frames Secondary thread: Runs game engine When my main thread runs without Sleep(milliseconds), I get about 700 - 800 frames per second, but my engine thread does maybe 5 loops per second. When I put Sleep(0) or any other small number into my render thread, the FPS drops to 64 (strange number btw). I am pretty sure I count my FPS correctly (QueryPerformanceTimer & count frames, after one second fps = framesRendered / timeElapsed). My engine thread doesn't do much most of the time and it has Sleep(50) in it. For some reason it doesn't make a difference what sleep time I put into engine thread, I still get about 64 FPS i ...Show All
SQL Server Reporting Services setup and problems
I have posted this to the general SQL Server group but without any response. I have also searched all of the forums and have not found an answer. For some reason all of a sudden, my Reporting Services is failing with this message when trying to connect: TITLE: Connect to Server ------------------------------ Cannot connect to UKCINT\UKCAZOSQL. ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> SQL Server Reporting Services </title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.1399.00" /&g ...Show All
Visual C++ C# or C++/CLI ??
GRRRRRRRRRRRRRRRRR!!!!!!!!!!!! Im so double minded on whether to go with C++/CLI or C#. I dont know what to do.. :( Any advice guys Im looking to develop Windows Forms App's with Power and ease. I have C++ Knowledge but seeing that there arent many resources for C++/CLI, im thinking about going with C# like the many C++ Programmers out there who are...Not that i dont like C++/CLI or C++, its just that C# is a "pure" .NET Language and will always be supported by Microsoft.I also feel as if im being left out of the crowd by continueing with C++/CLI seeing that C# is what many C++ Programmers are moving to. IntMain, unless dependencies and performance concerns become a concern, I'd go with C#. But k ...Show All
Microsoft ISV Community Center Forums Can you tell me why Int(1.4 * 100) = 139
Can someone help me to find solution: Int(1.3 * 100) = 130 Int(1.4 * 100) = 139 (also Int(1.38 to 1.49 * 100 ) ) Int(1.5 * 100) = 150 (VBA:Retail 6.0.874) Thanks in advace Hello Grifi, I don't know the reason but this should solve your problem Chas Sub test() Dim a Dim b a = 1.38 b = 100 Debug.Print Int(a * b) End Sub ...Show All
Game Technologies: DirectX, XNA, XACT, etc. editor directly accessable inventory limited to 602 entries of buildings.csv
The editor can only access 602 entries from buildings.csv directly; entries beyond that are ignored. How can this be changed If you download my expansion pack and install it on top of your MC2 installation (CD or Source code Version) you can experience it. It is not about that one file buildings.csv. As you know better than I do it needs a different mc2res.dll and objects2.pak and buildings.cvs and all the art, tgl, csv files to back it up with content. I positioned the inventory in buildings.csv by a priority I selected to enable me to position most inventory directly on a map. Everything in the categories "small stuff" and "destroyable road" as well as "dummy objects" can not be selected dir ...Show All
Visual C++ VC++2005 compiler can not indicate the real line of the error that VC++6 does
class can_not_copy {// VC2005 error 1 this line: see declaration of 'can_not_copy' //VC2005 error 2 the line of {: see declaration of 'can_not_copy' typedef can_not_copy class_type; protected: class_type() { } ~can_not_copy() { } private: //disable copy and assign class_type(class_type const&);// VC2005 error 1 this line:see declaration of 'can_not_copy::can_not_copy' class_type& operator=(class_type const&); // VC2005 error 2 this line : see declaration of 'can_not_copy::operator =' }; class test_no_copy : private can_not_copy //disable compiler generated copy and assign functions { };// VC2005 error 1 this line: error C2248: 'can_not_copy::can_not_copy' : cannot access private member declared in class 'can_ ...Show All
Smart Device Development using font strips on windows mobile devices
hi, we need custom fonts for our application. one way is using font scripts i.e. use bitmap iamges to display text e.g. when we want to display 'A' use corresponding image for 'A'. Question 1. :- How to do this for controls that accepets input from the user e.g. text control also for controlls like soft keys, window titles and menus. Question 2:- what are possible concerns or disadvantages of doing this as this is not a standard way Question 3:- Is this cause any problems in logo certification Note : our target devices are all possible smartphones and pocket pcs (2003 as well as 5.0) regards Rashmi Todkar None of the built in .NETCF controls will support rendering tex ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Hi can anyone get spacewar running on 64bit OS?
Hi I am getting an System.BadImageFormatException. Usually I can get around this by compiling the project for x86- processor only. If anyone knows how to do this in GSE or knows another workaround please reply No need to use the notepad: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=67630&SiteID=1 ...Show All
