• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

108 Neutral

About NeXuS15

  • Rank
  1. Does anyone know some good books on MDX for a beginner, and one to read to get to an advanced level and beyond, further, I would prefer it be in C# although it's not necessary. Thanks in advance.
  2. Security

    I have been wanting to learn about security since I first began programming, but I never tried to because I've always been learning something else. Now that has changed, I was wondering if any of you know what I should start with to begin learning about networking and security. I know this is a very broad topic but I want to learn it thoroughly. What I need to know to begin learning it though, is what do I need to learn, obviously there's some C/C++ involved, but there has to be other langauges/protocols/APIs to learn. Furthermore, can anyone recommend books to read that will catch me up on the exploits and how to defend against them or a site that would know some good books to read on the subject. Any help on this topic would be greatly appreciated so thanks in advance.
  3. I was looking into some books to learn the Win32 API and found several reviews for various books that stated that Microosft was phasing out the Win32 API and was slowly moving into managed code using the compact framework. My questions are, is it still worthwhile to learn the Win32 API using C/C++ or should I just learn managed Win32 (also is there a specific name for it?) if so what language is the most commonly used or will become in the near future. Furthermore, is this just a Microsoft movement or is this a movement that is or is going to affect the whole programming community? Moreover, is this a move that is going to stick, it just seems stupid to me (although I don't know too much about these topics) to sacrifice the speed and control of an unmanaged language like C to use managed code. I know I've asked several questions but answers to any of them or any other information like what language Microsoft uses to develop Windows, or if managed code is superior to unmanaged code or vice versa would be greatly appreciated. Thanks in advance.
  4. [.net] Variable Context

    They're all under the same namespace, but different classes. I tried using the same class name but it said it was already used.
  5. I'm creating a program in XNA and whenever I try to compile the code it says there's certain variables like the player position do not exist in the current context in other files. I've tried making the variables public, static, private, and protected, but nothing seems to work. Any help?
  6. I'm writing code in XNA for a windows game application and when i call SRGame game = new SRGame(); it says SRGame cannot be accessed due to it's protection level which can't be because it's a public class right? Here's the code from the library that I'm using to call it from, and yes I have it referenced correctly. public SRGame() { myGraphics = new GraphicsDeviceManager(this); Window.AllowUserResizing = true; Window.ClientSizeChanged += new System.EventHandler(Window_ClientSizeChanged); }
  7. [.net] Transparent Window?

    Quote:Original post by Tonni i bet the window content does not change if you move the window. what is displayed depends on what was shown in the window's area right before the window itself had shown up if that is the case, you need to switch the backbuffers. for example, if you were using OpenGL you have to call glSwapBuffers() after each frame rendered Yes, that's what's happening, but I'm using MDX 1.1, so what function do I need to call?
  8. I am writing a basic program to render a simple sprite to the screen with a blue background. The program compiled fine, but when it ran a window came up, the problem was that the window was completely transparent in that I could see the border of it fine, but the inside was showing exactly what was behind it be it the Visual Studio C# screen or my desktop, whatever. Any help on this matter would be greatly appreciated because it's been happening since I tried to render a blank window. Thanks in advance for any help you can offer.
  9. AnotherProblem

    Thanks for the help on the LoadLock problem, but I'm having another unfortanately, any help would be great. [Edited by - NeXuS15 on November 27, 2006 10:54:46 PM]
  10. I'm wrote some code to render a basic sprite to the screen with a blue background and when the project builds a window pops up with nothing in it so that I can see everything behind it. Any ideas as to what might be wrong. [Edited by - NeXuS15 on November 27, 2006 5:53:17 PM]
  11. XNA?

    I was wondering how exactly XNA is going to work when the final build comes out. What I've read about it basically says it will allow you to create your own games for the 360 and Windows. I was curious as to whether or not the final build will support DirectX or will another technology be used? If so, what technology. Furthermore, I'm curious about whether or not the professional edition will actually allow you to create commercial titles, I mean will it allow you to create titles of that caliber say for a submission to microsoft to get it signed and how much will that cost (I know I probably won't ever have those kinds of skills, but I'm just curious)?
  12. D3D and Visual Studio 2005

    I tried creating a program to draw a triangle to the screen but the triangle wouldn't show up, so I tried the SDK sample to see if it was something with my graphic card, but the sample worked, so after playing around with the program some more, I couldn't get it to work, so I copied the copied the SDK code into a new blank project and the window popped up as a white and red irratically stripped background with blue dots, which leads me to believe it's a problem with the project settings. Any help that any of you can offer would be greatly appreciated.
  13. Black Window Question

    I'm using multi-byte charachter set but now I'm getting this error d3drenderpractice.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "long __cdecl InitD3D(struct HWND__ *)" (?InitD3D@@YAJPAUHWND__@@@Z)
  14. Black Window Question

    Yes, I have done all that and I have fixed the problem, but now I have a problem in the initialization and converting after I copied the source to my own blank project instead of saving to the tutorial project. This is what the errors say. error C2440: 'initializing' : cannot convert from 'const char [13]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [13]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast error C2664: 'UnregisterClassW' : cannot convert parameter 1 from 'const char [13]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Btw, I include d3d9.h and strsafe.h, and have tried windows.h but the same errors came up.
  15. I'm using slightly edited code from the SDK samples to render a black window in D3D, but now the program doesn't show the screen after it builds. Here is the code for the initialization of D3DPRESENT PARAMETERS the only part I changed besides making it hardware vertex processing instead of software, I am using Visual Studio 2005 btw... D3DPRESENT_PARAMETERS d3dpp; d3dpp.BackBufferWidth = 800; d3dpp.BackBufferHeight = 600; d3dpp.BackBufferFormat = D3DFMT_A8R8G8B8; d3dpp.BackBufferCount = 1; d3dpp.MultiSampleType = D3DMULTISAMPLE_NONE; d3dpp.MultiSampleQuality = 0; d3dpp.hDeviceWindow = hWnd; d3dpp.Windowed = false; d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD; d3dpp.EnableAutoDepthStencil = true; d3dpp.AutoDepthStencilFormat = D3DFMT_D24S8; d3dpp.FullScreen_RefreshRateInHz = D3DPRESENT_RATE_DEFAULT; d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE; [Edited by - NeXuS15 on October 25, 2006 9:03:25 PM]
  • Advertisement