OmegaMan's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Xbox360 to PC Comparison
Does anyone have an idea what performance I can expect from the Xbox360, I am writing my game purely for the console because I dont want to have to write a load of code for dealing with different spec machines (throttling the number of creatures, etc) and different types of input. The game I am porting is this (original is in vb.net and MDX) - http://www.entombed.co.uk I have managed to port the models, parrallax occulsion mapping shader and per pixel lighting. But I dont know how the Xbox360 is going to perform. My PC is this spec ( cr@p ish) - Intel P4 2.4 (400 FSB) ATI X800 XT PE 768 MB AGP x4 I am receiving an excellent frame rate from my PC and wondered what I should expect from the console, will it be twice as quick or mo ...Show All
.NET Development Hook desktop redrawing.
Is there any way (other than global hooking, which is disabled in .net) to catch events for desktop refreshes Has anyone ever tried this and managed a workaround to the global hook problem Or maybe someone could divert me to a C++ 2005 project that can do this for me.... Please ;) BTW I see ahmedilyas is the new king of the hill! Nice one ;) AndrewVos wrote: Any application. My program is being drawn using DC's over the actual desktop. It would be much more efficient if I didn't have to constantly redraw! Hmmm, Dont think that you accept event through C# that which Window is Redrawn at what time. Anyhow best of luck, If you get solution also share with us. Thanks, Best Regards, ...Show All
.NET Development Raw Sockets C#
Hello Does anyone have any suggestions, links or examples on raw sockets in csharp I am looking to sent my own custom packets (the handshake for example) but running into some road blocks. In essence I am looking to create, for starters, a half open port scanner for work and the boss's prefer managed .NET. Any pointers or directions to custom packet creation, layout in c# or any suggestion would be greatly appreciated (even the ones that say I'm a fool lol) You can get examples and documentation on sockets at http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx Raw sockets can be created by specifying ProtocolType.Raw while constructing the Socket. With regards to the layout of packet, it all depends on ...Show All
Visual C++ Error message PSAPI.DLL
I am getting a error pop up saying Get Process Image file name w. could not be located in the dynamic link library psapi.dll What should I do to fix this. April Does anyone know whether this DLL is required to be distributed when installing on Win2K/XP In other words, does psapi.dll is part of Windows 2K/XP installation Thanks, Irit. ...Show All
Visual Studio Document Explorer Crashes
Hi there, My document explorer, the help system, crashes constantly when I use online help. Once i've done a search for a topic, when I select a result, 80+% of the time, the document explorer crashes. There is a checkbox for whether or not I want it to restart automatically, and a send/don't send button. Once i click one of those buttons, it shuts down. My only workaround is to before I click send to copy the address of the page and open it up in internet explorer. I've tried doing a repair both on visual studio express as well as on the MSDN entry in control panel, to no avail. Anyone else have this problem and hopefully a solution HellsChicken: There are several other threads on this forum abo ...Show All
Windows Live Developer Forums Due to a connection problem, changes you make might not be applied to other computers you use
Hi, Due to a connection problem, changes you make might not be applied to other computers you use I am getting this error in Live Messenger for last few days... As a result, my contact list is not appearing correctly and all the contacts are missing. Anyone having same issue Thanks Fahad hmmm.. but my contacts are also unable to see me online... and my contact list also reduces and so many contact are missing... every time i sign out and signin, i see different number of contacts in my list.. quite weird... ...Show All
Visual Studio 2008 (Pre-release) Customizing WPF DataTemplates....
I have defined a dataTemplate as follows: <DataTemplate x:Key="photoTemplate_Small"> <Grid Width="Auto" Height="Auto" x:Name="Grid" Margin="10,10,10,10"> <Grid.ColumnDefinitions> <ColumnDefinition/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> </Grid.RowDefinitions> <Border HorizontalAlignment="Left" Margin="0,0,0,0" Width="Auto" Background="sc#1, 1, 1, 1" x:Name="Border" BorderThickness="0,0,0,0" CornerRadius="8,8,8,8"> <Image Source="{Binding Path=ThumbNailPhoto}" Width="100" Margin="5,5,5,5" x:Name= ...Show All
Visual C# telnet problem with a ConsoleApplication
Hi there I tryed to do a small ConsoleApplication on a Windows XP. (One input, database aceess and printout) I named my application test. On the Windows XP I modifyed the login.cmd to start test.exe when a telnet session starts. When I try to to telnet this PC from an other PC on the network, everything works fine. But when I try to telnet from an Linux PC, the test.exe doesn't work. Could somebody tell me whats wrong or missing Thanks in advance and best regards Ralf rmeuser wrote: Sorry , that I didn't explain it correctly. I'll try it again. With Visual Express c# I created a ConsoleApplication.I build this application and got a test.exe from it. This execute I tran ...Show All
Visual Studio Express Editions browse for files in MFC C++
Hi there, I have been searching possible ways to put browsers for the files on my user interface that i am designing in MFC using c++. When i press the button " Browse" there will appear a dialog box and i will select the files..and press again a button on this dialog box to write the path of those files into a list file..can anybody help me many thanks in advance.. Eyup Nobugz, I used CFileDialog as you recommended and it worked quite well! :) many thanks.But i will ask for one more thing. First here is the code that i used with my browse button clicked event CFileDialog l_SampleDlg(TRUE,NULL,NULL,OFN_OVERWRITEPROMPT,"Waw Files (*.waw)|*.waw||"); int ...Show All
.NET Development XML file edit
I have a c# program that needs to update an XML element's data. I need to change the value in element lastRun. <program> <lastRun>14.11.2006 10:33:17</lastRun> <logPath>C:\Temp</logPath> </program> ... ... ... Do I need to create a copy of the file to edit it and then save it as the original name Or can I use one of the .NET tools to do this update more quickly I'm pretty new to .NET and using XML, so any help is much appreciated. Thanks. If you need to edit an XML document then you can use the XML DOM implementation in .NET, System.Xml.XmlDocument: XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load(@"file.xml"); // use XPath ...Show All
Visual C++ unmanaged C++ MD5 and C# MD5 not producing the same checksum when hashing a partial file
I'm using some unmanaged C++ source code for generating an MD5 hash (It needs to remain unmanaged). This MD5 source code generates a wonderful MD5 hash when hashing an entire file. The issue that I'm having is that when I hash only part of a file. I have another application (a C# win form) which reads an xml file looking for the checksum attribute (which was written to the XML file by the C++ application and then compares that checksum (found in the xml file) to a checksum it calculated using .NET's MD5 algorithm. Both the C++ and C# MD5 checksums agree when hashing an entire file but not when hashing a partial file (they generate different MD5 hashes). The reason I can only hash part of the file is that the checksum is located withi ...Show All
Visual C# AppendPrivatePath
Hi, I am using AppDomain.CurrentDomain.AppendPrivatePath("Plugins"); to create a directory for .dll pugins. Works fine. However the C# compiler tells me that it is deprecated and to investigate, AppDomainSetup.PrivateBinPath instead. Code completion does not find PrivateBinPath. Two questions then, Is it a problem to keep using AppendPrivatePath , and Does anyone know how to use PrivateBinPath similar to the way I have used AppendPrivatePath Thanks Jeff Hi Damon, I am creating an application that will be able to load plugins that match an interface. When it starts it will then loop through the plugins directory and detect what is there and I will then store th ...Show All
Visual Studio Crystal Report for Visual Studio 2005: where is the .msi for deployment?
Hello, I understand that in order to use CR in my ASP.NET 2.0 I have to install some CR stuff on the production web server. I should have two choices: - create a deployment project for the whole web application and use the merge modules to include CR dependencies OR - run a specific Crystal Report .msi package on the web server. I would rather use the second choice but I could not find the Crystal Reports installation package (crystalreports10_net_embeddedinstall.msi) on my Visual Studio 2005 Professional dvds. Thanks in advance. If you are unable to find the msi, you can build your own from merge modules available from http://support.businessobjects.com/down ...Show All
Visual C++ Help In Selecting A Popup Dialog With No User Input
I need help in selecting the proper popup dialog box to my application. I want to overlay a small dialog box over my main dialog box. This small dialog box will display a (long)working_address variable in hex format 0x123456 that will be updated many times before the box closes. This small dialog box will have no user input or buttons. I need this because the operation that's being performed takes about 30 minutes to complete and I need someway to show that the program is still working as expected. My experience in dialog boxs is only working with one at a time and I'm unable figure this out. If anyone can please help me out that would be wonderful. For this modeless dialog box, do I use the Resour ...Show All
Software Development for Windows Vista what can i do to render video(from mobile built in camera CCD)to a memory
Hi: I am a newbie,i want to capture the video into memory for example: a buffer (not a file),but i don't know what to do also,i thick it may works,if i write a filter named CSample(derived from CTransInPlaceFilter),and use the CSample::Transform(IMediaSample *pSample) then implement pSample->getpointer(pbuffer); 1.does the pbuffer filled with sample from upstream . If the method is not correct please tell me. 2.Is there any document that can teach me step by step thank you! Yes, pbuffer points to the bitmap data. At the time the Transform method gets called, the sample is already filled with video data. You will need to build a graph including your came ...Show All
