944,202 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 1372
  • C++ RSS
Nov 5th, 2009
0

My code is giving lots of errors

Expand Post »
Pls help me out i am using visual C++6.0 enterprise edition....

c++ Syntax (Toggle Plain Text)
  1. /*--------------------------------------------------------------------------*/
  2. /*--------------------------------------------------------------------------*/
  3. // Source file originally created by PegWindowBuilder
  4. //
  5. //
  6. // Class Name: ecgclass
  7. //
  8. // Notes:
  9. /*--------------------------------------------------------------------------*/
  10. /*--------------------------------------------------------------------------*/
  11.  
  12.  
  13.  
  14. /* WB Auto-Generated Start (1) */
  15. #include "peg.hpp"
  16. #include "ecg_res.hpp"
  17. #include "ecgone.hpp"
  18. extern PegResourceTable Default_Theme_ResourceTable;
  19. /* WB Auto-Generated End (2) */
  20.  
  21. /*--------------------------------------------------------------------------*/
  22. /*--------------------------------------------------------------------------*/
  23. /* WB Auto-Generated Start (3) */
  24. void PegAppInitialize(PegPresentationManager *pPresent)
  25. {
  26. /* WB Auto-Generated End (20) */
  27.  
  28. /* WB Auto-Generated Start (21) */
  29. PegResourceManager::InstallResourcesFromTable(&Default_Theme_ResourceTable);
  30. ecgclass *pWin = new ecgclass(0,0);
  31. ecgclass ;
  32. pPresent->Center(pWin);
  33. pPresent->Add(pWin);
  34. /* WB Auto-Generated End (4) */
  35.  
  36. }
  37.  
  38. /* WB Auto-Generated Start (5) */
  39. /*--------------------------------------------------------------------------*/
  40. /*--------------------------------------------------------------------------*/
  41. // Constructor
  42. // Create top level object and add all children
  43. /*--------------------------------------------------------------------------*/
  44. /*--------------------------------------------------------------------------*/
  45. ecgclass::ecgclass(PEGINT Left, PEGINT Top) :
  46. PegWindow(FF_THIN)
  47. {
  48. PegRect ChildRect;
  49. PegThing *pChild1, *pChild2;
  50.  
  51. /* WB Auto-Generated End (6) */
  52.  
  53. /* WB Auto-Generated Start (7) */
  54. mReal.Set(Left, Top, Left + 949, Top + 849);
  55. InitClient();
  56. SetColor(PCI_NORMAL, CID_LOWLIGHT);
  57. RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  58.  
  59. ChildRect.Set(Left + 800, Top + 71, Left + 935, Top + 248);
  60. pChild1 = new PegPrompt(ChildRect, 0, ID_ECG,
  61. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  62. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  63. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  64. ChildRect.Set(Left + 800, Top + 71, Left + 841, Top + 248);
  65. pChild2 = new PegVPrompt(ChildRect, SID_ELECTRO, 0, FF_RAISED);
  66. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  67. pChild2->SetColor(PCI_NTEXT, CID_LIGHTGREEN);
  68. pChild1->Add(pChild2);
  69.  
  70. ChildRect.Set(Left + 854, Top + 173, Left + 922, Top + 192);
  71. pChild2 = new PegPrompt(ChildRect, SID_ECGREADING);
  72. pChild2->SetColor(PCI_NTEXT, CID_GREEN);
  73. pChild1->Add(pChild2);
  74.  
  75. ChildRect.Set(Left + 899, Top + 78, Left + 927, Top + 97);
  76. pChild2 = new PegPrompt(ChildRect, SID_UPPER);
  77. pChild2->SetColor(PCI_NTEXT, CID_GREEN);
  78. pChild1->Add(pChild2);
  79.  
  80. ChildRect.Set(Left + 905, Top + 150, Left + 933, Top + 169);
  81. pChild2 = new PegPrompt(ChildRect, SID_LOWER);
  82. pChild2->SetColor(PCI_NTEXT, CID_GREEN);
  83. pChild1->Add(pChild2);
  84.  
  85. ChildRect.Set(Left + 853, Top + 102, Left + 901, Top + 146);
  86. pChild2 = new PegTextBox(ChildRect, 0, ID_ECGBOX,
  87. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  88. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  89. pChild1->Add(pChild2);
  90.  
  91. Add(pChild1);
  92.  
  93. ChildRect.Set(Left + 800, Top + 247, Left + 935, Top + 344);
  94. pChild1 = new PegPrompt(ChildRect, 0, ID_SPO2,
  95. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  96. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  97. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  98. ChildRect.Set(Left + 800, Top + 247, Left + 838, Top + 344);
  99. pChild2 = new PegVPrompt(ChildRect, SID_OXYGEN, 0,
  100. FF_RAISED|AF_TRANSPARENT);
  101. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  102. pChild2->SetColor(PCI_NTEXT, CID_MENUBAR_HOV);
  103. pChild1->Add(pChild2);
  104.  
  105. ChildRect.Set(Left + 843, Top + 318, Left + 927, Top + 337);
  106. pChild2 = new PegPrompt(ChildRect, SID_SPOREADING);
  107. pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
  108. pChild1->Add(pChild2);
  109.  
  110. ChildRect.Set(Left + 905, Top + 249, Left + 933, Top + 268);
  111. pChild2 = new PegPrompt(ChildRect, SID_SPOUPPER);
  112. pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
  113. pChild1->Add(pChild2);
  114.  
  115. ChildRect.Set(Left + 905, Top + 298, Left + 933, Top + 317);
  116. pChild2 = new PegPrompt(ChildRect, SID_SPOLOWER);
  117. pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
  118. pChild1->Add(pChild2);
  119.  
  120. ChildRect.Set(Left + 905, Top + 274, Left + 933, Top + 293);
  121. pChild2 = new PegPrompt(ChildRect, SID_PERCENT);
  122. pChild2->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
  123. pChild1->Add(pChild2);
  124.  
  125. ChildRect.Set(Left + 844, Top + 262, Left + 892, Top + 306);
  126. pChild2 = new PegTextBox(ChildRect, 0, ID_SPOBOX,
  127. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  128. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  129. pChild1->Add(pChild2);
  130.  
  131. Add(pChild1);
  132.  
  133. ChildRect.Set(Left + 800, Top + 344, Left + 935, Top + 441);
  134. pChild1 = new PegPrompt(ChildRect, 0, ID_CO2,
  135. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  136. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  137. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  138. ChildRect.Set(Left + 800, Top + 344, Left + 835, Top + 441);
  139. pChild2 = new PegVPrompt(ChildRect, SID_CARBON, 0,
  140. FF_RAISED|AF_TRANSPARENT);
  141. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  142. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  143. pChild1->Add(pChild2);
  144.  
  145. ChildRect.Set(Left + 844, Top + 344, Left + 933, Top + 363);
  146. pChild2 = new PegPrompt(ChildRect, SID_CARBONAGENT);
  147. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  148. pChild1->Add(pChild2);
  149.  
  150. ChildRect.Set(Left + 838, Top + 377, Left + 931, Top + 396);
  151. pChild2 = new PegPrompt(ChildRect, SID_CARBONREADING, 0,
  152. FF_NONE|AF_TRANSPARENT|TJ_RIGHT);
  153. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  154. pChild1->Add(pChild2);
  155.  
  156. ChildRect.Set(Left + 882, Top + 420, Left + 931, Top + 439);
  157. pChild2 = new PegPrompt(ChildRect, SID_CARBONREAD);
  158. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  159. pChild1->Add(pChild2);
  160.  
  161. ChildRect.Set(Left + 881, Top + 397, Left + 896, Top + 417);
  162. pChild2 = new PegPrompt(ChildRect, SID_PARAONELOW);
  163. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  164. pChild1->Add(pChild2);
  165.  
  166. ChildRect.Set(Left + 918, Top + 365, Left + 933, Top + 385);
  167. pChild2 = new PegPrompt(ChildRect, SID_CARBOREADIN);
  168. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  169. pChild1->Add(pChild2);
  170.  
  171. ChildRect.Set(Left + 837, Top + 397, Left + 933, Top + 397);
  172. pChild2 = new PegTextBox(ChildRect, 0, 0, FF_RECESSED|TT_COPY|EF_WRAP,
  173. 1000);
  174. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  175. pChild1->Add(pChild2);
  176.  
  177. ChildRect.Set(Left + 848, Top + 360, Left + 865, Top + 378);
  178. pChild2 = new PegTextBox(ChildRect, 0, ID_COBOX, FF_RECESSED|TT_COPY|EF_WRAP,
  179. 1000);
  180. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  181. pChild1->Add(pChild2);
  182.  
  183. ChildRect.Set(Left + 896, Top + 360, Left + 913, Top + 378);
  184. pChild2 = new PegTextBox(ChildRect, 0, ID_COBOXTWO,
  185. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  186. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  187. pChild1->Add(pChild2);
  188.  
  189. ChildRect.Set(Left + 845, Top + 404, Left + 873, Top + 432);
  190. pChild2 = new PegTextBox(ChildRect, 0, ID_COBOXTHRE,
  191. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  192. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  193. pChild1->Add(pChild2);
  194.  
  195. Add(pChild1);
  196.  
  197. ChildRect.Set(Left + 801, Top + 538, Left + 936, Top + 635);
  198. pChild1 = new PegPrompt(ChildRect, 0, ID_P2,
  199. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  200. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  201. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  202. ChildRect.Set(Left + 801, Top + 575, Left + 836, Top + 635);
  203. pChild2 = new PegVPrompt(ChildRect, SID_ARTS, 0, FF_RAISED|AF_TRANSPARENT);
  204. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  205. pChild2->SetColor(PCI_NTEXT, CID_HELP_PRMPT);
  206. pChild1->Add(pChild2);
  207.  
  208. ChildRect.Set(Left + 801, Top + 538, Left + 851, Top + 577);
  209. pChild2 = new PegPrompt(ChildRect, SID_PARAMETERTWO, 0,
  210. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  211. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  212. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  213. pChild1->Add(pChild2);
  214.  
  215. ChildRect.Set(Left + 855, Top + 540, Left + 934, Top + 565);
  216. pChild2 = new PegPrompt(ChildRect, SID_PARATWOUPPER);
  217. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  218. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  219. pChild1->Add(pChild2);
  220.  
  221. ChildRect.Set(Left + 840, Top + 593, Left + 919, Top + 618);
  222. pChild2 = new PegPrompt(ChildRect, SID_PARATWOREAD);
  223. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  224. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  225. pChild1->Add(pChild2);
  226.  
  227. ChildRect.Set(Left + 855, Top + 608, Left + 934, Top + 633);
  228. pChild2 = new PegPrompt(ChildRect, SID_PARATWOREADIN);
  229. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  230. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  231. pChild1->Add(pChild2);
  232.  
  233. ChildRect.Set(Left + 881, Top + 565, Left + 891, Top + 595);
  234. pChild2 = new PegPrompt(ChildRect, SID_PARATWOSLASH);
  235. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  236. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  237. pChild1->Add(pChild2);
  238.  
  239. ChildRect.Set(Left + 893, Top + 568, Left + 920, Top + 591);
  240. pChild2 = new PegTextBox(ChildRect, 0, ID_PTWOTWO,
  241. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  242. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  243. pChild1->Add(pChild2);
  244.  
  245. ChildRect.Set(Left + 850, Top + 566, Left + 877, Top + 589);
  246. pChild2 = new PegTextBox(ChildRect, 0, ID_PTWO, FF_RECESSED|TT_COPY|EF_WRAP,
  247. 1000);
  248. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  249. pChild1->Add(pChild2);
  250.  
  251. Add(pChild1);
  252.  
  253. ChildRect.Set(Left + 799, Top + 633, Left + 934, Top + 730);
  254. pChild1 = new PegPrompt(ChildRect, 0, ID_GAS,
  255. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  256. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  257. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  258. ChildRect.Set(Left + 799, Top + 633, Left + 834, Top + 730);
  259. pChild2 = new PegVPrompt(ChildRect, SID_GASEOUS, 0,
  260. FF_RAISED|AF_TRANSPARENT);
  261. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  262. pChild2->SetColor(PCI_NTEXT, CID_YELLOW);
  263. pChild1->Add(pChild2);
  264.  
  265. ChildRect.Set(Left + 845, Top + 643, Left + 873, Top + 662);
  266. pChild2 = new PegPrompt(ChildRect, SID_OXYGENPERCENT, 0, FF_NONE|TJ_LEFT);
  267. pChild2->SetColor(PCI_NORMAL, CID_SHADOW);
  268. pChild2->SetColor(PCI_NTEXT, CID_GREEN);
  269. pChild1->Add(pChild2);
  270.  
  271. ChildRect.Set(Left + 845, Top + 692, Left + 874, Top + 722);
  272. pChild2 = new PegPrompt(ChildRect, SID_NITROGENPERCENT);
  273. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  274. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  275. pChild1->Add(pChild2);
  276.  
  277. ChildRect.Set(Left + 891, Top + 644, Left + 923, Top + 670);
  278. pChild2 = new PegTextBox(ChildRect, 0, ID_GASO, FF_RECESSED|TT_COPY|EF_WRAP,
  279. 1000);
  280. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  281. pChild1->Add(pChild2);
  282.  
  283. ChildRect.Set(Left + 892, Top + 693, Left + 922, Top + 719);
  284. pChild2 = new PegTextBox(ChildRect, 0, ID_GASNO, FF_RECESSED|TT_COPY|EF_WRAP,
  285. 1000);
  286. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  287. pChild1->Add(pChild2);
  288.  
  289. Add(pChild1);
  290.  
  291. ChildRect.Set(Left + 800, Top + 441, Left + 935, Top + 538);
  292. pChild1 = new PegPrompt(ChildRect, 0, ID_P1,
  293. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  294. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  295. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  296. ChildRect.Set(Left + 800, Top + 478, Left + 835, Top + 538);
  297. pChild2 = new PegVPrompt(ChildRect, SID_ARTS, 0, FF_RAISED|AF_TRANSPARENT);
  298. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  299. pChild2->SetColor(PCI_NTEXT, CID_HELP_PRMPT);
  300. pChild1->Add(pChild2);
  301.  
  302. ChildRect.Set(Left + 800, Top + 441, Left + 850, Top + 480);
  303. pChild2 = new PegPrompt(ChildRect, SID_PARAMETERONE, 0,
  304. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  305. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  306. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  307. pChild1->Add(pChild2);
  308.  
  309. ChildRect.Set(Left + 854, Top + 442, Left + 933, Top + 467);
  310. pChild2 = new PegPrompt(ChildRect, SID_PARATWOUPPER);
  311. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  312. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  313. pChild1->Add(pChild2);
  314.  
  315. ChildRect.Set(Left + 836, Top + 493, Left + 915, Top + 518);
  316. pChild2 = new PegPrompt(ChildRect, SID_PARATWOREAD);
  317. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  318. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  319. pChild1->Add(pChild2);
  320.  
  321. ChildRect.Set(Left + 856, Top + 511, Left + 935, Top + 536);
  322. pChild2 = new PegPrompt(ChildRect, SID_PARATWOREADIN);
  323. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  324. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  325. pChild1->Add(pChild2);
  326.  
  327. ChildRect.Set(Left + 883, Top + 468, Left + 893, Top + 498);
  328. pChild2 = new PegPrompt(ChildRect, SID_PARATWOSLASH);
  329. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  330. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  331. pChild1->Add(pChild2);
  332.  
  333. ChildRect.Set(Left + 851, Top + 468, Left + 878, Top + 491);
  334. pChild2 = new PegTextBox(ChildRect, 0, ID_PONE, FF_RECESSED|TT_COPY|EF_WRAP,
  335. 1000);
  336. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  337. pChild1->Add(pChild2);
  338.  
  339. ChildRect.Set(Left + 893, Top + 469, Left + 920, Top + 492);
  340. pChild2 = new PegTextBox(ChildRect, 0, ID_PONETWO,
  341. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  342. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  343. pChild1->Add(pChild2);
  344.  
  345. Add(pChild1);
  346.  
  347. ChildRect.Set(Left + 662, Top + 634, Left + 797, Top + 732);
  348. pChild1 = new PegPrompt(ChildRect, 0, ID_AGENT,
  349. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  350. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  351. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  352. ChildRect.Set(Left + 662, Top + 635, Left + 697, Top + 732);
  353. pChild2 = new PegVPrompt(ChildRect, SID_AGENTS, 0,
  354. FF_RAISED|AF_TRANSPARENT);
  355. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  356. pChild2->SetColor(PCI_NTEXT, CID_HIGHLIGHT);
  357. pChild1->Add(pChild2);
  358.  
  359. ChildRect.Set(Left + 698, Top + 681, Left + 794, Top + 681);
  360. pChild2 = new PegTextBox(ChildRect, 0, 0, FF_RECESSED|TT_COPY|EF_WRAP,
  361. 1000);
  362. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  363. pChild1->Add(pChild2);
  364.  
  365. ChildRect.Set(Left + 698, Top + 634, Left + 796, Top + 671);
  366. pChild2 = new PegTextBox(ChildRect, SID_AGENTONE, 0, FF_NONE|TT_COPY|EF_WRAP,
  367. 1000);
  368. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  369. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  370. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  371. pChild1->Add(pChild2);
  372.  
  373. ChildRect.Set(Left + 698, Top + 689, Left + 796, Top + 726);
  374. pChild2 = new PegTextBox(ChildRect, SID_AGENTTWO, 0, FF_NONE|TT_COPY|EF_WRAP,
  375. 1000);
  376. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  377. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  378. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  379. pChild1->Add(pChild2);
  380.  
  381. Add(pChild1);
  382.  
  383. ChildRect.Set(Left + 527, Top + 634, Left + 664, Top + 732);
  384. pChild1 = new PegPrompt(ChildRect, 0, ID_RESP,
  385. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  386. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  387. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  388. ChildRect.Set(Left + 527, Top + 635, Left + 562, Top + 732);
  389. pChild2 = new PegVPrompt(ChildRect, SID_RESPIRATON, 0,
  390. FF_RAISED|AF_TRANSPARENT);
  391. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  392. pChild2->SetColor(PCI_NTEXT, CID_HIGHLIGHT);
  393. pChild1->Add(pChild2);
  394.  
  395. ChildRect.Set(Left + 642, Top + 636, Left + 660, Top + 662);
  396. pChild2 = new PegPrompt(ChildRect, SID_RESPIUP);
  397. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  398. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  399. pChild1->Add(pChild2);
  400.  
  401. ChildRect.Set(Left + 648, Top + 664, Left + 659, Top + 685);
  402. pChild2 = new PegPrompt(ChildRect, SID_RESPILOW);
  403. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  404. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  405. pChild1->Add(pChild2);
  406.  
  407. ChildRect.Set(Left + 627, Top + 687, Left + 656, Top + 713);
  408. pChild2 = new PegPrompt(ChildRect, SID_RESPIBEAT);
  409. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  410. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  411. pChild1->Add(pChild2);
  412.  
  413. ChildRect.Set(Left + 575, Top + 646, Left + 621, Top + 681);
  414. pChild2 = new PegTextBox(ChildRect, 0, ID_RESPO, FF_RECESSED|TT_COPY|EF_WRAP,
  415. 1000);
  416. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  417. pChild1->Add(pChild2);
  418.  
  419. Add(pChild1);
  420.  
  421. ChildRect.Set(Left + 389, Top + 634, Left + 529, Top + 732);
  422. pChild1 = new PegPrompt(ChildRect, 0, ID_TEMP,
  423. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  424. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  425. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  426. ChildRect.Set(Left + 390, Top + 634, Left + 425, Top + 732);
  427. pChild2 = new PegVPrompt(ChildRect, SID_TEMPERATURE, 0,
  428. FF_RAISED|AF_TRANSPARENT);
  429. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  430. pChild2->SetColor(PCI_NTEXT, CID_HIGHLIGHT);
  431. pChild1->Add(pChild2);
  432.  
  433. ChildRect.Set(Left + 495, Top + 688, Left + 524, Top + 714);
  434. pChild2 = new PegPrompt(ChildRect, SID_TEMPDEGREE);
  435. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  436. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  437. pChild1->Add(pChild2);
  438.  
  439. ChildRect.Set(Left + 431, Top + 636, Left + 460, Top + 662);
  440. pChild2 = new PegPrompt(ChildRect, SID_TEMPE);
  441. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  442. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  443. pChild1->Add(pChild2);
  444.  
  445. ChildRect.Set(Left + 494, Top + 634, Left + 523, Top + 660);
  446. pChild2 = new PegPrompt(ChildRect, SID_TEMPUPPER);
  447. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  448. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  449. pChild1->Add(pChild2);
  450.  
  451. ChildRect.Set(Left + 495, Top + 658, Left + 524, Top + 684);
  452. pChild2 = new PegPrompt(ChildRect, SID_TEMPLOW);
  453. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  454. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  455. pChild1->Add(pChild2);
  456.  
  457. ChildRect.Set(Left + 436, Top + 674, Left + 482, Top + 709);
  458. pChild2 = new PegTextBox(ChildRect, 0, ID_TEMPO, FF_RECESSED|TT_COPY|EF_WRAP,
  459. 1000);
  460. pChild1->Add(pChild2);
  461.  
  462. Add(pChild1);
  463.  
  464. ChildRect.Set(Left + 0, Top + 634, Left + 301, Top + 732);
  465. pChild1 = new PegPrompt(ChildRect, 0, ID_MANUALBOX,
  466. FF_RAISED|AF_TRANSPARENT|TJ_LEFT);
  467. pChild1->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  468. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  469. ChildRect.Set(Left + 45, Top + 644, Left + 117, Top + 671);
  470. pChild2 = new PegTextBox(ChildRect, SID_MANUALLLY, ID_MANUAL,
  471. FF_NONE|TT_COPY|EF_WRAP, 1000);
  472. pChild2->AddStatus(PSF_SIZEABLE);
  473. pChild2->RemoveStatus(PSF_MOVEABLE);
  474. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  475. pChild2->SetColor(PCI_NTEXT, CID_MAGENTA);
  476. pChild1->Add(pChild2);
  477.  
  478. ChildRect.Set(Left + 0, Top + 634, Left + 35, Top + 732);
  479. pChild2 = new PegVPrompt(ChildRect, SID_BLOODPRESSURE, 0,
  480. FF_RAISED|AF_TRANSPARENT);
  481. pChild2->SetColor(PCI_NORMAL, CID_BLACK);
  482. pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
  483. pChild1->Add(pChild2);
  484.  
  485. ChildRect.Set(Left + 167, Top + 680, Left + 246, Top + 705);
  486. pChild2 = new PegPrompt(ChildRect, SID_PARATWOREAD);
  487. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  488. pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
  489. pChild1->Add(pChild2);
  490.  
  491. ChildRect.Set(Left + 185, Top + 700, Left + 264, Top + 725);
  492. pChild2 = new PegPrompt(ChildRect, SID_PARATWOREADIN);
  493. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  494. pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
  495. pChild1->Add(pChild2);
  496.  
  497. ChildRect.Set(Left + 46, Top + 673, Left + 71, Top + 698);
  498. pChild2 = new PegPrompt(ChildRect, SID_NIBPET);
  499. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  500. pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
  501. pChild1->Add(pChild2);
  502.  
  503. ChildRect.Set(Left + 121, Top + 668, Left + 146, Top + 693);
  504. pChild2 = new PegPrompt(ChildRect, SID_NIBPTWO);
  505. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  506. pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
  507. pChild1->Add(pChild2);
  508.  
  509. ChildRect.Set(Left + 138, Top + 644, Left + 183, Top + 669);
  510. pChild2 = new PegPrompt(ChildRect, SID_NIBPREADIN);
  511. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  512. pChild2->SetColor(PCI_NTEXT, CID_LIGHTMAGENTA);
  513. pChild1->Add(pChild2);
  514.  
  515. ChildRect.Set(Left + 205, Top + 647, Left + 235, Top + 674);
  516. pChild2 = new PegTextBox(ChildRect, 0, ID_NIBPUP,
  517. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  518. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  519. pChild1->Add(pChild2);
  520.  
  521. ChildRect.Set(Left + 243, Top + 644, Left + 253, Top + 674);
  522. pChild2 = new PegPrompt(ChildRect, SID_PARATWOSLASH);
  523. pChild2->SetColor(PCI_NORMAL, CID_NORMAL_TEXT);
  524. pChild2->SetColor(PCI_NTEXT, CID_WHITE);
  525. pChild1->Add(pChild2);
  526.  
  527. ChildRect.Set(Left + 256, Top + 647, Left + 286, Top + 674);
  528. pChild2 = new PegTextBox(ChildRect, 0, ID_NIBPDOWN,
  529. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  530. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  531. pChild1->Add(pChild2);
  532.  
  533. ChildRect.Set(Left + 42, Top + 698, Left + 108, Top + 722);
  534. pChild2 = new PegTextBox(ChildRect, SID_USAGETIMER, ID_TIMER,
  535. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  536. pChild2->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  537. pChild2->SetColor(PCI_NTEXT, CID_BLACK);
  538. pChild1->Add(pChild2);
  539.  
  540. Add(pChild1);
  541.  
  542. ChildRect.Set(Left + 492, Top + 751, Left + 558, Top + 770);
  543. pChild1 = new PegPrompt(ChildRect, SID_BATTERYSPO);
  544. pChild1->SetColor(PCI_NTEXT, CID_LIGHTCYAN);
  545. Add(pChild1);
  546.  
  547. ChildRect.Set(Left + 689, Top + 753, Left + 734, Top + 772);
  548. pChild1 = new PegPrompt(ChildRect, SID_BATTERYECG);
  549. pChild1->SetColor(PCI_NTEXT, CID_LIGHTGREEN);
  550. Add(pChild1);
  551.  
  552. #define PegLineChart
  553. #define ChildRect
  554.  
  555. ChildRect.Set(Left + 1, Top + 70, Left + 800, Top + 249);
  556. pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
  557. pChild1->SetId(ID_GRAPH1);
  558. pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
  559. pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
  560. ((PegLineChart *) pChild1)->SetExStyle (CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
  561. ((PegLineChart *) pChild1)->RemoveStyle (FF_MASK);
  562. ((PegLineChart *) pChild1)->AddStyle (FF_NONE);
  563. Add(pChild1);
  564.  
  565. ChildRect.Set(Left + 1, Top + 250, Left + 797, Top + 345);
  566. pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
  567. pChild1->SetId(ID_GRAPH2);
  568. pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
  569. pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
  570. ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
  571. ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
  572. ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
  573. Add(pChild1);
  574.  
  575. ChildRect.Set(Left + 1, Top + 346, Left + 797, Top + 441);
  576. pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
  577. pChild1->SetId(ID_GRAPH3);
  578. pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
  579. pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
  580. ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
  581. ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
  582. ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
  583. Add(pChild1);
  584.  
  585. ChildRect.Set(Left + 1, Top + 534, Left + 800, Top + 634);
  586. pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
  587. pChild1->SetId(ID_GRAPH5);
  588. pChild1->SetColor(PCI_NORMAL, CID_DARKGRAY);
  589. pChild1->SetColor(PCI_NTEXT, CID_DESKTOP);
  590. ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
  591. ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
  592. ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
  593. Add(pChild1);
  594.  
  595. ChildRect.Set(Left + 1, Top + 439, Left + 797, Top + 534);
  596. pChild1 = new PegLineChart(ChildRect, 0, 50, 0, 50, 10, 10);
  597. pChild1->SetId(ID_GRAPH4);
  598. pChild1->SetColor(PCI_NORMAL, CID_LOWLIGHT);
  599. pChild1->SetColor(PCI_NTEXT, CID_BLACK);
  600. ((PegLineChart *) pChild1)->SetExStyle(CS_DRAWYTICS|CS_AUTOSIZE|CS_DRAWYLABELS);
  601. ((PegLineChart *) pChild1)->RemoveStyle(FF_MASK);
  602. ((PegLineChart *) pChild1)->AddStyle(FF_NONE);
  603. Add(pChild1);
  604.  
  605. ChildRect.Set(Left + 442, Top + 774, Left + 589, Top + 802);
  606. pChild1 = new PegProgressBar(ChildRect,
  607. FF_RECESSED|PS_SHOW_VAL|PS_RECESSED|PS_PERCENT, 0, 100, 0);
  608. pChild1->SetId(ID_PERCENTSPO);
  609. pChild1->SetColor(PCI_NORMAL, CID_DARKGRAY);
  610. Add(pChild1);
  611.  
  612. ChildRect.Set(Left + 638, Top + 774, Left + 786, Top + 802);
  613. pChild1 = new PegProgressBar(ChildRect,
  614. FF_RECESSED|PS_SHOW_VAL|PS_RECESSED|PS_PERCENT, 0, 100, 0);
  615. pChild1->SetId(ID_PERCENTECG);
  616. Add(pChild1);
  617.  
  618. ChildRect.Set(Left + 473, Top + 812, Left + 537, Top + 837);
  619. pChild1 = new PegTextBox(ChildRect, SID_SPOTIMER, ID_TIMERSPO,
  620. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  621. pChild1->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  622. Add(pChild1);
  623.  
  624. ChildRect.Set(Left + 665, Top + 813, Left + 733, Top + 836);
  625. pChild1 = new PegTextBox(ChildRect, SID_ECGTIMWER, ID_TIMERECG,
  626. FF_RECESSED|TT_COPY|EF_WRAP, 1000);
  627. pChild1->RemoveStatus(PSF_MOVEABLE|PSF_SIZEABLE);
  628. Add(pChild1);
  629.  
  630. /* WB Auto-Generated End (8) */
  631.  
  632. }
  633.  
  634.  
  635. /*--------------------------------------------------------------------------*/
  636. /*--------------------------------------------------------------------------*/
  637. /* WB Auto-Generated Start (9) */
  638. PEGINT ecgclass::Message(const PegMessage &Mesg)
  639. {
  640. /* WB Auto-Generated End (10) */
  641.  
  642. /* WB Auto-Generated Start (11) */
  643. switch (Mesg.Type)
  644. {
  645. /* WB Auto-Generated End (12) */
  646.  
  647. case 1:
  648. break;
  649.  
  650. default:
  651. return PegWindow::Message(Mesg);
  652. return 0;
  653. }
  654. }







--------------------Configuration: bitmaps - Win32 Debug--------------------
Compiling...
ecgone.cpp
D:\Desktop\examples\kiran\ecg\ecgone.cpp(555) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(556) : error C2059: syntax error : 'constant'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(560) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(561) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(562) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(565) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(566) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(570) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(571) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(572) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(575) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(576) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(580) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(581) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(582) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(585) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(586) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(590) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(591) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(592) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(595) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(596) : error C2059: syntax error : ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(600) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(601) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(602) : error C2059: syntax error : ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(605) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(606) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(606) : error C2512: 'PegProgressBar' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(607) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(612) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(613) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(613) : error C2512: 'PegProgressBar' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(614) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(618) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(619) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(619) : error C2512: 'PegTextBox' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(620) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(624) : error C2143: syntax error : missing ';' before '.'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(625) : error C2143: syntax error : missing ')' before ','
D:\Desktop\examples\kiran\ecg\ecgone.cpp(625) : error C2512: 'PegTextBox' : no appropriate default constructor available
D:\Desktop\examples\kiran\ecg\ecgone.cpp(626) : error C2143: syntax error : missing ';' before ')'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : error C2143: syntax error : missing ';' before '}'
D:\Desktop\examples\kiran\ecg\ecgone.cpp(632) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

bitmaps.exe - 102 error(s), 0 warning(s)
Last edited by peter_budo; Nov 5th, 2009 at 8:38 am. Reason: Do not use CODE SNIPPED for asking questions. Use FORUM HREAD!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kiranpreddy05 is offline Offline
5 posts
since Oct 2009
Nov 5th, 2009
0
Re: My code is giving lots of errors
Your first error is on line 555. On line 553, you redefine the identifier ChildRect to mean nothing, was that your intent? I probably can't help beyond that, GUI building makes me dizzy.
Featured Poster
Reputation Points: 833
Solved Threads: 392
Posting Maven
Fbody is offline Offline
2,846 posts
since Oct 2009
Nov 5th, 2009
-7
Re: My code is giving lots of errors
If you are going to do this kind of advanced-level programming then you really need to learn how to debug your own errors. The problem is those two defines on lines 552 and 553. Delete them.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,963 posts
since Aug 2005
Nov 9th, 2009
0

Hi

If you are going to do this kind of advanced-level programming then you really need to learn how to debug your own errors. The problem is those two defines on lines 552 and 553. Delete them.
Thnks for u both ...
Y=The thing is when i remove those #define's i ll some errors sayin undeclared identifier so gave that..
If not the correct way pls help me out.


Thank u
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kiranpreddy05 is offline Offline
5 posts
since Oct 2009
Nov 9th, 2009
0
Re: My code is giving lots of errors
I'd suggest you look closer at the error it should tell you what line it's on within a couple lines. Perhaps post the offending code block and the actual error.

Things to look at:
Did you misspell anything?
Did you inadvertently close the scope?
Did you remember all your semi-colons?
Do you know that ChildRect is actually the undefined identifier?
What is pChild1? Line 540 looks out of place with the rest of your code. Did you forget to reference an object with the Add() method?
...
Last edited by Fbody; Nov 9th, 2009 at 8:51 am.
Featured Poster
Reputation Points: 833
Solved Threads: 392
Posting Maven
Fbody is offline Offline
2,846 posts
since Oct 2009
Nov 10th, 2009
0

hi

problem is solved thank u
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kiranpreddy05 is offline Offline
5 posts
since Oct 2009
Nov 10th, 2009
0
Re: My code is giving lots of errors
Great. What was the issue?
Featured Poster
Reputation Points: 833
Solved Threads: 392
Posting Maven
Fbody is offline Offline
2,846 posts
since Oct 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: C++ Instant Messenger Client
Next Thread in C++ Forum Timeline: How to capture a string into variable in a recursive function in C++?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC