!!! pgenc.exe fails under Windows XP !!!
"Mikhail Moussikhine" <[email protected]> Mon, 30 Dec 2002 18:05:37 -0500
| Newsgroups | gmane.comp.db.sapdb.sources |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have just found the weirdest thing about pgenc.exe. I have no logical explanation for its behaviour except due to the (phantom?) bug in the code. First of all I was unable to build SAP DB under Windows XP. My env is quite alright as I have exactly the same configuration for Windows 2000 and everything is just fine. This is what I get trying to execute imf.pl all : .................. C:\Perl\bin\perl.exe D:\SAPDB\DevTool/bin/mfsize.pl \ -check=no \ -trace=none \ gsp00.con \ gsp00.typ Mon Dec 30 14:20 2002 gsp00.p: 1017 (**) E ----------------------^--- Duplicate case labels 1026 tsp_moveobj_ptr = ^tsp00_MoveObj; (* used by P\ TOC macro *) E ----------------------^--- Duplicate case labels 1036 nBufAddr = ^tsp00_ScreenBuf; E ----------------------^--- Duplicate case labels 1075 FALSE : E ----------------------^--- Duplicate case labels .................. ERROR : gsp00.c is empty ... deleting gsp00.c Possible previous pascal syntax error! COMMAND error 2 .................. This has no sense at all! After that everything is going to hell... Going through numerous .mac and .pl files (oh boy...) I finally reached pgenc.exe - the culprit of all this crap. Now, call "pgenc.exe gsp00.p" under Windows 2000 and you shall get output as a normal C file. Then do the same under Windows XP and you shall get the above crappy dump! The same files! Furthermore, if you run the same thing through any "debugger" (ex: MSVC or BoundsChecker) - IT WILL WORK!!! Seems to me memory leak or un-initialized pointer somewhere. Building the tools under Windows is a pain in the ass, so could you PLEASE solve this issue ASAP, as it REALLY gets on my way. (I am on XP now) Thanks in advance and Happy New Year. -- Mike