Search:
Type: Posts; User: Thingol
Search:
Search took 0.02 seconds.
-
February 5th, 2005, 03:14 PM
Get HDPARM's source code and try to understand it. There's no need for assembly.
http://freshmeat.net/projects/hdparm/
-
February 5th, 2005, 12:40 PM
Try JDIC ( https://jdic.dev.java.net/ ). It has an implementation of tray icons in Java.
-
February 5th, 2005, 12:36 PM
Some hints (or cookie recipes):
To generate the sequence 0, 1, 2, ... n-1:
for (int i = 0; i < n; ++i) {
}
To generate the sequence 1, 2, ... n:
for (int i = 1; i <= n; ++i) {
}
-
October 27th, 2004, 04:18 PM
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
main () {
cout << hex << setw(2) << setfill('0') << 0x00 << endl;
cout << hex << setw(2) <<...
-
October 27th, 2004, 04:11 PM
getenv does not crash if the environment variable is not found: it returns NULL.
You need to test against NULL before using the result of "getenv" in your programs.
For instance:
#include...
-
October 25th, 2004, 12:32 PM
1/3 will give theoretically 0.333333333333.... so your question is not easy to answer. In practice 1.0 / 3.0 will give a finite floating-point number that is very close to 1/3 but is not...
-
October 14th, 2004, 03:01 PM
There are three famous C and C++ encryption libraries freely available:
OpenSSL - http://www.openssl.org - used in every web server (except Microsoft IIS and Netscape Web Server) you know.
...
-
October 14th, 2004, 02:47 PM
Download a trial copy of IBM Rational PurifyPlus or Compuware Numega, install it, run your program and check for problems.
It's faster and safer than modifying your program.
-
October 14th, 2004, 02:37 PM
-
October 14th, 2004, 02:28 PM
Ctrl+C = 3
Ctrl+Z = 26
Ctrl+<letter> = numerical order of the letter: A = 1, B = 2 ...
- but -
if you're running a non-graphical app, Ctrl+C will trigger the program termination.
-
September 24th, 2004, 03:08 PM
Maybe you're supposing that the initial values of variables and member variables are zero. Use the compiler option /RTCu (Uninitialized local usage checks) and correct all errors that will appear in...
-
September 24th, 2004, 03:03 PM
Search MSDN for MediaArrival, DeviceArrival, AutoPlay and IHWEventHandler
-
September 24th, 2004, 02:58 PM
APIs: GetFileVersionInfoSize , GetFileVersionInfo, VerQueryValue
-
September 22nd, 2004, 01:39 PM
"void*" is not an "Automation" type.
You can try returning a Long, that a VB program can use as a "opaque handle".
Remember: the main consumers of ActiveX controls are VB programs, that have no...
-
September 20th, 2004, 08:51 AM
a) Assembly language is not new at all. It has more than 50 years...
b) It's as powerful as nitroglycerin.
You are not supposed to use it in large amounts (hard to write, harder to maintain, truly...
-
September 20th, 2004, 08:42 AM
You're saying good old MS-DOS (and the similar things like DR-DOS, FreeDOS etc)? MS-DOS supports anything because it does almost anything (MS-DOS is not a true operating system at all...). If you...
-
September 17th, 2004, 03:40 PM
a) You could write an applet or an ActiveX Control that downloads the data sent by the JSP, and make the applet show the status bar.
b) Don't bother about it, simply set the content-length correctly...
-
September 17th, 2004, 03:37 PM
You'll need to write an applet (you can choose to write a 1-pixel applet, just for using its public methods), and learn about LiveConnect in devedge.netscape.com site. (Maybe you'll need to check the...
-
September 17th, 2004, 01:38 PM
Q: How to use the hash_map class in C++
A: If you have Visual Studio .NET 2003 you can try the 'hash_map' class instead of the map if you want to use hash tables instead of binary trees to store...
-
September 17th, 2004, 08:53 AM
It's always good to think in VB first and then define the IDL interface to your COM DLL.
For instance, if you have a "(ByRef P As String)" (or "P As String") you'll translate it as ([in,out]BSTR...
-
September 17th, 2004, 08:49 AM
Maybe IsBadReadPtr?
from MSDN:
IsBadReadPtr
The IsBadReadPtr function verifies that the calling process has read access to the specified range of memory.
BOOL IsBadReadPtr(
-
September 15th, 2004, 04:27 PM
But when I try to run the executable on a W98, the resulting error
says something like the executable is linked to missing export
mfc.DLL.688
You'll have to redistribute the correct version of...
-
September 15th, 2004, 04:23 PM
Maybe you'll have to use make_pair.
The declaration of make_pair is:
template<class T, class U>
pair<T, U> make_pair(const T& x, const U& y);
so you can use make_pair<NMKey,...
-
September 15th, 2004, 04:21 PM
Itr = MMIDCache.insert(Itr, MMIDList::value_type(NMKey, MMIDStructs));
Is MMIDList a map<>?
If yes, value_type is a typedef:
typedef pair<const Key, T> value_type;
so you want to use of of the...
-
September 15th, 2004, 02:45 PM
Ohoh, Windows CE is a different beast. There's no GDI+ or other amenities available for Windows CE, I guess.
I've seen a Windows CE in a single-processor x86 board, and it is being used for a small...
|
Click Here to Expand Forum to Full Width
|