Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 22, 2003 digital mars wxStyledtextControl | ||||
---|---|---|---|---|
| ||||
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 |
October 22, 2003 Re: digital mars wxStyledtextControl | ||||
---|---|---|---|---|
| ||||
Posted in reply to chris elliott | 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 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 > > |
October 22, 2003 Re: digital mars wxStyledtextControl | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Sanders | 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 > 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 > > > > > > |
October 22, 2003 Re: digital mars wxStyledtextControl | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Sanders | "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__ |
October 23, 2003 Re: digital mars wxStyledtextControl | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charles Sanders | "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 |
Copyright © 1999-2021 by the D Language Foundation