Hai,
After inclunde the library in php.ini .I try to create a project in dos window by typing like C:\wamp\www\Zend\binzf.bat create project quickstart i got a error message:"
'"php.exe"' is not recognized as an internal or external command,
operable program or batch file."
this is the error message please help me??how it was occured and a solution
I'm looking for a way to access a POP3 account while running a JUnit test. Does anyone know how to do that? I probably need some kind of library for POP3 access I guess.
Hi,
I am working on an iphone application in which I am consuming a webservice.
So i am parsing the XML file data. any idea about how to parse self closing tag
like: State/ and how to read data of self tag like: Contact Email="[email protected]" Name="PhD" Phone="123-521-3388" Source="location"/
I am parsing xml file using NSXMLPARSER class methods and library
Thanks,
I don’t fully understand the second parameter of string.Equals, and this is because I can’t find any examples of when it would actually make a difference. For example, the example given here is the same, regardless of the value of the second parameter (aside from IgnoreCase):
http://msdn.microsoft.com/en-us/library/c64xh8f9.aspx
I am just talking about the values StringComparison.CurrentCulture, InvariantCulture, or Ordinal.
I can understand the difference between these and their IgnoreCase equivalents.
Anyone here familiar with the AGNAS library? I've got SampleCoreTemp mostly doing what I want but it spikes CPU usage too much when it's active and I don't want to have to enable/disable constantly if I can find a way to adjust the polling rate instead.
I'm writing a shell for a project of mine, which by design parses commands that looks like this:
COMMAND_NAME ARG1="Long Value" ARG2=123 [email protected]
My problem is that Python's command line parsing libraries (getopt and optparse) forces me to use '-' or '--' in front of the arguments. This behavior doesn't match my requirements.
Any ideas how can this be solved? Any existing library for this?
I have a C# ASP.NET MVC application which has been using jquery 1.3.2 in VS2008 environment.
I decided to upgrade to 1.4.2 and added the file to my project. Changed the reference in my masterpage header to the new version. But now nothing works, it's like it can't find the jquery library.
What could be wrong?
Hi,
Does anyone know good and simple to use in production code R-tree (actually, any implementations - R*, R+ or PR-tree would be great)?
It doesn't matter if it is a template or library implementation, but some implementations that google found look very disappointing...
Thanks in advance.
In Visual Studio 2008, if I had a solution containing multiple C++ projects, I could make them depend on each-other and correctly link by using the "Project Dependencies" option. This fixed up the build order and also made (e.g.) the main application project link against the static library outputs.
In Visual Studio 2010, this doesn't seem to work. Did Visual Studio 2010 change the way this works?
Is there anyway I can make the process of adding references to C# projects less painfull?
Every time I create a new C# class library project. I have to use the Add Reference dialog for 5 times at least.
I'm building a windows mobile app. And using SqlCe.
I'm looking for a good sql query builder. So instead of writing "SELECT COLUMNS FROM TABLE WHERE etc...
Is there a good free library that can build this sort of query?
First off, I'm a bit at a loss as to how to ask this question. So I'm going to try throwing lots of information at the problem.
Ok, so, I went to completely redesign my test project for my experimental core library thingy. I use a lot of template shenanigans in the library. When I removed the "user" code, the tests gave me a memory allocation error. After quite a bit of experimenting, I narrowed it down to this bit of code (out of a couple hundred lines):
void VOODOO(components::switchBoard &board){ board.addComponent<using_allegro::keyInputs<'w'> >(); }
Fundementally, what's weirding me out is that it appears that the act of compiling this function (and the template function it then uses, and the template functions those then use...), makes this bug not appear. This code is not being run. Similar code (the same, but for different key vals) occurs elsewhere, but is within Boost TDD code.
I realize I certainly haven't given enough information for you to solve it for me; I tried, but it more-or-less spirals into most of the code base. I think I'm most looking for "here's what the problem could be", "here's where to look", etc. There's something that's happening during compile because of this line, but I don't know enough about that step to begin looking.
Sooo, how can a (presumably) compilied, but never actually run, bit of templated code, when removed, cause another part of code to fail?
Error:
Unhandled exceptionat 0x6fe731ea (msvcr90d.dll) in Switchboard.exe:
0xC0000005: Access violation reading location 0xcdcdcdc1.
Callstack:
operator delete(void * pUser Data)
allocator< class name related to key inputs callbacks ::deallocate
vector< same class ::_Insert_n(...)
vector< " " ::insert(...)
vector<" "::push_back(...)
It looks like maybe the vector isn't valid, because _MyFirst and similar data members are showing values of 0xcdcdcdcd in the debugger. But the vector is a member variable...
I know how to reference an existing .dll to IronPython, but is there any way to add my project as a reference like I can between Visual Studio projects?
Or is it best practice to create a separate class library?
Hi, I've downloaded the dll's for ImageMagick and am wondering if anybody knows of some example code to accomplish a simple task:
I have generated an image in C++ and have the buffer in RGB format. I need to convert it to PDF format (without writing to a file) before sending it over a TCP socket.
Is this doable with ImageMagick (or any other library)?
I am looking for a way to implement "View as HTML" (as seen in e.g. GMail) for Microsoft Office and Adobe PDF documents stored in an intranet. Can anyone recommend approaches for this?
The intranet consists of multiple .NET sites, so I would prefer a .NET library (one that doesn't launch MS Word on the server) for this capability, but any kind of arrangement is welcome.
Hello,
i need to build the same source tree twice,
1 - with normal cflags to build the project binary
2 - with cflags plus -fPIC to build a static library that would be some sort of SDK to develop project dynamic modules.
Using only one Makefile, what is the best approach to accomplish this?
It would be nice to do some sort of :
all: $(OBJECTS)
lib_rule: $(OBJECTS)
CFLAGS += -fPIC
.cpp.o:
$(CC) -c $< -o $@ $(CFLAGS)
But obviously it can't be done.
Thanks
I'd like to remove a layer (in this case the results of geom_ribbon) from a ggplot2 created grid object. Is there a way I can remove it once it's already part of the object?
library(ggplot2)
dat <- data.frame(x=1:3, y=1:3, ymin=0:2, ymax=2:4)
p <- ggplot(dat, aes(x=x, y=y)) + geom_ribbon(aes(ymin=ymin, ymax=ymax), alpha=0.3)
+ geom_line()
# This has the geom_ribbon
p
# This overlays another ribbon on top
p + geom_ribbon(aes(ymin=ymin, ymax=ymax, fill=NA))
Is there any equivalent of Reactive Extensions (.NET) for Java?
About Rx (Reactive Extensions)
Rx is a library for composing asynchronous and event-based programs using observable collections.
I am aware of rule engines such as Drools from JBOSS, but is there some other way that is closer to the Microsoft .NET approach?
I have an ASP.NET MVC site that uses both Microsoft Ajax [Ajax.BeginForm()] and jQuery to make asynchronous requests. I want to configure both frameworks such that a generic error handler is automatically attached if the developer does not explicitly specify a failure callback.
In jQuery I can accomplish this with either .ajaxSetup() or .ajaxError(). What is the equivalent in the Microsoft Ajax client library? I'm fairly sure it's something in the Sys object but I can't find it...
Is there any way I can force WPF rendering tiers mentioned here?
http://msdn.microsoft.com/en-us/library/ms742196.aspx
For example I am on tier 2, but I want to simulate the application in tier 1 or 0 scenario.
I need to create a PDF containing some tables.
When looking on google/stackoverflow the most frequent API seems to be iText but that's under the AGPL licence and thus not desirable for my purposes.
I also frequently see apache pdfbox but that does not seem to have native support for tables (although a slightly hacky way was posted at Apache PDFBox Java library - Is there an API for creating tables? )
Does anyone have any recommendations?
I know that Ruby on rails is very famous on Web Application Development, and python have a powerful library. Which language do you think for a totally brand new web project? Ruby or Python is a gd start? Also, you can share your development experience in both language. thz u.
Hi,
I need to build a component which would take a few XML documents in input and check the following kind of rules:
XML1:/bookstore/book[price>35.00] != null
and (XML2:/city/name = 'Montreal'
or XML3://customer[@language] contains 'en')
Basically my component should be able to:
substitute the XML tokens with the corresponding XML document(before colon)
apply xpath query on this XML document
check the xpath output against expected result ("=", "!=", "contains")
follow the basic syntax ("and", "or" and parentheses)
tell if the rule is true or false
Do you know any library which could help me? maybe JavaCC?
Thanks