Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

290 Neutral

About chad_420

  • Rank
    Advanced Member
  1. chad_420

    3D Game Programming

    ewll if you can find a lib tyo load any modewl format, chances are that milkshape3d(its free!) can convert 3ds to it, so start huntin! I'd help but i dont know nuts from nose on java.
  2. chad_420

    project suggestions?

    if you're confident, you have quite a few choices. You can pick a library and learn it. You could get techinical and learn some different algorithms(this can be done without bothering with graphics if you want, think stuff like writing an AI to play poker, or chess).Some choices for libraries to learn are SDL, .NET(dont knock it till ya try it ;), DX and OGL of course. When I got to your level I dove right into Allegro(a library for c/c++) and had alot of fun working on simple 2d games. some good starting 2d games are asteroids, a marioish game(easier than you would think! the art was far harder than coding) a tetris game(challenging game logic simple gfx). or pac man which i think is best if you really wanna exercise your skills. it offers a well rounded project, 2d gfx, collision detection, controls, simple AI and its fun to show off to your friends!
  3. chad_420

    keeping something on screen

    if your compiler supports it( just try it to see) you can use conio.h for some useful functions like: clrscr() //clears screen gotoxy(int x, int y) // puts cursor at xy if you use dev-cpp you can get a cool version of it in and easy to use devpak from http://conio.sourceforge.net/ good luck, happy coding!
  4. to elaborate on release/debug builds a little more. Debug builds have extra info in them called debug symbols, its what lets your debugger show you the variables names(otherwise it could only know its memory address). Release executable therefore should be a bit smaller than debug versions, though this is often trivial. Also, debug versions link to libraries that also have debug symbols. This means that most peoples systems couldnt run debug builds because they lack the right libraries. If you look at a typical msvc programs link options, it will have msvcrtd.lib for debug(MS C Runtime library-debug) and msvcrt.lib for release. this is one of the reasons why msvc++ keeps the link setting seperate between builds.
  5. chad_420

    Advantages of .NET Programming with C++

    I cant say much about using c++ with .net other than it feels kinda sloppy with me so i didnt use it long(and havent gotten around to trying c++/CLI) but it was love at first sight with c# and the .NET, i havent gone back yet.
  6. chad_420

    (750k of pics)Help my LCD monitor work!!

    Well ive tested the cable, swapped it with another monitor that had a removable cable, both cables worked for the crt and neither for this lcd. I think that rules out the cable. I wish the monitor had a DVI connector anyways, but it doesnt. What to do next? set it up next to mydesk and switch it on and off everytime i walk by... Im open to suggestions i guess lol.
  7. chad_420

    (750k of pics)Help my LCD monitor work!!

    Nope no warranty unfortunatly. and 720x400 is(apparently) the equivilant of 40x80 text mode. atleast i think so... the computer its plugged into is just sitting at the dos prompt(real dos too, boots off a 720k floppy lol). I have tried it at every combination of refresh and res i could to no avail. Oh well, atleast my crt still looks Ok. the lcd just looks alot better(or would i suppose i should say.) Thanks for your suggestions anyways though maybe ill get lucky and itll just work one of these times, i wont give up right away.
  8. chad_420

    (750k of pics)Help my LCD monitor work!!

    Ok, Ive looked at the cable closely. No bent pins, no creases in the cable. I have moved the cable around on its connector and it has no effect on the picture. I switched it on a another pc and it behaves the same. I know my vid card is ok because im using it as i type. I know the damn thing has worked ive seen it with my own eyes... kinda frustrating. Im starting to think the electronics in the monitor may be toast. that would be sad.
  9. chad_420

    (750k of pics)Help my LCD monitor work!!

    well its a removeable cable, so i could replace it if its messed up. heres th thing, I have only this monitor with removeable cable, the rest are built into monitor, so how would i got about testing it? I could take a multimeter to the pins but im not sure that would help me as im not quite sure what im lookin for. Thanks for your time though, you've given me a new point to start from.(I sure hope its a defective cabel :D)
  10. chad_420

    My pc is acting up help!

    possibly video card over heat. dependsing on mobo it might let you know somehow, different tone or pattern of beep, one asus i ran into even played a voice recording through the pc speaker.
  11. Ive seen it work before, and it has acted similarly in the past. It dislpays garbage on the screen, similar garbage no matter what it is supposed to be showing. Even animated stuff produces garbage that doesnt move on the screen. I cant figure this out, anyone else seen this before? btw the screen shot showin mode info was takin while the computer is sitting at the standard fullscreen msdos prompt.(not a command shell in windows)
  12. Or start a console project and use the same code
  13. Basically i want to call some funcs i have written in c++ from c#. I think im putting together my dll correctly... but when my program try to PInvoke it it throws an exception saying it cant find the dll. The platform im trying to do this on is Pocket PC 2003. maybe there is something wrong with my code or technique. I compile the dll, and I've tried putting it in the windows directory and in my app's directory on the device (tried on a the emulator, I have ppc but havent seen if it works on device or not.). here is the dll's code: irdll.cpp, when i created this project in msvs2k5 I went to c++ smart device, then mfc dll then mfc shared dll(dynamically linked) // irdll.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include "irdll.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CirdllApp BEGIN_MESSAGE_MAP(CirdllApp, CWinApp) END_MESSAGE_MAP() // CirdllApp construction CirdllApp::CirdllApp() { // TODO: add construction code here, // Place all significant initialization in InitInstance } // The one and only CirdllApp object CirdllApp theApp; // CirdllApp initialization BOOL CirdllApp::InitInstance() { CWinApp::InitInstance(); return TRUE; } UINT __cdecl FindPortIndex() { // Look into the registry for the IRDA port number HKEY hKey = NULL; //if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Drivers\\BuiltIn\\IrCOMM"), 0, 0, &hKey) == ERROR_SUCCESS) if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("Comm\\IrDA"), 0, 0, &hKey) == ERROR_SUCCESS) { DWORD dwType = 0; DWORD dwData = 0; DWORD dwSize = sizeof(dwData); if (RegQueryValueEx(hKey, _T("Port"), NULL, &dwType, (LPBYTE) &dwData, &dwSize) == ERROR_SUCCESS) { if (dwType == REG_DWORD && dwSize == sizeof(dwData)) { RegCloseKey(hKey); return (UINT) dwData; } } RegCloseKey(hKey); } return 0; } here is irdll.h // irdll.h : main header file for the irdll DLL // #pragma once #ifndef __AFXWIN_H__ #error "include 'stdafx.h' before including this file for PCH" #endif #include "resourceppc.h" #define DLLEXPORT __declspec(dllexport) #ifdef __cplusplus extern "C" { #endif DLLEXPORT UINT __cdecl FindPortIndex(); #ifdef __cplusplus } #endif class CirdllApp : public CWinApp { public: CirdllApp(); // Overrides public: virtual BOOL InitInstance(); DECLARE_MESSAGE_MAP() }; Ok and here is my C# project that attempts to use it Ir.cs using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Reflection; namespace IrApp { class IR { [DllImport("irdll.dll")] public static extern uint FindPortIndex(); } } and Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace IrApp { public partial class Form1 : Form { public Form1() { InitializeComponent(); uint i = IR.FindPortIndex(); } } } All of this compiles fine, I cant figure out why it wont load my dll. Do I need a full path for DllImport? if so how do i get the equivalent of App.Path in c#?
  14. i second evc4.0, if you're familiar with good old visual c++ 6, itll be real easy to get a hang of.
  15. My opinion, is pocket pc. I have seen a ton of them around lately here in the seattle area. Many mobile phone companies are offering windows mobile 2003 devices for reasonable prices(provided you sign for a year or two...) So I say pocketpc.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!