Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for hahanottelling

Can anyone help me with displaying text in a C++ window? I've read the chapter 9 at winprog but it makes no sense to me. here's the code I'm using: [code]#include <windows.h> #include "resource.h" /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Member Avatar for Nick_3
0
5K
Member Avatar for slaufer

Hi. I'm hoping someone here is familiar with x86 optimization, because I'm stumped. I wrote two programs that find prime numbers in the same way, [URL="http://endlessbeta.org/code/prime.asm"]one in assembly[/URL] and [URL="http://endlessbeta.org/code/prime.c"]one in C[/URL]. It seems that no matter what I do to the assembly version, the C version is always faster …

Member Avatar for hahanottelling
0
103
Member Avatar for hahanottelling

If you want your program to startup automatically when the user logs in, just paste this code into it. To add as a HKLM (For all users) startup item instead of HKCU (Current User), change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE. I'm posting this because I had a hard time figuring this out …

Member Avatar for WaltP
0
2K
Member Avatar for vesnushka

Hi everyone!! Help me please with my script. I'm using Perl Express for scripting in . This is my script: [CODE]use warnings; use strict; open (file,'C:\Documents and Settings\soea\Desktop\Test.docx') || die "Can not open: $!\n"; @file = <file>; for (my $i = 0; $i<=scalar(@file)-1; $i++;) { if ($f[@file] =~ /^Exec.+\n/) { …

Member Avatar for vesnushka
0
316
Member Avatar for hahanottelling

[CODE]TCHAR exepath[MAX_PATH]; GetModuleFileName(0, exepath, MAX_PATH); HKEY hKey; LONG lnRes = RegOpenKeyEx( HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0,KEY_WRITE, &hKey ); if( ERROR_SUCCESS == lnRes ) { lnRes = RegSetValueEx(hKey, "YourProgramsName", 0, REG_SZ, exepath, strlen(exepath)); }[/CODE] To add as a HKLM (For all users) startup item instead of HKCU (Current User), change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE. …

Member Avatar for cikara21
0
115
Member Avatar for azwraith69

hello.. thx in advance just want to ask something.. is there any portable functions that is equivalent to system("cls")? a function that clears the screen? since system() is not portable.. thx...

Member Avatar for Ancient Dragon
0
474