Search found 23 matches

by krzysiek_t
Wed Feb 20, 2008 1:44 pm
Forum: Open Discussion
Topic: Remote method call for wxWidgets?
Replies: 10
Views: 5101

gSOAP is quite OK. I've solved the problem with std::list :-D
by krzysiek_t
Thu Aug 16, 2007 10:38 am
Forum: The Code Dump
Topic: wxWindows n-tier application
Replies: 3
Views: 3618

So maybe you can tell me how to force soapcpp2 to understand constructs like this: int ns__test(std::list<std::string>& x); I use GCC 4.1.1. and cannot get it working. But this: int ns__test(std::string& x); works perfectly. I am using wxWidgets and goap, there is any problem in that. Though...
by krzysiek_t
Thu Aug 16, 2007 10:25 am
Forum: Open Discussion
Topic: Remote method call for wxWidgets?
Replies: 10
Views: 5101

Well - yesterday was the day when I've achieved C++/gSOAP and Java/JAXWS interoperabilty. I've written simple servers (C++ and Java versions) and simple clients (C++ and Java versions). Each client could talk with each server! Clients were calling simple remote function with no parameters which retu...
by krzysiek_t
Fri Jul 20, 2007 8:32 am
Forum: Open Discussion
Topic: Remote method call for wxWidgets?
Replies: 10
Views: 5101

Well - gSOAP for C++ with JAX-WS for Java and I shall have quite a nice interoperability between my C++ program and my Java app. But... SOAP is heavy, very heavy - as each XML is. Still my dream is something CORBA-like, but with few modyfications. It shoul have portable C++ implementation (like gSOA...
by krzysiek_t
Fri Jul 06, 2007 1:00 pm
Forum: C++ Development
Topic: wxSocketBase Can be FullDuplex ?
Replies: 1
Views: 639

Well - I'm suprised with your discovery. I'm using wxWidgets for some years, but to be honest, it seems I used it mainly for GUI development. In general, write and read operation can be done simultanously. I used berkeley sockets few times. My prefered way is blocking mode reading/writing with 2 thr...
by krzysiek_t
Fri Jul 06, 2007 12:51 pm
Forum: C++ Development
Topic: how to I convert a "unsigned long long" to a wxStr
Replies: 3
Views: 1210

Re: how to I convert a "unsigned long long" to a w

Something like this should work:

Code: Select all

long long x = 1234;
wxLongLong y = x;
wxString str = y.toString();
cavolaccimiei wrote:How to I convert a "unsigned long long" number to a wxString?
[/code]
by krzysiek_t
Fri Jul 06, 2007 12:26 pm
Forum: Open Discussion
Topic: Remote method call for wxWidgets?
Replies: 10
Views: 5101

Looks very interesting, especially as it gives remote method call abstraction and code portability. I have to try it. Thanks. Maybe I'll abandon the idea of own solution ;-)
priyank_bolia wrote:You can use web services using soap. I tried gSOAP with wxWidgets, it was good.
by krzysiek_t
Thu Jul 05, 2007 8:51 am
Forum: Open Discussion
Topic: Remote method call for wxWidgets?
Replies: 10
Views: 5101

Remote method call for wxWidgets?

Hi,
Do you think it would be handy to have portable remote method call future in wxWidgets?

Personally, I hate coding network communication with sockets. It's low-level and error prone.

Pozdr.
Krzysiek
by krzysiek_t
Thu Jul 05, 2007 8:37 am
Forum: C++ Development
Topic: Broadcast to all clients of wxSocketServer
Replies: 1
Views: 817

At first - there is nothing like broadcast in TCP connections. wxServerSocket is only "listening" socket. After it accepts a connections, the incoming connection is connected to newly created socket bound to another port. You may be interested in multicast - but it's not so simple and it s...
by krzysiek_t
Thu Jul 05, 2007 8:22 am
Forum: C++ Development
Topic: RS232 port and wxWidgets
Replies: 15
Views: 4078

Re: RS232 port and wxWidgets

Hi, Some time ago I wanted the same thing, but I wanted a solution to create a RS-232 connection with automatic transmission speed negotiation :lol: So I've started to create one. Due to lack of time - it's still not finished. Hey all, Anyone know if there is a way of grabbing rs232 data through wxW...
by krzysiek_t
Thu Feb 22, 2007 12:32 pm
Forum: Open Discussion
Topic: Java vs C++ benchmarks
Replies: 32
Views: 11047

That could be interesting to test, I'll check that on my Ubuntu VMWare machine when I get back. I completely forgot about Azureus, the Java BitTorrent client. It takes a while to start and is quite a memory hog, but once up and running, it's fast, responsive and even has a native look and feel. Azu...
by krzysiek_t
Thu Feb 22, 2007 12:07 pm
Forum: General Development
Topic: fstream and wxFile: is it the same?
Replies: 3
Views: 1455

Everything as expected. std::fstream and wxFile are different classes but in general they do the same. So effects are the same too.
by krzysiek_t
Thu Feb 22, 2007 12:05 pm
Forum: General Development
Topic: Didn't know where to put this...
Replies: 3
Views: 1284

I suppose wx contributors often don't have enough time to do all: working, developing wx-widgets, testing it, documenting...
by krzysiek_t
Thu Feb 22, 2007 12:02 pm
Forum: General Development
Topic: How to make the app whose GUI is separated from the engine
Replies: 5
Views: 1544

It sounds like perfekt place to use remote method invocation parading. Take a look at CORBA or something similar.
by krzysiek_t
Thu Feb 22, 2007 11:58 am
Forum: General Development
Topic: Signal/Slot
Replies: 3
Views: 2244

I would say that this is a main difference between wx and qt. I'd prefer events as they are more intuitive for me. Someone else may prefer signal-slots. I think it's good we have two such libraries (I know them both). And it shouldn't be wx mission to incorporate every GUI programing paradigm existi...