Jump to content


Photo

System Information Dll


  • Please log in to reply
93 replies to this topic

#61 Pallas

Pallas

    GMC Member

  • GMC Member
  • 94 posts

Posted 19 July 2008 - 10:30 AM

Hi, great DLL you've got there!

In my game I only need to get the username of the PC frequently. I could either use your DLL or the environment_get_variable("USERNAME") function. Are there any advantages of using your DLL? Is it faster?

Great work! ;)

Pallas
  • 0

#62 Daniel-Dane

Daniel-Dane

    GMC Member

  • New Member
  • 3581 posts

Posted 19 July 2008 - 11:32 AM

I wouldn't have set_drive_name() in there. It's no practical use (for a GM game) and can only be used to cause harm.
  • 0

#63 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 19 July 2008 - 06:59 PM

Daniel-Dane
Perhaps, but someone may have a use for it. This DLL wraps some WinAPI functions, and therefore blame Microsoft for including this functionality, not me. I am simply wrapping some parts of their API.

And yes, this may be used in System Information programs. However, I request that you email me regarding commerical or shareware project use.
  • 0

#64 death-droid

death-droid

    GMC Member

  • GMC Member
  • 2599 posts

Posted 20 July 2008 - 12:46 AM

Daniel-Dane
Perhaps, but someone may have a use for it. This DLL wraps some WinAPI functions, and therefore blame Microsoft for including this functionality, not me. I am simply wrapping some parts of their API.

And yes, this may be used in System Information programs. However, I request that you email me regarding commerical or shareware project use.


OMG this can XD

Thank you so much i really needed this.

Oh yeah if you want ill send you the gex and ged once ive put it together in a gex

Edited by death-droid, 20 July 2008 - 12:47 AM.

  • 0

#65 MrJackSparrow2

MrJackSparrow2

    GMC Member

  • GMC Member
  • 493 posts

Posted 11 August 2008 - 02:10 AM

I think there is an error with the RAM functions.
Click Here for Image


The amount is in KB! not Gb! 2GB is 2048 KB!

2048 MB makes 2 GBs.

The dll returns 2 GBs of ram, NOT 4.
  • 0

#66 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 11 August 2008 - 09:00 PM

Obviously this DLL did not work with your computer, which is strange, as it is the only problem I've seen in relation to this function. Also, when I download your file, AVG goes crazy on it, so perhaps you should scan your PC, just in case.

Everybody
I am working on a few more functions, which have been suggested in this topic. Release soon, if all goes well.
  • 0

#67 MrJackSparrow2

MrJackSparrow2

    GMC Member

  • GMC Member
  • 493 posts

Posted 11 August 2008 - 10:06 PM

Whats wrong with the file, it's a standard png saved in ms paint?

Edited by KC LC, 12 August 2008 - 12:38 AM.

  • 0

#68 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 12 August 2008 - 02:50 PM

MrJackSparrow2
Not too sure, AVG reports a Trojan.
  • 0

#69 Seamonster

Seamonster

    Meow!

  • New Member
  • 743 posts

Posted 12 August 2008 - 03:59 PM

Ive downloaded the lastest version, and here are some function requests, some have been mentioned before, and some you might already be working on:

CPU Model (example Pentium 4, Althon 64)
CPU Speed (example 733MHz, 3200MHz or 3,2Ghz)
Video RAM
Graphics Card Model
Direct X version

Edited by Seamonster, 12 August 2008 - 04:00 PM.

  • 0

#70 gandalf20000

gandalf20000

    GMC Member

  • New Member
  • 478 posts

Posted 17 August 2008 - 10:11 PM

I hope that the DLL can be updated soon. I can think of a great use if you update it with the requested features!
  • 0

#71 hiro-niro

hiro-niro

    GMC Member

  • New Member
  • 707 posts

Posted 20 August 2008 - 06:06 PM

This is great!
  • 0

#72 MrJackSparrow2

MrJackSparrow2

    GMC Member

  • GMC Member
  • 493 posts

Posted 20 August 2008 - 06:45 PM

MrJackSparrow2
Not too sure, AVG reports a Trojan.

Must a false positive. It's a standard png; windows live one care, and symantec antivirus both come back clean.

Any idea what's wrong with the ram function?
  • 0

#73 AnSq

AnSq

    GMC Member

  • New Member
  • 7 posts

Posted 20 August 2008 - 10:06 PM

It says my OS is Windows XP, but I have Vista.

Other than that it's great!

EDIT1: I redownloaded it and it works now. ;)

Edited by AndySquirrel, 21 August 2008 - 05:37 AM.

  • 0

#74 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 20 August 2008 - 11:03 PM

Both of these problems seem to be originating from the WinAPI itself, rather than my wrapper. I can't say I'm too sure why, but you would be best checking out your PC, in case (AndySquirrel) your OS is pirated, or broken, and (MrJackSparrow2), your RAM is installed correctly.

Otherwise, email Microsoft! Its their API ;)
  • 0

#75 brawllegend

brawllegend

    GMC Member

  • New Member
  • 204 posts

Posted 21 August 2008 - 12:01 AM

Well, I have some ideas. I don't really need them but I'm just throwing them out there anyways...

1. It would be nice if the game could check to see if a mouse, keyboard, printer, usb device, etc. is connected.
2. A function that checks if the computer is connected to the internet.
3. A function to check if a working router and/or modem are connected.
4. A function that finds the best wireless/wired network that the computer can connect to (in reach and not secured).
5. A function to connect to a wireless/wired network.
6. A function to disconnect from a wireless/wired network.
7. A function to check if a wireless/wired network is secure.

Well, if you could somehow make it prompt the user for the WEP key, I guess secured ones would work too.

Edited by brawllegend, 21 August 2008 - 12:09 AM.

  • 0

#76 Skaterboy991

Skaterboy991

    GMC Member

  • New Member
  • 243 posts

Posted 26 August 2008 - 12:07 AM

Mirror please? Like file front, megaupload, will host for food?
  • 0

#77 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 28 August 2008 - 04:32 PM

Everyone
Primary Download link changed to my server. Update is still in progress.
  • 0

#78 dhuyd

dhuyd

    GMC Member

  • GMC Member
  • 257 posts

Posted 02 September 2008 - 02:22 AM

first off, awesome DLL. Secondly one suggestion I have is that you make a variable to change the unit of time on the battery life total and the battery life remaining to minutes, hours, days, weeks...

besides that it's awesome
  • 0

#79 MrJackSparrow2

MrJackSparrow2

    GMC Member

  • GMC Member
  • 493 posts

Posted 10 September 2008 - 02:54 AM

first off, awesome DLL. Secondly one suggestion I have is that you make a variable to change the unit of time on the battery life total and the battery life remaining to minutes, hours, days, weeks...

besides that it's awesome

Well, I'm pretty sure it comes back in seconds, so:
Minutes = floor(Seconds/60);
Hours = floor(Minutes/60);
Days = floor(Minutes/24);

Edited by MrJackSparrow2, 10 September 2008 - 02:54 AM.

  • 0

#80 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 991 posts
  • Version:GM:Studio

Posted 10 September 2008 - 12:52 PM

error: failed 2 run the game.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users