I was wondering if anyone had any known resources on how/why Windows deals with registering and subsequently loading DLLs. For example, on Linux there a library search path whereas Windows somehow uses the registry to find and load dlls. (Atleast from what I can tell)
I haven't really found...
I'm trying to learn C and/or C++ because I've been programming in languages that take care of the dirty work for me (bounds checking, garbage collection, etc) and I think the experience would be beneficial. Generally when I've wanted to learn a new language I've had a project I wanted to write...
Finally figured it out.
The asynchronous methods don't throw the exception but pass them along with the EventArgs object to the DownloadComplete event. (Someone correct me if I'm still wrong on that)
I'm using the C# WebClient object and if I run the method 'DownloadFileAsync' and the remote file does not exist (AKA, I get an http 404 from the server) a WebException is not thrown. However, all of the synchronous calls do raise the exception.
The only way I can tell if the server return a...
Thanks everyone for your replies and mike for demonstration. The question was more out of pure curiosity and trying to expand my own knowledge. The code is in Python if it makes any difference.
Quick question. Is it anymore efficient, in terms of execution speed, to write a line of code like
answer = sanitizeInput(raw_input(wrapText(questionStr), lineWidth)).upper()
versus breaking it up into multiple lines to something like this maybe
answer =...
I'll keep what you said in mind. I'm not really the argumentative type anyways. :p
Upon further investigation that company appears to be a service provider/co-location company so who knows who actually owns the actual ip address. No reverse dns on it either.
Thanks for the quick replies
I was skimming through my logs and found a host that was trying to brute force log into our SSH server at work. They never made it in successfully. I looked the IP up at whois.domaintools.com and found that it belongs to a company in my country (U.S). "Mzima Networks Inc" to be exact...
Can...
I've installed vmware-tools numerous times but they been on mostly Debian based systems. I've installed them on RHEL5 and I dont remember having the problems you stated.
You could try running the script that tar.gz file instead of the rpm.
I have a couple workstations in our network that have additional network adapters that VMware Workstation creates. Is there anyway to have these be excluded from the dynamic dns that AD does?
NOTE: Quick note for anyone who uses this thread for a solution. You may need to run "no ip redirects" or else your user's routing tables will be full of useless routes to internet hosts
Actually the secondary address would work better in my case. That way I wont have to worry about...
VMware Workstation along with Visual Studio, Eclipse, etc. And then from time to time I'll play some Crysis :p
Running on Vista 64bit and Debian Etch x64
Thanks for your help guys. This where I'm at right now
I added the static route for the 192 network on the pix. The pix routes the traffic to the vlan199 interface. I also added the default route on the switch which goes to the pix. I can ping the pix successfully from vlan192 which is good. I...
Our network looks like this from top to bottom. I left our outside addresses out, just know the pix is doing pat.. (if it matters)
(Gateway Router) <--> (Pix 515 - 199.0.9.1) <--> (Cat 3550 vlans 1 & 2) <--> non-managed switches
vlan1 virtual interface address is 192.168.200.1
vlan2 virtual...
I still have to route if I'm connected? If so, how should i set up the route? I tried a static earlier and got this
catalyst3550(config)#ip route 192.168.200.0 255.255.255.0 192.168.200.1
%Invalid next hop address (it's this router)
I'm in the process of trying to move our companies network over from a public address range (199.0.9.x/24) which we dont own to a private range (192.168.200.x/24). I have a catalyst 3550 that I want to do the routing with. I have two vlans set up, one for the old subnet and one for the new...
I'm trying to set up Etherchannels for our Proliant DL380s with LACP. Using HP's networking configurator I set the two interfaces to a team with the type as "Automatic (Recommended)". Here are my options
Automatic (Recommended)
802.3ad Dynamic with Fault Tolerance
Switch-assisted Load...
I'm looking at purchasing a certificate for my postfix mail server but I havent seen anything about a TLS certificate or an smtp certificate. I have seen web server certificates though. Will a "web server" certificate work as well? This is the page I'm looking at...
Am I correct in saying that a smtp server will only try TLS encryption if the server on the other end advertises a "250-STARTTLS" upon EHLO?
The issue I'm having is getting TLS to work to this company we regularly send mail to. I sent him our CA certficate (we self sign) and he said he...
At work we have a Postfix/Bind/MailScanner server which is our email gateway. Bind is used for local caching and OpenDNS is our forwarder. If a user is sending an email and types the domain name wrong, Bind will get the IP of OpenDNS's "unknown domain" page.So instead of the mail instantly...
Is it possible to send post data along with javascript? Heres what I'm needing...
At work we have a KB that uses POST for its search page. I want to be able to click a link that takes the text out of say "Textbox1", then use that text as part of the post to this site. The goal is to enter the...
My problem is that if the server on the other end is not on my private network, postfix announces itself as "220 **************************************************". The server also cannot use ESMTP functions (ie EHLO). I originally made this post on linuxquestions.org but I'm not getting much...
Do you have any other Web applications running on that IIS server? If so, all apps must be 64bit. (IIS will only run in either full 32bit mode or full 64bit mode)
For example, when I installed the vmware server web console it broke my OWA because it forced IIS back into 32bit mode.
You know you could just add the line the was presented earlier to the iptables script that firestarter creates. If you don't want to get hands on with your system then maybe Linux isn't for you. Unwillingness to enter commands with the CLI does not make Linux less secure, it makes YOUR box less...
I'm sorry to hear about your son.
Question, does this need to be a "visual" robot, for instance, a robot like a shape drawn on a form that "moves" OR is this suppose to be a robot where you click a button a some text shows up on screen that says "Hi im rob robot". (I know terrible example)...
The only thing would be nicer about the current query is say for example on the data above, do not return the row that has the ids of 112 & 114 because I already know they are duplicates based off of the first two records (ids 111,112 & 111,114)
Originally my plan was to just buck up and go...
Thanks for the help from both of you. This is the query i have for the time being
SELECT T1.id, T2.id, T1.caption, T2.caption ,T1.folder, T2.folder, T1.block, T2.block, T1.place_id, T2.place_id
FROM records T1, records T2
WHERE T1.folder = T2.folder AND T1.block = T2.block AND T1.place_id...
I'm not sure how to do this with a sql query.
I have a table that contains "duplicate" records. (I quote duplicate because they are not true duplicates)
Heres the issue, i have a table that looks like this...
+----+--------+-------+----------+-------------+
| id | folder | block |...
I'm scouring the internet for any code samples on this. I only found one article and it dealt with adding a bunch of registry entries which seems like a kind of hack-ish way of doing it.
Does anyone know how to do this with CDO or MAPI classes? I'd preferably like to do this in a .Net language
Because it shouldn't be that substantial. Its not that I'm surprised the Java version is slower either because like I said I haven't profiled it or anything. I just didn't think it would execute that much slower than its php counterpart.
Wow I thought the thread was dead. Sorry about that. I never posted code because I never got a chance to adequately trace/profile the java code which I felt was unfair. Heres all the associated classes... But before you flame, there are parts of my Java code that I know are really inefficient...
and the Java version is slower..... MUCH slower. The php version running on our webserver (p4 3ghz, 1 gig ram, gentoo linux, apache) runs in about 11 seconds compared to the java version on my machine (amd64 3500+, 2gig ram, winXP) which can take upwards of a minute.
I'm running the Java class...
DirectX has a smaller, simpler API. Plus DirectX is geared towards game development as opposed to OpenGL which is strictly a graphics layer as the name suggests. DirectX has libraries for input, sound, decompression, etc. When writing a game using OpenGL you'll have to use other libraries for...