Author Topic: Minor Issues  (Read 1409 times)

0 Members and 1 Guest are viewing this topic.

Arnold

  • Guest
Minor Issues
« on: March 01, 2017, 02:14:36 AM »
Hi Charles,

after recovering from an unexpected nasty cold I started a new little project which will take some time.

As I think that you will continue to refine Oxygenbasic I would like to mention some doubles which I found in MinWin.inc:

functions:
GetModuleFileName line 1328, line 1354
GetWindowLong 1395,1438
GlobalAlloc 1306,1339
GlobalFree 1307, 1343

constants:
DM_PELSHEIGHT 174, 1174
DM_PELSWIDTH 173, 1173
DM_SPECVERSION 151,152, two different values?

IDOK, IDCANCEL,IDABORT,IDRETRY,IDIGNORE,IDYES,IDNO
lines 34-40 and 103-109

IDI_APPLICATION 58,904
LF_FACESIZE 739, 1170
MB_ICONERROR 430, 431
MB_SERVICE_NOTIFICATION 142, 143, two different values?
WS_OVERLAPPEDWINDOW 338, 415

I assume some of these doubles are superfluous?

I also would like to ask a question about the help file. Which tools will I need to rebuild oxygen_help.chm?

Roland

Charles Pegge

  • Guest
Re: Minor Issues
« Reply #1 on: March 01, 2017, 05:05:55 AM »

Thanks Roland,

Version #43 will be out shortly, so I will clean up those duplications in MinWin.inc before the next release.

I have also done some more manual work, updating the help file and projectsA\ManualGenerator\ManualCreate.o2bas, which generates most of the html pages.

The primary data source for the manual is the text file inf\o2keyw.dat, which also embeds example code from various folders.

This is the tool used for compiling the html pages
HTML Help Workshop
https://msdn.microsoft.com/en-us/library/windows/desktop/ms669985(v=vs.85).aspx


PS: Vitamin D3 deficiency is the most likely cause of Winter diseases, due to lack of sunlight and oil fish in the diet. Even our government recommends it :)