c++.wxwindows - digital mars wxStyledtextControl
- "chris elliott" <chris ampleforth.u-net.com> Oct 22 2003
- "Charles Sanders" <sanders-consulting comcast.net> Oct 22 2003
- "Charles Sanders" <sanders-consulting comcast.net> Oct 22 2003
- "Walter" <walter digitalmars.com> Oct 22 2003
- "chris elliott" <chris ampleforth.u-net.com> Oct 23 2003
Hi Building the wxStyledtextcontrol sample, with digital mars on the wxWindows branch gives an error when text is selected to go to the clipboard (cut or copy).paste is Ok. A message box pops up saying: Error -2147221008 coInitialize has not been called This does not happen with VC6, Borland, or gcc compilers Any ideas appreciated chris
Oct 22 2003
Did you try calling CoInitalize(0); // to initalize COM ? C "chris elliott" <chris ampleforth.u-net.com> wrote in message news:bn5um9$314v$1 digitaldaemon.com...Hi Building the wxStyledtextcontrol sample, with digital mars on the
branch gives an error when text is selected to go to the clipboard (cut or copy).paste is Ok. A message box pops up saying: Error -2147221008 coInitialize has not been called This does not happen with VC6, Borland, or gcc compilers Any ideas appreciated chris
Oct 22 2003
Probably buried somewhere in the code is #ifdef MSVC || BORLAND // miscrosoft specific CoInitialize(0); #endif I dont use wxWindows anymore but it would be cool to add a #ifdef DM ( Or whatever Digital Mars is defined as ) for that. C "Charles Sanders" <sanders-consulting comcast.net> wrote in message news:bn6fmf$nb4$1 digitaldaemon.com...Did you try calling CoInitalize(0); // to initalize COM ? C "chris elliott" <chris ampleforth.u-net.com> wrote in message news:bn5um9$314v$1 digitaldaemon.com...Hi Building the wxStyledtextcontrol sample, with digital mars on the
branch gives an error when text is selected to go to the clipboard (cut
copy).paste is Ok. A message box pops up saying: Error -2147221008 coInitialize has not been called This does not happen with VC6, Borland, or gcc compilers Any ideas appreciated chris
Oct 22 2003
"Charles Sanders" <sanders-consulting comcast.net> wrote in message news:bn6glg$oq9$1 digitaldaemon.com...I dont use wxWindows anymore but it would be cool to add a #ifdef DM ( Or whatever Digital Mars is defined as ) for that.
#if __DMC__
Oct 22 2003
"Charles Sanders" <sanders-consulting comcast.net> wrote in message news:bn6glg$oq9$1 digitaldaemon.com...Probably buried somewhere in the code is #ifdef MSVC || BORLAND // miscrosoft specific CoInitialize(0); #endif
Yes there was an ifdef around OleInitialize thanks chris
Oct 23 2003









"Walter" <walter digitalmars.com> 