|
Can't run Chartdirector help please |
Posted by Martin on May-18-2017 17:01 |
|
Hi Everyone,
Hope you can help - its probably something silly I'm doing but I'm out of ideas now.
I'm using ChartDirector with Visual Studio Express 2013 with the demo file blackbarmeter.
Everything looks good but all that happens is a command prompt pops up and then dissapears.
I am running windows 8.1 Pro 64 bit with Microsoft Visual Studio Express 2013.
When I compile I get the information
1>------ Rebuild All started: Project: blackvbarmeter, Configuration: Debug x64 ------
1> blackvbarmeter.cpp
1> blackvbarmeter.vcxproj -> C:UsersmdonovanPictureschartdirectchartdir_cpp_win64ChartDirectorcppdemoblackvbarmeter...binDebugblackvbarmeter.exe
1> 0 File(s) copied
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
And when I click on debug
'blackvbarmeter.exe' (Win32): Loaded 'C:UsersmdonovanPictureschartdirectchartdir_cpp_win64ChartDirectorcppdemobinDebugblackvbarmeter.exe'. Symbols loaded.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32ntdll.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32kernel32.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32KernelBase.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:UsersmdonovanPictureschartdirectchartdir_cpp_win64ChartDirectorcppdemobinDebugchartdir60.dll'. Module was built without symbols.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32msvcr120d.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:Program Files (x86)F-SecureHIPSfshook64.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32psapi.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32advapi32.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32msvcrt.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32sechost.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32rpcrt4.dll'. Cannot find or open the PDB file.
'blackvbarmeter.exe' (Win32): Loaded 'C:WindowsSystem32sspicli.dll'. Cannot find or open the PDB file.
The program '[1908] blackvbarmeter.exe' has exited with code 0 (0x0).
Its my understanding that the PDB files are not essential for running the code but only for debugging so to my eyes all looks well.
When I run the program (Cntrl+F5) I get a command box open up which says "press any key to continue" when I do it closes.
Any help would be appreciated as I can't see anything to fix? Baffled!
Thanks
Martin |
Re: Can't run Chartdirector help please |
Posted by Peter Kwan on May-18-2017 22:55 |
|
Hi Martin,
The sample code you are testing is a command line program. It is supposed to create some meters as an image files. After running the program, you should see some image files created in the "blackvbarmeter" folder.
As you probably already know, C++ by itself does not support displaying graphics or any GUI. To create a GUI program, a GUI framework such as MFC or Qt is necessary.
If you are expected some graphics (the meters) to be displayed, you may consider to try the MFC sample code in "ChartDirector/mfcdemo".
I noticed you are using VS Express 2013, which does not support MFC. To try the MFC sample code, you may consider to use regular Visual Studio (not the "Express" edition), or to use the VS 2015 community edition. The VS 2015 community edition supports MFC and is free of charge.
Hope this can help.
Regards
Peter Kwan |
Re: Can't run Chartdirector help please |
Posted by Martin on May-19-2017 00:10 |
|
Hi Peter,
Thanks very much for your reply. You've worked out where my lack of understanding is and pointed me in the right direction.
Very much appreciated.
Thanks
Martin |
|