ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  32bit Windows debug CRT build
Posted by Joseph on May-01-2014 23:24
Hello,

Is it possible to get C & Python binaries built against the Windows debug CRT?

  Re: 32bit Windows debug CRT build
Posted by Peter Kwan on May-02-2014 03:06
Hi Joesph,

It is practically very difficult for us to release builds that linked to Windows debug CRT. It is
because every compiler uses a different Windows debug CRT. The Windows debug CRT for
VS2002, 2003, 2005, 2008, 2010, 2012 are all different and not compatible. Even for the
same Visual Studio version, there are usually multiple and incompatible Windows debug CRT.
If we consider there are other brands of compilers, there can be even more complications.

On the other hand, it is usually not necessary for ChartDirector to link against the Windows
debug CRT if the objective is to debug your code. It is because ChartDirector is a DLL, and
it can use a different CRT from your code and this will not cause compatibility issues. For
example, many Microsoft operating system DLLs (such as user32.dll, kernel32.dll, etc) are
not linked to the Windows debug CRT, yet your program can still access them even in debug
mode. This shows that even the library DLL is not using Windows debug CRT, you can still
debug your own code.

I am not sure why you need to have the ChartDirector Python DLL linked to Windows debug
CRT. I am aware there is a debug version of Python, which is for debugging the Python
interpreter itself, and it is binary incompatible to the release version of Python. But linking
with Windows debug CRT will not make the ChartDirector Python DLL compatible with the
debug version of Python. Instead, it needs to be compiled with the Python debug header,
and linked with the debug Python interpreter DLL (such as python27_d.dll). It is not related
to the Windows debug CRT.

If you intention is to use ChartDirector with a debug version of Python, please let me know
which Python version you are using. I can compile one for you.

Regards
Peter Kwan

  Re: 32bit Windows debug CRT build
Posted by Joseph on May-02-2014 03:35
Hello Peter,

I can certainly get by without a debug CRT version of the C dll and I understand the difficulties. I am using debug builds of the Python runtimes (version 2.6 and 2.7) so debug builds of pychartdir26.pyd and pychartdir27.pyd would be very helpful.

Thank you!

  Re: 32bit Windows debug CRT build
Posted by Peter Kwan on May-02-2014 23:49
Attachments:
Hi Joseph,

I have attached two Python modules pychartdir26_d.pyd and pychartdir27_d.pyd, which are
for the debug version of Python 2.6 and 2.7. Please put them in the same directory that
you installed pychartdir26.pyd and pychartdir27.pyd to.

Hope this can help.

Regards
Peter Kwan
pychartdir26_d.zip
pychartdir26_d.zip

40.45 Kb
pychartdir27_d.zip
pychartdir27_d.zip

40.43 Kb

  Re: 32bit Windows debug CRT build
Posted by Joseph on May-03-2014 01:06
Hello Peter,

This helps immensely. Thank you very much!