Click here to Skip to main content
15,947,523 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Magic Square Code Pin
Paul Conrad20-Nov-06 20:32
professionalPaul Conrad20-Nov-06 20:32 
AnswerRe: Magic Square Code Pin
XFluid20-Nov-06 2:03
XFluid20-Nov-06 2:03 
GeneralRe: Magic Square Code Pin
Christian Graus20-Nov-06 9:19
protectorChristian Graus20-Nov-06 9:19 
GeneralRe: Magic Square Code Pin
led mike20-Nov-06 9:30
led mike20-Nov-06 9:30 
QuestionMemory Leak Pin
BarneyGRubble19-Nov-06 13:58
BarneyGRubble19-Nov-06 13:58 
AnswerRe: Memory Leak Pin
Christian Graus19-Nov-06 14:17
protectorChristian Graus19-Nov-06 14:17 
GeneralRe: Memory Leak Pin
Nemanja Trifunovic20-Nov-06 10:51
Nemanja Trifunovic20-Nov-06 10:51 
Questioncallbacks Pin
snxxxxt17-Nov-06 2:20
snxxxxt17-Nov-06 2:20 
guys, i'm stuck on a wierd problem.

i've a class (say, Derived) which inherits from a 3rd prty class (Base). there are a set of virtual methods in the 'Base' that i override in my specialization. i built it as an application, and my 'Derived' objects ARE working fine.

the catch is when i build my app as a service. (i derived managed 'ServiceBase' before, but now i derives from CNTService, so that everything is unmanaged). now, this 'Derived' objects' virtual method invocations trigger the 'Base's implementations! it took me sometime to figure this out. these derived objects are even statically typed (i mean it is a Derived& which actually is a Derived&). the class lib i mentioned have their class (Base's) header shipped along with their libs. I've seen the declaration of the members as virtual. another point is that these methods are all callbacks. (events like CSocket::OnAccept() Onsend() etc, in fact, the 'Base' is a socket implementation). i never have to make any explicit calls to these methods. they are all triggered by the framework(Base's vendors') i'm using. may be (i'm almost sure) the internal callback implementation is done via c-style fptrs on some other tricks. but what i'm confused is the SAME 'Derived' do work perfectly in the application (but, NOT in the service). this is where i'm burning my head.
pls help me out with a fix for this.

any help / comments would really be appreciated.
thanks!!

snexxxxt

AnswerRe: callbacks Pin
led mike17-Nov-06 6:00
led mike17-Nov-06 6:00 
GeneralRe: callbacks Pin
snxxxxt17-Nov-06 17:41
snxxxxt17-Nov-06 17:41 
GeneralRe: callbacks Pin
led mike20-Nov-06 11:04
led mike20-Nov-06 11:04 
Questionhelp me in implementing blowfish Pin
omc7916-Nov-06 9:04
omc7916-Nov-06 9:04 
AnswerRe: help me in implementing blowfish Pin
George L. Jackson16-Nov-06 11:34
George L. Jackson16-Nov-06 11:34 
AnswerRe: help me in implementing blowfish Pin
Christian Graus18-Nov-06 14:19
protectorChristian Graus18-Nov-06 14:19 
QuestionUse C++ to make database application Pin
jingguangdadao16-Nov-06 8:01
jingguangdadao16-Nov-06 8:01 
QuestionRe: Use C++ to make database application Pin
George L. Jackson16-Nov-06 10:50
George L. Jackson16-Nov-06 10:50 
QuestionRe: Use C++ to make database application Pin
jingguangdadao28-Nov-06 1:56
jingguangdadao28-Nov-06 1:56 
GeneralRe: Use C++ to make database application Pin
George L. Jackson28-Nov-06 12:55
George L. Jackson28-Nov-06 12:55 
GeneralRe: Use C++ to make database application Pin
jingguangdadao29-Nov-06 3:55
jingguangdadao29-Nov-06 3:55 
AnswerRe: Use C++ to make database application Pin
Christian Graus18-Nov-06 14:18
protectorChristian Graus18-Nov-06 14:18 
GeneralRe: Use C++ to make database application Pin
jingguangdadao29-Nov-06 3:55
jingguangdadao29-Nov-06 3:55 
GeneralRe: Use C++ to make database application Pin
Christian Graus29-Nov-06 8:37
protectorChristian Graus29-Nov-06 8:37 
AnswerRe: Logger Pin
led mike16-Nov-06 5:17
led mike16-Nov-06 5:17 
QuestionInverted/changed textcolor when bar passes over Pin
zoleero15-Nov-06 15:36
zoleero15-Nov-06 15:36 
AnswerRe: Inverted/changed textcolor when bar passes over Pin
Christian Graus15-Nov-06 15:50
protectorChristian Graus15-Nov-06 15:50 

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.