Hi, I have found the problem : It was Microsoft.VC90.DebugCRT.dll
Problem is in CMAKE. I don't know If it's a bug or I have make a mistake using CMAKE. In VC++9 generate with CMAKE when you use release configuration and select one file of wxwidgets project wxwidgets_app.cpp. In compile option for DEFINE I have WXDEBUG and DEBUG. Thanks for your help Werner Smekal a écrit : > Hi Laurent, > > sorry, I overlooked your email. > > On 7/2/10 2:29 PM, Laurent Berger wrote: >> Sorry I have forgotten to say that all dll are in same folder : >> >> 02/07/2010 14:24 <REP> . >> 02/07/2010 14:24 <REP> .. >> 24/11/2009 14:04 2ÿ695ÿ680 Atmcd32d.dll >> 02/07/2010 13:50 59ÿ904 csirocsa.dll >> 02/07/2010 14:24 0 list.txt >> 02/07/2010 13:50 95ÿ232 plplotcxxd.dll >> 02/07/2010 13:50 452ÿ608 plplotd.dll >> 02/07/2010 13:55 86ÿ016 plplotwxwidgetsd.dll >> 02/07/2010 13:51 62ÿ464 ps.dll >> 02/07/2010 13:50 56ÿ320 qsastime.dll >> 02/07/2010 13:51 45ÿ568 svg.dll >> 02/07/2010 13:55 101ÿ888 wxPLplotDemo.exe >> 02/07/2010 13:55 241ÿ152 wxwidgets.dll >> 02/07/2010 13:51 49ÿ664 x01.exe >> 02/07/2010 13:51 38ÿ400 xfig.dll >> >> When x01 is launched with ps driver everything is OK but with widgets >> program crashed. > > Looks ok. But where are the wxWidgets libraries? wxWidgets must be > compiled as shared library not static. In addition you could try to > compile the wxWidgets driver into the plplot library with the > ENABLE_DYNDRIVERS=OFF option. Then there is no need to open > wxwidgets.dll driver since it's compiled in the plplot library. You > still need the dynamic wxWidgets library though. > > Regards, > Werner > >> I have found something in wxwiddgets.dll manifest. If I open >> wxwidgets.dll with notepad I have found at the end of file something like >> >> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> >> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> >> <security> >> <requestedPrivileges> >> <requestedExecutionLevel level="asInvoker" >> uiAccess="false"></requestedExecutionLevel> >> </requestedPrivileges> >> </security> >> </trustInfo> >> <dependency> >> <dependentAssembly> >> <assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" >> version="9.0.21022.8" processorArchitecture="x86" >> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> >> </dependentAssembly> >> </dependency> >> <dependency> >> <dependentAssembly> >> <assemblyIdentity type="win32" >> name="Microsoft.Windows.Common-Controls" version="6.0.0.0" >> processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" >> language="*"></assemblyIdentity> >> </dependentAssembly> >> </dependency> >> </assembly> >> >> In your own dll have you got a reference to "Microsoft.VC90.DebugCRT" ? >> >> I think that it could be a crash cause for x01.exe. >> >> thanks for your answer >> >> >> Werner Smekal a écrit : >>> Hi, >>> >>> On 7/1/10 12:55 PM, Laurent Berger wrote: >>>> Hi, >>>> >>>> I use PLPLOT 5.9.6 on windows xp with visual C++ 9.0 with wxWidgets. >>>> With my computer and program x01.exe (the first sample proram) >>>> everythings work with ps or wxwidgets drivers. >>>> I have installed x01 on another computer. I have defined environement >>>> variable PLPLOT and PLPLOT_DRV_LIB. Program x01 works with ps drivers >>>> but crashs when I want to use wxwidgets driver. >>> Did you copy the shared wxWidgets plplot driver with the x01 example? >>> Did you copy the wxWidgets library (if it was shared as well)? You could >>> run x01.exe with the option "-debug -verbose" and then some debug >>> messages should be printed on the screen. Could you send this messages >>> to the list? >>> >>> HTH, >>> Werner >>> >>>> i have done something wrong but i cannot find it. >>>> >>>> thanks you answer. >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by Sprint >>>> What will you do first with EVO, the first 4G phone? >>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>> _______________________________________________ >>>> Plplot-devel mailing list >>>> Plplot-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/plplot-devel >>> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Plplot-devel mailing list >> Plplot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/plplot-devel > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel