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 write a secure client/server program in C with OpenSSL.
I've found a code sample at http://www.rtfm.com/openssl-examples/ but I get this error:
server: SSL read problem
client: Certificate doesn't verify
I think the problem is with the certificate generation, but I cannot find it.
Any idea?
Thanks
Hello
Are there systems, where minimal page of memory (pagesize) has a size not divisible by 2, or by 1024, 4096?
Can it be 3000 or 3500?
Will any posix program break, if pagesize will be not divisible by 1024?
Hello everyone
I'm trying to achieve something like this in LaTeX: http://www.imada.sdu.dk/~sorenh07/misc/table-sample.pdf (sample made in OpenOffice.org)
The most important part is the multiline verbatim-environment inside a cell. Is this possible at all?
I will be very grateful to any answers, since this has been bugging me quite a lot.
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 several devices on a network. I am trying to use a library to discover the presence and itentity of these devices using Python script, the devices all have a web service. My question is, are there any modules that would help me with this problem as the only module I have found is ws-discovery for Python?
And if this is the only module does anyone have any example Python script using ws-discovery?
Thanks for any help.
Hello everybody!
Please advise library for working with soap in python.
Now, i'm trying to use "suds". And i can't undestand how get http headers from server reply
Code example:
from suds.client import Client
url = "http://10.1.0.36/money_trans/api3.wsdl"
client = Client(url)
login_res = client.service.Login("login", "password")
variable "login_res" contain xml answer and doesnt contain http headers. But i need to get session id from them.
Thank you.
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 would like to know if there is a difference in speed between computing hash value (for example std::map key) of primitive integral type, such as int64_t and pod type, for example struct { int16_t v[4]; };.
I know this is going to implementation specific, so my question ultimately pertains to gnu standard library.
Thanks
Hello,
I wasn't able to find out (googling, reading mysql reference manual) how to get value of DATETIME in seconds in MySQL.
I dont mean to extract seconds from datetime, but to convert it into seconds.
Thanx
Hello. I am running a script that walks a directory structure and generates new files in each folder in the directory. I want to delete some of the files right after creation. This is my idea, but it is quite wrong I imagine:
directory = os.path.dirname(obj)
m = MeshExporterApplication(directory)
os.remove(os.path.join(directory,"*.mesh.xml"))
How to you put wildcards in a path? I guess not like /home/me/*.txt, but that is what I am trying.
Thanks,
Gareth
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 need to find the indexes in the vector based on several boolean predicates.
ex:
vector<float> v;
vector<int> idx;
idx=where( bool_func1(v), bool_func2(v), ... );
What is the way to declare **where** function, in order to use the several user defined boolean functions over the vector?
thanks
Arman.
Hello guys, I'm stuck with some sort of error which i don't really understand in prolog. I get this error when calling a rule(which seems to work sometimes?) :
error(instantiation_error,Var0)
Can anyone explain to me what this means?
Thanks
Hello guys,
I was wondering if there is there is a way to create thumbnails for different types of documents, for instance PDF documents, Word Documents, Spreadsheets, etc, not only for the images, from within PHP?
If this would be to hard to accomplish, I would also be interested in a way to achieve something similar only for PDF documents instead.
Thank you in advance,
Constantin TOVISI
Hello.
Does anyone know what error message will be displayed
when someone tries to run an application developed using .NET
on a computer where .NET Framework is not installed? ex) Windows XP original.
will the error message tell you that .NET Framework is not installed?
or will it not show any useful messages?
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,
I have made an iPhone app with localized versions. It mostly works fine, but there are two views in which localized NIBs do not load. Standard NIBs (in English) are used. I am sure I made localization properly ("Get Info", "Make file localizable", "Add Localization", added "pl" - for Polish, and then edited created NIB). All the other views are fine. What might be the problem?
Thanks for helping me.
Hello,
I want my app to have a proximityAlert until the user removes it. I
use expiration -1 to create this proximityAlert. The proximityAlert
works. But I find on my Droid phone, after adding a proximityAlert
and leaving the phone over night for charging, the proximityAlert does
not work the next day. How can I make sure that my proximityAlert is
active indefinitely unless the user removes it?
Thanks,
Prasanna
Hello,
I want to match a date in the format day/month/year. where day is two digits month is two digits and year is four digits. Also, I want to check see if it is a valid date, for example knows when is leap year, and know which month has 30days, 31days and 28, or 29 days for Februrary.
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 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,
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 All
I am using javascript associative array like:
var testarray = [];
testarray['one'] = '1';
testarray['two'] = '2';
testarray['three'] = '3';
I am also using jquery alongside. How can I check length of this associative array using jquery or any other method? Basically i want to check whether this array is empty or not.
Thank you.
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>