John Peterson sent the following to us, and I wanted to make sure it was
shared with the community
Hi Again
Now I solved the Problem. The problem was that I had called
CoInitializeEx(NULL, COINIT_MULTITHREADED) and should call
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED) instead, and when changing
that all dialogs works fine no matter what control are on it.
Kind Regards,
John Petersen
This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| X-Tomcat-ID: 89347030
| References: <73****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From:
v-******@online.microsoft.com (Gary Chang [MSFT])
| Organization: Microsoft
| Date: Thu, 27 Nov 2003 03:24:01 GMT
| Subject: RE: Problems with MSFlexgrid control in vs.net 2003
| X-Tomcat-NG: microsoft.public.dotnet.languages.vc
| Message-ID: <dp**************@cpmsftngxa06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.vc
| Lines: 15
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vc:30808
| NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
|
| Hi John,
|
| Thanks for posting in the group!
|
| I create a SDI MFC application(with a MSFlexgrid embedded in a modal
| dialog) in VC6 to reproduce your problem, then rebuild it under
VS.NET2003,
| it runs well.
|
| So would you please give more detail information about your project and
| even if possible, upload a self-contained small VC6 project which can
repro
| the problem?
|
|
| Best regards,
| Gary Chang
| Microsoft Online Partner Support
|
| Get Secure! -
www.microsoft.com/security
| This posting is provided "AS IS" with no warranties, and confers no
rights.
| --------------------
|
|