Topics - Cpilot [ switch to compact view ]

Pages: [1] 2 3 4 5 6 7next
1
Developer's Corner / New Twist on Basic
« on: April 26, 2011, 11:28 PM »
There's a new Indy Basic that I think has a lot of potential.
MiniBasic
Accesses the API, NASM, small executable, compiles resources, OOP and some COM.
Here's an example program of a modeless dialog.
##INCLUDE "windows.inc"
##NOCONSOLE
##define IDD_DLG1 1000
##define IDC_STC1 1001
##define IDC_BTN1 1002
##define ERROR_ALREADY_EXISTS 183
@API DestroyWindow(hwnd:int),int
@API CreateDialogParamA(hInstance:int,lpTemplateName:pointer,hWndParent:int,lpDialogFunc:int,dwInitParam:int),int
WINDOW win
int hinstance,hwnd,hdialog,hicon,item
win.Open(0,0,240,180,WS_OVERLAPPEDWINDOW|WS_VISIBLE|BUFFERED|CENTERED,0,"Modeless Dialog",NULL,&handler)
win.AddControlEx("BUTTON","Click Me!",120,5,70,25,0,0,100)
hicon = ExtractIconA(hinstance,"dia2.exe",0)
SendMessageA(win.GetHandle(),WM_SETICON,0,hicon)
hinstance= GetModuleHandleA(0)

do:processmessages():until win.GetHandle()=NULL
 
func handler(WINDOW wnd),int
select wnd.Message
case ID_CLOSE
DestroyWindow(hdialog)
wnd.Close()
case ID_CONTROL
select wnd.ControlID
case 100
if wnd.NotifyCode = 0 and item = 0 then
hdialog = CreateDialogParamA(hinstance,IDD_DLG1,hwnd,&ToolDlgProc,0)
ShowWindow(hdialog,SW_SHOW)
item = 1
end if
end select
end select
return 0
endf
func ToolDlgProc(hwnd:int, Message:uint,wParam:int,lParam:int)
Select Message
Case WM_COMMAND
If LOWORD(wParam) = IDC_BTN1 then DestroyWindow(hdialog)
item = 0
End Select
Return 0
endf
Give it a look, there's a demo version and if you like it it's only $21.95....License includes free updates.

2
Living Room / Homeland Security Shutting Down Web Copyright Violators
« on: November 26, 2010, 09:00 PM »
How this is a function of national security is beyond me.

Homeland Security seizes domain names
The investigative arm of the Homeland Security Department appears to be shutting down websites that facilitate copyright infringement.

Immigration and Customs Enforcement (ICE) has seized dozens of domain names over the past few days, according to TorrentFreak.
ICE appears to be targeting sites that help Internet users download copyrighted music, as well as sites that sell bootleg goods, such as fake designer handbags.
The sites are replaced with a note from the government: "This domain named has been seized by ICE, Homeland Security Investigations."

3
General Software Discussion / A cool Screen saver
« on: June 29, 2010, 09:30 PM »
I ran across this really cool screen saver written in ZGameEditor that really impressed me.
You can find it here.
http://www.emix8.org/forum/viewtopic.php?t=680
The guy who wrote it really deserves some kudos, it's very impressive IMO.
I included a little screen shot but to see it in motion is pretty cool.

4
Living Room / FCC Moves to Regulate Internet
« on: June 20, 2010, 11:12 AM »
Hold on to your wallets.
FCC Moves to Regulate Internet--Even Though the Law Calls for Internet to be 'Unfettered by Federal or State Regulation'
(CNSNews.com) – The Federal Communications Commission (FCC) voted on Thursday to begin the formal process of bringing the Internet under greater federal control – a move sought by both President Barack Obama and FCC Chairnman Julius Genachowski--even though federal law calls for an Internet "unfettered by Federal or State regulation."
 
This step comes after the federal D.C. Circuit Court of Appeals in April rebuked the FCC in its attempt to enforce a controversial regulatory doctrine called Net Neutrality, which  would allow the government to prevent private Internet providers from deciding which applications to allow on their networks.
 
The court said that the FCC did not have the authority to prevent Comcast, specifically,  from blocking certain peer-to-peer Web sites.
 
The FCC is now trying to reclassify the Internet to broaden its authority over the Web. Currently, the FCC only has “ancillary” authority, meaning it can regulate Internet access only in the process of regulating another service that it has direct authority over, such as television or cable.
 
The 3-2 party-line vote on Thursday at the FCC began the formal process of reclassifying the Internet as a telecommunications service instead of an information service – its current classification. This is necessary because, as an information service, the government has little power to regulate Internet networks.
 
As a telecommunications service, such as a telephone network, the Internet would fall under a much broader regulatory scope – giving the government the power to enforce universal service requirements, making them pay into a federal universal service fund used to provide communications services to poor areas.
 
The FCC will now begin the mandatory public comment period, where it will solicit input from private companies and citizens about whether it should reclassify the Internet and, if so, how it should do it.
 
The Commission has three options for going forward. First, it can decide not to reclassify the Internet at all, continuing to treat it as an information service. Second, the FCC can completely reclassify the Internet as a telecommunications service, granting the Commission broad powers over it. Third, it could seek a middle ground, reclassifying the Internet as a telecom service but exempting Internet providers from most of the regulations associated with other telecommunications services.
 
This last approach, presented at the hearing as the “third way,” is the preferred avenue of Genachowski, who unveiled the plan in May.
 
The “third way” approach would still allow the government the authority to heavily regulate the Internet because it would be classified as a telecom service. However, under this approach, the FCC claims it will exercise “forbearance,” a regulatory doctrine whereby the government promises not use its regulatory authority in most cases.
~snip~

5
Living Room / Evil, evil trojans and virii
« on: August 21, 2008, 11:55 PM »
This week I've had the pleasure of fighting with a persistent and evil Trojan/virus on my system that finally required a wipe of my hard drive and installation of Windows XP.
No anti-virus software that I tried wouldn't even recognize that I had a Trojan/virus.
What it would do is execute an instance of IE and display various advertising webpages and slow my system down. The offending executable would show up in the task manager as dEmE3H1V.exe.
A search of the system would show dEmE3H1V.exe_pf in the windows pref etch folder and dEmE3H1V.exe with dEmE3H1V._a_a in the system32 folder.
Deleting them of course was futile as they would replicate themselves at a later time.
After they were deleted IE would close due to an error in D6M3t6p7.dll, Of course I have no idea what this browser "helper" was supposed to do. Disabling it had no effect.
Googling these items showed no results.
The result of these "items" running was multiple crashes and a slowing of my system, I believe that this virus/Trojan was picked up through my sons My Space account.

It's already too late to save myself from the damage caused by these but I wanted to post a warning and maybe get some input on protecting systems from possible unknown threats that others may have encountered, and start a thread on real time little known threats that are out there and how to fix or avoid them.

Pages: [1] 2 3 4 5 6 7next
Go to full version