|
Any recommendations from those who tried both? I would like to use something simpler like RMI for C++[^], but it's still young and under development, and I need something mature, stable and scalable
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
|
|
|
|
|
did you have a look at ICE[^]?
|
|
|
|
|
Very interesting. Too bad it is GPL, and at this point I can't purchase a commercial license.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
|
|
|
|
|
Nemanja Trifunovic wrote:
Any recommendations from those who tried both? I would like to use something simpler like RMI for C++[^], but it's still young and under development, and I need something mature, stable and scalable
XML-RPC[^] seems to have gained momentum as lightweight alternative for distributed computing (disclaimer: haven't tried it).
|
|
|
|
|
Nah, too much overhead. This needs to be a binary protocol.
BTW, I have already worked with SOAP, and it seemed to me that it was a XML-RPC killer.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
|
|
|
|
|
Hello,
I tried CORBA, but I (and every other student) didn't like it. You have incredibly much initialization to do and additional servers to run if you want maximum flexibility and scalability.
If it's no problem for your client to integrate the CORBA infrastructure and you can get passed the initialization, everything works like a charm. As far as I know (D)COM, your code with CORBA will look much more cleaner.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Who can help me to add to a title bar a menu( or a dialog ) in a MFC SDI application?
NG
|
|
|
|
|
Hi,
Is it possible to create a macro that would create an instance of a class? I'm trying this but the compiler won't accept it:
#define Logger() (MyLogger tempLogger(__FUNCTION__, __FILE__, __LINE__))
Thanks
Hua-Ying
|
|
|
|
|
|
error C2059: syntax error : ')'
error C2146: syntax error : missing ')' before identifier 'tempLogger'
error C3861: 'tempLogger': identifier not found, even with argument-dependent lookup
|
|
|
|
|
class MyLogger
{
MyLogger( char*, char*, char*)
{
}
};
#define Logger() (MyLogger tempLogger(__FUNCTION__, __FILE__, __LINE__))
no error on visual c++ 6.0...
NG
|
|
|
|
|
The syntax error only occurs when I try to use the macro. The errors are:
error C2059: syntax error : ')'
error C2146: syntax error : missing ')' before identifier 'tempLogger'
error C3861: 'tempLogger': identifier not found, even with argument-dependent lookup
Hua-Ying
|
|
|
|
|
#include <iostream>
using namespace std;
#define Logger() MyLogger tempLogger(__FUNCTION__, __FILE__, __LINE__)
class MyLogger
{
public:
MyLogger(char *pFunction, char *pFile, long Line)
{
cout<
|
|
|
|
|
Thanks that really does work!
I've always though that argument in a #define were separated by spaces so that it would see 3 arguments there. I guess I was wrong!
|
|
|
|
|
How do i find a control's current x,y coordinates on the window??
|
|
|
|
|
looking here[^] i found that code :
CRect ButtonRect;
GetWindowRect(ButtonRect);
pParent->ScreenToClient(ButtonRect)
reading the sample more in details should help you more...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
Use GetClientRect() if you want the coordinates relative to the upper-left of the client area (i.e., left and top are both 0). Use GetWindowRect() if you want the coordinates relative to the upper-left of the screen.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Hello All
Can any one suggest free "BMP /ICO collection" downloadable sites for the using in my application.
Thanks for your time
Ravi
|
|
|
|
|
|
I tried and end up with lot of tools to create / modify the images But not really the image collection.
- Ravi
|
|
|
|
|
i cannot do anything for you that way...
there are so many sites... if you can't find at least ont, i give up...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
here is what i get when I type "icon[^]"
are you too lazy to turn on your screen to see what google tells you ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 9:52 Thursday 1st September, 2005
|
|
|
|
|
Thanks for your help....
I found one more site. http://www.glyfx.com/ which gives the BMP / GIF / ICO / PNG of different sizes (16 * 16 / 24 * 24) which can be used directly MFC application.
Thanks for your time
Ravi
|
|
|
|
|
i believe the best place ever for such purpose is %SystemRoot%\System32\mspaint.exe
enjoy...;P
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 10:00 Thursday 1st September, 2005
|
|
|
|