error

LoadLibrary() - "Invalid Access Memory Location (998)"

Let me start off by saying I had one DLL loading in just fine. But when I go to load a second DLL it always errors out with a "Invalid Access Memory Location (998)" error. In my project the DLLs basically contain the code needed to run an AI. Another application I built allows you to write simple code and then behind the scenes it compi...

Easy Q: UnicodeEncodeError: 'ascii' codec can't encode character

Hi, I'm trying to pass big strings of random html through regular expressions and my Python 2.6 script is choking on this: UnicodeEncodeError: 'ascii' codec can't encode character I traced it back to a trademark superscript on the end of this word: Protection™ -- and I expect to encounter others like it in the future. Is there a modu...

What does this build error mean when compiling this program?

#include<stdio.h> #include<string.h> #include<stdlib.h> int main() { // int char str[40],ch; FILE*fp,*fp1,*fp2; fp=fopen("ide_input","w"); fp1=fopen("error_log","w"); fp2=fopen("lex_output","w"); if(fp==NULL || fp1==NULL) { strcpy(str,"file cannot be found"); fputc(str,fp1); } w...

How do I keep time without cumulative error?

How can you keep track of time in a simple embedded system, given that you need a fixed-point representation of the time in seconds, and that your time between ticks is not precisely expressable in that fixed-point format? How do you avoid cumulative errors in those circumstances. This question is a reaction to this article on slashdot....

System.ArgumentNullException in System.Threading.Monitor.Enter

I've got a code like this: Some of our clients receiving "System.ArgumentNullException in System.Threading.Monitor.Enter" in the following code block: Public Class CheckStuff Private Shared SLock As New Object Public Sub GetIt() Synclock SLock DoSomething() End Synclock End Sub End Cl...

BASS 2.4.4 Error When Making

Hello, I'm trying to make the BASS 2.4.4 library for my Linux Ubuntu Hardy Heron, but when I run make I'm getting many errors, see: [ubuntu@eeepc:~/Desktop/bass24-linux] make make -C 3dtest make[1]: Entering directory `/home/ubuntu/Desktop/bass24-linux/3dtest' cc -Os -I/home/ubuntu/Desktop/bass24-linux -L/home/ubuntu/Desktop/bass24-lin...

Resolving "'hi' is not recognized as internal or external command..." error using C++ with codeblocks on Windows Vista?

I am learning C++ in school now. Currently using C++ with codeblocks on my windows vista laptop. I noticed whenever I try to use functions from imported classes from the Clibrary I get an error in the console. " 'hi' is not recgonized as internal or external command, operable command or batch file " My code looks like this ... #includ...

Expected contructor, destructor, or type conversion before '<' token

From what I can gather from Google, I must have syntax/parsing error but I can't seem to locate it.. This is my header file: #include <fstream> #include <iostream> #include <vector> #ifndef DATA_H #define DATA_H #include "Data.h" #endif vector<Data*> DataReader(); // This is line 11, where the error is.. And this is the .cpp fil...

Flash Security Error Accessing URL with crossdomain.xml

Hello, I recently deployed a Flash application to a server, and am now experiencing errors when making HTTPService requests. I have put what I believe to be the most permissive crossdomain.xml possible in the wwwroot folder, and still get the errors. Interestingly enough, the error only seems to occur when the request is made from a d...

NHibernate - Why is connection needed to build factory if connection can be passed to session constructor?

I'm new to NHibernate and am attempting to use it to connect to DB2. After trial and error and research, and more trial and error and research, I've finally come down to an error to which I cannot find an answer. The error message reads: "The user must provide an ADO.NET connection - NHibernate is not creating it." This error is not ve...

PHP Class Variable problem

I have this class: class TestClass { var $testvar; public function __construct() { $this->$testvar = "Hullo"; echo($this->$testvar); } } And this method for accessing: function getCurrent() { $gen = new TestClass(); } I get the following error: Notice: Undefined variable: testvar in /Users/myuser/S...

Can anyone tell me why Apache will not work, for my Django?

I get this problem when I visit my domain.com. I have compared this with my other website with the SAME set-up (just different username!!!) For some reason that website works and this one doesn't. Forbidden You don't have permission to access / on this server. Apache/2.2.3 (Red Hat) Server at www.mydomain.com Port 80 In terms of perm...

How Can I Deal With Those Dead Links After Revamping My Web Site?

Couple of months ago, we revamped our web site. We adopted totally new site structure, specifically merged several pages into one. Everything looks charming. However, there are lots of dead links which produce a large number of 404 errors. So how can I do with it? If I leave it alone, could it bite back someday, say eating up my pr? On...

cleartool protect -chmod 770 <vob-tag-name> ERROR

This command does not work: cleartool protect -chmod 770 <vob-tag-name> i get the following error: cleartool> protect -chmod 770 vob-tag-name cleartool: Error: Unable to access "vob-tag-name": ClearCase object not found. The VOB tag is valid and points to the correct VOB location. What am I doing wrong? HELP! Thank you! ...

Why is my web service giving me an Error 500?

I have this web service: using System.Web.Services; namespace Contracts { [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] public class Second : System.Web.Services.WebService { [WebMethod] public ...

JScript error in XVal, Has anybody seen this error?

Microsoft JScript runtime error: 'this.Plugins[...]' is null or not an object coming from this code: var xVal = xVal || { Plugins: {}, AttachValidator: function(elementPrefix, rulesConfig, pluginName) { if (pluginName != null) this.Plugins[pluginName].AttachValidator(elementPrefix, rulesConfig); else...

Error while browing WCF service

2009-11-03 16:36:10,818 [3404] ERROR WebApplication.Global [UserHostAddress: [::1] ApplicationSource [//TestService.svc]] - Application_Error handled Exception: Stack trace for 1 exception(s). Root cause at the top. 1: An item with the same key has already been added. System.ArgumentException inside C:\Windows\assembly\GAC_MSIL\Sys...

Why does hg clone of hg.netbeans.org/main report "9 integrity errors"?

I just finished cloning the (huge) netbeans repository for the second time. I found that I couldn't successfully pull changes, after my first attempt to clone, earlier this week. I guessed that some intermittent error had corrupted the repository the first time around... that appears not to be the case. I'm using hg 1.3.1 on Ubuntu 9.4...

RibbonLib will not build, exits with code 3 (can't find the file)

I am trying to compile this Ribbon Libray (http://windowsribbon.codeplex.com/) but it says there are some files missing, which I have then gone to in explorer and they are indeed missing, and I have no idea why (I haven't removed any files). Error 1 The command ""%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\UICC.exe" "C:\User...

PHP - MySQL connection not working: 2002 No such file or directory

I tried to use WordPress, and it would never work. I have apache and mysql running, the accounts and database are all set up, there are no typos. So I tried to make a simple connection: <?php $conn = mysql_connect('localhost', 'USER', 'PASSWORD'); if(!$conn) { echo 'Error: ' . mysql_errno() . ' - ' . mysql_error(); }...