Is there any utility similar to dumpbin(Visual Studio) in Qt that allows me to check the functions that are exposed in a Qt-Creator compiled dll ??
I need to know what methods are exposed in a given dll so that I can load the method dynamically at runtime using QLibrary.
Thanks,
De Costo
What would be the best way to create a JS chat client with GWT? The bit that I'm having trouble with is the persistence and transfer of the messages. Should I store the messages in a DB and check the db for new messages? Is there a much better way to do this?
I'm refactoring an old C code. The code has absolutely no layered architecture (everything is being accessed by everything) and I'm trying to change that.
I would like to cut direct access to structure members (at least write for now) and only allow access through access functions. Is there some tool (or perhaps directly the compiler) that could check this rule for me?
I need this since I'm maintaining a fork and the upstream isn't very concerned with code quality.
hi
These are the steps i'm following
1on click of home button i had set 1 value
2so i'm clicking on home button
3now i again click on application
4so my applicationdidfinishlaunching method calls
5i'm getting that value 1
6now in applicationdidfinishlaunching method i check wether the value is 1 or not
7now as per discussion value is 1
8in that condition i load the 1 view which is the view of rootviewcontroller
9but after complete execution of this viewdidload method it executes the initwithnibname of some another view
my questuon is all about why 9 number executes
if it executes how to debug it?
I am doing a normal viewBased application and have added another viewController(along with the xib). When the application starts, normally it will display its own view. I am doing an action and is going to another viewController class. From this class, I want to check which viewController is being displayed currently in the view.
How can I do this? Does anyone have an idea?
Hay i need help.
I want to find all muliples of a number in PHP.
I'm using something like this
if($count != 20 )
to work out if $count is not equal to 20.
but i also need this script to check if $count is not equal to 20,40,60,80,100,120,140,160 etc.
Any ideas? I think i need to use the modulus symbol (%), but i don't know.
Thanks
I check my code into a GIT branch every few minutes or so, and the comments end up being things like "Everything broken starting again" and other absurdities.
Then every few minutes/hours/days I do a serious checkin with a real comment like, "Fixed bug #22.55, 3rd time." How can I separate these two concepts? I would like to be able to remove all my frequent-checkins and just leave the serious ones.
I get a JSON response as
{
"edges": [],
"nodes": []
}
how to check if the objects has null values and handle the case??
JSONObject jobj = new JSONObject(line);
JSONArray jArray = jobj.getJSONArray("edges");
if(jArray.length()!=0)
{
for(int i=0;i<jArray.length();i++){
JSONObject json_data = jArray.getJSONObject(i);
x.add((float) json_data.getInt("x"));
y.add((float) json_data.getInt("y"));
end
This retrurns me : org.json.JSONException: end of input at character 0 of
I'd like to build an infrastructure that will monitor a server and check ping, response time, and more.
The catch is that future checks (for example: does a certain file exist) will be added without recompiling the infrastructure.
How do I build it in such a way that will enable me to attach inherited classes with different functionality, and execute them without recompiling?
Thanks!
I am reading a file by line and need to extract latitude and longitude from it.
This how lines can looks:
DE 83543 Rott am Inn Bayern BY Oberbayern Landkreis Rosenheim 47.983 12.1278
DE 21147 Hamburg Hamburg HH Kreisfreie Stadt Hamburg 53.55 10
What's for sure is, there are no dots surrounded by digits except for the ones representing the doubles.
Unfortunately there are Values without a dot, so it's probably best to check for numbers from the end of the String.
thanks for your help!
i have a problem in inserting the listbox value into mysql database in vb 2008 i.e
if i select a video file i.e D:\videos\video1.mpg and add a msgbox() event before inserting into data base it shows the exact path i.e D:\videos\video1.mpg but when i check my database it shows me as D:videosvideo1.mpg how can i solve that
In my code, is there a shorthand that I can use to assign a variable the value of a object's property ONLY if the object isn't null?
string username = SomeUserObject.Username; // fails if null
I know I can do a check like if(SomeUserObject != null) but I think I saw a shorthand for this kind of test.
I tried:
string username = SomeUserObject ?? "" : SomeUserObject.Username;
But that doesn't work.
Hi,
I query "content//sms/" and don't know what some fields are. They are -
Thread ID
Protocol
Status
Reply_Path_Present
Service_Center
I check them in LogCat. I find them like below
Thread ID : 1 to 6 etc..
Protocol : null / 0
Status : -1
Reply_Path_Present : null / 0
Service_Center : null
Please tell me what they are.
A client of mine has a pure HTML website that was built in the dark ages - they want me to find where their users are coming from, how many individual users there are, etc.
They want to know if the site is being used enough for them to invest the money into renovating it.
I am remote from their site and do not have access to their web server.
Is there something like ComScore for small sites that I can go into to check their usage statistics?
Hi guys, i am creating a new site, based in a pre-existing web page
The original site is http://oasisrio.intermediasp.com/
Its works great in Firefox, Chrome, and IE
But the new one "oasisba.intermediasp.com"
Dont show the right bar in IE, i check all that i can think about and i dont found the problem.
Someone have any ideas why this is happening?
PD: Sorry for my crapy english
I'm trying to implement unit testing for my code and I'm having a hard time doing it.
Ideally I would like to test some classes not only for good functionality but also for proper memory allocation/deallocation. I wonder if this check can be done using a unit testing framework. I am using Visual Assert btw. I would love to see some sample code , if possible !
Hi guys.
I read about function pointers in C
And everyone said that will make my program run slow.
Is it true?
I made a program to check it.
And I got the same results on both cases. (mesure the time.)
So, is it bad to use fuction pointer?
Thanks in advance.
"This website is temporarily unavailable. Please check back later.
Unfortunately there were no suitable nodes available to serve this request."
When I request a stored procedure from my program (SP is taking 2 minutes to execute) the above error is getting.
I believe this is because of Load balancer Time out. How we can increment the load balancer time out.
I was wondering if there's a way to check if an index exists before creating it or destroying it on MySQL. It appears that there was a feature request for this a few years back, but I can't find any documentation for a solution. This needs to be done in a PHP app using MDB2.
Take some code like
if (person.IsMale()) {
doGuyStuff();
} else {
doGirlOtherStuff();
}
(Yes, I realize this is bad OO code, it's an example)
Should this be written so that to explicitly check if person.isFemale(), and then add a new else that throws an exception? Or maybe you're checking values in an enum, or something like that. You think that no one will add new elements to the enum, but who knows? "Can never happen" sounds like famous last words.
I know that on 3.0 there is a confirmation alert.
I know that on 3.1 there is NOT a confirmation alert.
How it is on 3.0.1?
Is there some docs about it?
Maybe someone can check on their iPhone? (On 3.0.1 of course)
thanks
hi
i am new in iphone sqlite3 database I want fetch value from database and this value is check in if condition that is equal to database value how to do this i am not understand.
plz help me.
I have followed the guide posted here and when I run my application the menu button for "Check for updates" is not enabled. It's there, it's just grayed out.