i want to enter a text into TCHAR* argv[], how its possible to do.
OR how to convert from a charater to TCHAR* argv[].
Please help
char randcount[]="Hello world";
want to convert to TCHAR* argv[]
Hello,
I'm trying to make a very simple program run on my Nokia 5000.
On the Nokia website, there is a SDK (Series 40). I included this SDK in my IntelliJ project.
The problem is, when I try to run the helloWorld app on my phone, I get an error message.
(http://wiki.forum.nokia.com/index.php/Hello_World_in_Java_ME)
Can anyone help me out?
Thanks in advance!
Hello.
I have an application that sometimes causes exceptions. And I need to restart it if it crashed. But the problem is, that I have Windows 7 here and when application crashes, Windows shows me nice dialog box with a suggestion to close the application. But the application itself is still running until I click "Close". How to get rid of this Window and make application terminate immediately without any dialog boxes?
Hello, my app appears to be breaking in main.m on a line with contents:
int retVal = UIApplicationMain(argc, argv, nil, nil);
What does that line do, and why could it cause a breakpoint to fail?
Hello!
I have problems with Darwin Streaming server 5.5.5 on Debian.
When i'm trying to open some stream, for ex. rtsp://sample.com/sample_100kbit.mp4 player reports it can't load stream and breaks connection.
"Access History" section reports file was requested, so, at least initial connection is working, but nothing more.
What can be wrong and what to check?
hello,
i created a web setup by using wix, now i want to set internet explorer homepage and want to add my webpage as favourite with my webinstaller. can any one tell me how to do this in wix (3.0-3.5), i google this but can't find any thing.
Hello
Is there smth like pthread_barrier in SMP Linux kernel?
When kernel works simultaneously on 2 and more CPUs with the same structure, the barrier (like pthread_barrier) can be useful. It will stop all CPUs entering to it until last CPU will run the barrier. From this moment all CPUs again works.
Hello,
There are times when I just want to run static analyzer on a certain group of code in an Xcode project, but not all of the source files.
Is there any way to configure this using Xcode 3.2?
Hello All,
In one of the ASP .Net site we are currently working we have a bulk load of SSRS reports. We have forms authentication for the site and reports have already been created and deployed in the report server. We are having so many problems with authentication when we set the report viewer control to access the server report.
I just want to know what are the advantages or disadvantages of using Local report vs Server Report
Thanks,
Raja
Hello SOers,
I'm wondering if it's actually possible to draw a polygon over a complete town with the GoogleMaps API V3 or the V2?
If so could you please give an example on how to do it (choose your favorite town :)).
I've some difficulties understanding this API.
Thanks.
I'm trying to consume a hello world AXIS2 SOAP web service using a PHP client. The Java class is written in Netbeans and the AXIS2 aar file is generated using the Netbeans AXIS2 plugin.
You've all seen it before but here's the java class:
public class SOAPHello {
public String sayHello(String username) {
return "Hello, "+username;
}
}
The wsdl genereated by AXIS2 seems to wrap all the parameters so that when I consume the service i have to use a crazy PHP script like this:
$client = new SoapClient("http://myhost:8080/axis2/services/SOAPHello?wsdl");
$parameters["username"] = "Dave";
$response = $client->sayHello($parameters)->return;
echo $response."!";
When all I really want to do is
echo $client->sayHello("Dave")."!";
My question is two-fold: why is this happening? and what can I do to stop it? :)
Here's are the types, message and porttype sections of the generated wsdl:
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://soap.axis2.myhost.co.uk">
<xs:element name="sayHello">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="username" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sayHelloResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="sayHelloRequest">
<wsdl:part name="parameters" element="ns:sayHello"/>
</wsdl:message>
<wsdl:message name="sayHelloResponse">
<wsdl:part name="parameters" element="ns:sayHelloResponse"/>
</wsdl:message>
<wsdl:portType name="SOAPHelloPortType">
<wsdl:operation name="sayHello">
<wsdl:input message="ns:sayHelloRequest" wsaw:Action="urn:sayHello"/>
<wsdl:output message="ns:sayHelloResponse" wsaw:Action="urn:sayHelloResponse"/>
</wsdl:operation>
</wsdl:portType>
hello
how can i read image from clipboard ?
i was only able to raed text using wx.clipboard. but not images
is it possible to read images with wx.clipboard?
or there is another way?
i use python2.5 and windows vita 64 bit
thanks in advance
[root@234571-app2 git]# ./test.py
File "./test.py", line 4
with open("/home/git/post-receive-email.log",'a') as log_file:
^
SyntaxError: invalid syntax
The code looks like this:
[root@234571-app2 git]# more test.py
#!/usr/bin/python
from __future__ import with_statement
with open("/home/git/post-receive-email.log",'a') as log_file:
log_file.write("hello world")
and I am using Python 2.5.5
[root@234571-app2 git]# python -V
Python 2.5.5
Hello,
Is there anyway to apply a css style of a area on a image map?
Like here I have .notAvail
I tried this and it did not work.
<map name="SMap" id="SMap">
<area target="bottomFrame" class="notAvail" coords="104,58,120,72" title="Grand Ball Room: 1: C" alt="Grand Ball Room: 1: C" shape="rect">
</map>
Hello everyone,
I have the following code adding an ActionListener to a JTextField:
chatInput.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
chatInputMouseClicked(evt);
}
});
Now how do I remove this MouseListener using chatInput.removeMouseListener(), since this function needs an argument?
Hello,
jQuery delegates are great, especially when using with table row click events.
I was wondering if it's possible to use delegates with plug-ins as well?
For example if I attach elastic plug-in to every text area, I would do:
$("textarea").elastic();
But how would I attach this plug-in using delegate?
hello all i have my splash screen which i want to show in landscape mode and all other screen in potrait mode. My root view controller is acting as a splash screen i am writing this code in viewdidload method
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
But this code is not working and shows me that UIdevice may not respond to setorentation please guide me that how could i change the orentation for only first splash screen and also other screen should be in potrait mode
Hello SOers,
I'm currently using PushbackReader and while waiting for where it 'supposed' to be an EOF, I get the character 65535 and I'm wondering if that's normal.
Where is my EOF?!
Thank you.
Hello,
i'd like an input to control that :
jQuery.ajax({
type: "get",
dataType: "jsonp",
url: "http://www.foo.com/something.php",
data: {numberInput: "NUMER I WANT TO CONTROL" },
On the HTML side i've
<input type="text id="jqueryControl" />
I want when a user enters a number ito the jqueryControl to insert it in the .ajax function and reload the data according to the new value entered.
Any idea to do that please ?
Thanks
Hello,
How do I get the selected item in a WPF datagrid? Tried the following, with no luck;
dataGrid1.CurrentCell.Item.ToString();
string[] strsplit = dataGrid1.SelectedValue.ToString().Split('+');
dataGrid1.SelectedCells[0].Item.ToString();
dataGrid1.CurrentItem.ToString();
dataGrid1.CurrentCell.Item.ToString();
dataGrid1.CurrentCell.Item.ToString();
Thanks
hello.
Is there macro, something like BOOST_AUTO, which would allow to emulate automatic return type deduction of function in C++?
I mean something like trailing-return-type, http://en.wikipedia.org/wiki/C%2B%2B0x#Alternative_function_syntax
thank you
Hello All,
I have the following aaaa_bb_cc string to match and written a regex pattern like
\\w{4}+\\_\\w{2}\\_\\w{2} and it works. Is there any simple regex which can do this same ?
Hello everyone
I have a project in which I have constructed myself's multi viewcontrollers.
I also hope to use UINavigationViewController's convenience in one module of function.
Is it possible?
Welcome any comment
Thanks
interdev
Hello,
$d = opendir("docs");
while (($file = readdir($d)) !== false) {
if (($file != ".") && ($file != "..")){
}
}
I want to be able to display the first 5 file names.
Thanks
Jean
The following Fortran code is giving me a bus error on my Mac but no errors when I run it on my Linux machine:
PROGRAM TINY
WRITE(UNIT=*, FMT=*) 'Hello, world!'
END
My understanding is that a bus error occurs when the program attempts to access impossible memory but I do not understand where such an attempt has been made in this program. My MacBook has GCC 4.4.0 and my Linux machine has GCC 4.3.2. Any ideas as to why this error occurs?