Re: Re: embedding phoenix in C++

Hurricane Chen <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <CAO3XXDEQ5o=KiqcBCPX4wNc8Rwq9qp8sCi_v54caw9KQQPmghg@mail.gmail.com>
I have downloaded and installed Microsoft Visual C++ Compiler for Python
2.7, but I do not know use it. Ca n you tell me ite uasge? Thank you very
much!!!

2016-05-24 3:43 GMT+08:00 Chris Barker <[email protected]>:

> On Mon, May 23, 2016 at 2:55 AM, <[email protected]> wrote:
>
>> Hello, according to your description, you succeed to embed wxPython in
>> C++. But I fail to complete it. In my program, when *wxPyMake_wxObjec() *function
>> is called, an exception occur, the related message is: Unhandled exception
>> in 0x00ea7a35 in TestWxWidget2.exe: 0xC0000005: Access violation reading
>> location 0x00000000.
>>     I do not know why. My tools are Visual Studio 2010, Python2.7 and
>> wxPython2.8.11. I hope you can help me to solve the problem.
>>
>
> I don't know if it has anything to do with your problem (but it might) --
> Unless you are re-compiling Python, then you want to use VisualStudio 2008
> , or, even better the "MS compiler for Python2.7 -- which is a slightly
> differently packaged VS 2008):
>
> https://www.microsoft.com/en-us/download/details.aspx?id=44266
>
> Also -- if you possible can, I would recommend calling C++ from Python,
> rather than Python from C++ -- it's pretty similar really, but if your
> "host" application is Python, you don't have to make sure you've
> initialized python correctly.
>
> -CHB
>
>
>
>
>
>> My email is [email protected]. I hope you can help me by mail.
>> Thank you very much!!!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "wxPython-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> [email protected]
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "wxPython-dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/wxPython-dev/sbMDm0Ggv6w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.