!![enter image description here][1][Hi I face new problem including at the time of online transaction api.
It shows like below image.Please give me the suggestion. ][2]
ld: warning: directory not found for option '-L2/anet_ios_sdk-1.0.0/ANMobilePaymentLib'
Undefined symbols for architecture i386:
"_OBJC_METACLASS_$_SenTestCase", referenced from:
_OBJC_METACLASS_$_AuthNetUnitTests in AuthNetUnitTests.o
"_OBJC_CLASS_$_SenTestCase", referenced from:
_OBJC_CLASS_$_AuthNetUnitTests in AuthNetUnitTests.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm reading the Google Maps API and it states that the:
"callback: The function to call once the script has loaded. If using the Auto-loading feature, this must specify a function name, not a function reference.
What's the difference been a JavaScript function name vs a function reference?
http://code.google.com/apis/ajax/documentation/#GoogleLoad
I want to load a image (.bmp) file on a Win32 application, but I do not want to use the standard LoadBitmap/LoadImage from Windows API: I want it to load from a buffer that is already in memory. I can easily load a bitmap directly from file and print it on the screen, but this issue is making me stuck :(
What I'm looking for is a function that works like this:
HBITMAP LoadBitmapFromBuffer(char* buffer, int width, int height);
Thanks.
Hi -
I'm getting JSON-encoded output from another organization's API.
In many cases, the output can be either an array of objects (if there are many) or an object (if there's just one). Right now I'm writing tortured code like this:
if ( is_array($json['candidateList']['candidate'][0]) ) {
foreach ($json['candidateList']['candidate'] as $candidate) {
// do something to each object
}
}
else {
// do something to the single object
}
How can I handle it so the "do something" part of my code only appears once and uses a standard syntax?
M2Crypto.X509.X509 objects have a verify(pkey) method, which provide a means of testing that a given certificate does in fact sign a specified key.
This is a good and useful thing -- except that sometimes the certificate I want to verify in this way is invalid without the use of an intermediate certificate, which this API does not appear to allow a way to specify.
Is there an alternate means of validating a certificate / private key pair which will work even when the certificate is unable to stand alone?
I am working on java swing application in which i have to give html files to the client to browse them in swing API.
Now i want to create the setup for the project so that user could install the software on their computer and i want to include html files , java classes some jar files and ms access database also how could i use the path of directory created after the installation of software.
Please suggest the code if possible
Hi,
I am writing a python script on Linux for twitter post using API, Is it possible to pass symbols like "(" ")" etc in clear text without apostrophes....
% ./twitterupdate this is me #works fine
% ./twitterupdate this is bad :(( #this leaves a error on bash.
Is the only alternative is to enclose the text into -- "" ?? like..
% ./twitterupdate "this is bad :((" #this will reduce the ease of use for the script
Is there any workaround?
Is it possible to use the google maps API to cache the map images of a certain location so it can be loaded locally whenever the map starts up again but from a different location?
Hey. I'm a software and web developer for ~3 years, and I want to start learning 3D network game programming.
What is the most modern & fastest way to write 3D PC games? What language? For graphics, should I use a graphics API like Direct3D/OpenGL or is there something less painful?
What math/physics skills should I know before starting?
Thank you.
I have used the jQuery inArray function, but Eclipse tells me that this function is undefined. I don't understand how this can be so if it comes from the jQuery API.
preId is an integer, and queryPreds is an array.
if($.inArray(preId, queryPreds) != -1){
// code in here
}
Environment: JPA 1, Hibernate 3.3.x
I have an JPA entity class (User), how do I selectively fetch member variables say (first_name, last_name) instead of fetching all user attributes using the JPA api.
I'm using a low level native API where I send an unsafe byte buffer pointer to get a c-string value.
So it gives me
// using byte[255] c_str
string s = new string(Encoding.ASCII.GetChars(c_str));
// now s == "heresastring\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(etc)";
So obviously I'm not doing it right, how I get rid of the excess?
I'm writing an iPhone application and trying to determine how to find a business name/address from a user's current GPS location (longitude/latitude). For example, if someone if using the application from inside a Starbucks, how can I find this out from their location? Is there a way to do this using mapkit or any API/Webservice? Many Thanks!
While studying the Collection API, we find that some methods (add, remove,...) may throw a java.lang.UnsupportedOperationException if the current implementation of the Collection does not support those functionalities.
Is there,actually, in the JDK, a concrete Collection that does not support those methods ?
Thanks a lot for your answers.
I'm using a web service and connect it using httpWebRequest.create api. If i change the TCP port number In IIS other than 80 then my application could not connect to it. How can i set port number in System.Url object as set in IIS so that my application can connect to web service.
I want to write a program to recover recently deleted files on windows 7..
Is there a function in windows API that recover files? If not, how can I begin in that?
EDIT:
Or an open source project for that?
I put my questions in the code comments for clarity:
from piston.handler import AnonymousBaseHandler
class AnonymousAPITest(AnonymousBaseHandler):
fields = ('update_subscription',)
def update_subscription(self, request, months):
# Do some stuff here to update a subscription based on the
# number of months provided.
# How the heck can I call this method?
return {'msg': 'Your subscription has been updated!'}
def read(self, request):
return {
'msg': 'Why would I need a read() method on a fully custom API?'
}
Our current setup is that we have two targets, Staging and Live. Collaborators may update the affected component while it is still within the workflow. A final activity is set to publish the related pages to Live. Is it possible to publish component updates (revisions e.g. 2.2, 2.5) to Staging from within the workflow?
The TOM API documentation for Page.Publish() method does not seem to have an input parameter to fullfil such purpose.
I have a Post Class and a Comment Class. I have a post object and want to convert it to a Comment object. I went through Rails api and found becomes(klass).For now there is not association between a Post and Comment. So i tried
@post.becomes(Comment).
but becomes method could not be found for @post object. Am i missing something ?
I want a strongly typed url class that i will reference whenever I need a url for any links, redirecting, etc.
I don't like:
RedirectToActoin("Action", "Controller");
A site with 50+ views means any naming change is going to break allot of things.
I also want a user frienly api so I can do:
MyUrls.ControllnerName.ActionName
How can I achieve this? is it possible?
Hi,
Is it possible to generate android styled javadocs for my android project (like http://developer.android.com/reference/java/lang/String.html, instead of http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html)
Is it something regarding using of some custom doclet instead of standard doclet? If yes, then which one I have to use?
In my application (https://market.android.com/details?id=com.cabot.beastly&feature=search_result), I am using facebook-android api to login and share to Facebook. It's works fine in emulator and Samsung Galaxy Tab when i tested. But some bugs are reporting by the client, facebook login doesn't load. I think they tested in a device with Android2.1. What are the reasons to don't load facebook login Dialog?. How can i find the reason for this bug?.
Is there a quick way to check whether a path I have is on a local disk or somewhere on the network? I can't just check to see if it's a drive letter vs. UNC, because that would incorrectly identify mapped drives as local. I assumed it would be a boolean in the DirectoryInfo object, but it appears that it's not.
I've found classic VB code to do this check (through an API), but nothing for .NET so far.