Click here to Skip to main content
15,881,092 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LoadString failed in Windows7 Operating System. Pin
Richard MacCutchan7-Jun-11 0:59
mveRichard MacCutchan7-Jun-11 0:59 
QuestionC++ Question Pin
Software20076-Jun-11 17:18
Software20076-Jun-11 17:18 
AnswerRe: C++ Question Pin
Niklas L7-Jun-11 2:00
Niklas L7-Jun-11 2:00 
GeneralRe: C++ Question Pin
Stefan_Lang7-Jun-11 2:05
Stefan_Lang7-Jun-11 2:05 
GeneralRe: C++ Question Pin
Niklas L7-Jun-11 2:26
Niklas L7-Jun-11 2:26 
AnswerRe: C++ Question Pin
Stefan_Lang7-Jun-11 2:00
Stefan_Lang7-Jun-11 2:00 
GeneralRe: C++ Question Pin
Software20077-Jun-11 5:03
Software20077-Jun-11 5:03 
QuestionMiddleware/CORBA Data Field Inheritance Pin
rkeeler786-Jun-11 13:11
rkeeler786-Jun-11 13:11 
Consider the very simple IDL code that specifies a base and derived interface in CORBA:


module test{	
    	interface Quote{
    		attribute string symbol;
    	};
    	
    	interface SpecialQuote:Quote{
    		attribute string specialSymbol;
    	};
    	
    	interface QuoteSender{
    		void sendQuote(in Quote stock_quote);
    	}
    };



(This assumes CORBA but should be similar for other middleware). I am interested in being able to:

1. create a derived class "SpecialQuote", fill in specialSymbol
2. upcast to the base class "Quote", fill in symbol
3. send over CORBA interface using "sendQuote"
4. on the receiving end, downcast to SpecialQuote to retrieve specialSymbol

I'm having a hard time performing this because the attributes essentially just translate to empty setters/getters in Java rather than their Primitive Data Types. Thus it requires both the client and server ends to re-implement the setters/getters.

So in short, is inheritance of interface **fields** possible across middleware without requiring a re-implementation in every language? If so in CORBA, any recommendations? If in another middleware, which one?
QuestionSuddenly Exe is not running Pin
pix_programmer6-Jun-11 2:16
pix_programmer6-Jun-11 2:16 
AnswerRe: Suddenly Exe is not running Pin
Alan Balkany6-Jun-11 9:21
Alan Balkany6-Jun-11 9:21 
AnswerRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 2:17
Stefan_Lang7-Jun-11 2:17 
GeneralRe: Suddenly Exe is not running Pin
pix_programmer7-Jun-11 2:49
pix_programmer7-Jun-11 2:49 
GeneralRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 2:55
Stefan_Lang7-Jun-11 2:55 
GeneralRe: Suddenly Exe is not running Pin
pix_programmer7-Jun-11 3:00
pix_programmer7-Jun-11 3:00 
GeneralRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 3:26
Stefan_Lang7-Jun-11 3:26 
QuestionDisplay CBitmap into CStatic [modified] Pin
_Flaviu6-Jun-11 1:54
_Flaviu6-Jun-11 1:54 
AnswerRe: Display CBitmap into CStatic Pin
Roger Allen6-Jun-11 2:24
Roger Allen6-Jun-11 2:24 
GeneralRe: Display CBitmap into CStatic Pin
_Flaviu6-Jun-11 2:39
_Flaviu6-Jun-11 2:39 
QuestionCStatic ModifyStyle Pin
_Flaviu6-Jun-11 1:00
_Flaviu6-Jun-11 1:00 
AnswerRe: CStatic ModifyStyle Pin
The_Inventor6-Jun-11 20:41
The_Inventor6-Jun-11 20:41 
AnswerRe: CStatic ModifyStyle Pin
Code-o-mat7-Jun-11 22:59
Code-o-mat7-Jun-11 22:59 
QuestionHow to use tcp keepalive to check the client is alive? Pin
wangningyu4-Jun-11 23:23
wangningyu4-Jun-11 23:23 
AnswerRe: How to use tcp keepalive to check the client is alive? Pin
Code-o-mat5-Jun-11 22:55
Code-o-mat5-Jun-11 22:55 
GeneralRe: How to use tcp keepalive to check the client is alive? Pin
Emilio Garavaglia6-Jun-11 3:41
Emilio Garavaglia6-Jun-11 3:41 
GeneralRe: How to use tcp keepalive to check the client is alive? Pin
Code-o-mat6-Jun-11 3:58
Code-o-mat6-Jun-11 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.