Download Pelles C here: http://www.smorgasbordet.com/pellesc/
Quote from: Vortex on April 03, 2025, 11:15:53 AMKindly, could you mentioned about the amendments of the Poasm syntax? I think I will have to modify my Poasm source code archive.Well, the thing is... it's not so much changed syntax as it is interpretation of the syntax.
Quote from: TimoVJL on April 03, 2025, 09:18:31 AMsomething have changed ?Yes. Everything (in a sense). New MASM-mode specific expression format, only converted to the older/generic expression format after macro evaluations.
MessageBox EQU <MessageBoxA>
I think some errors comes from the (late) addition of OPTION RIPRELATIVE .../****************************************************************************
* *
* Filename: hello.c *
* *
* Purpose : Standard C sample for Pelles C for Windows. *
* *
* History : Date Reason *
* 02-09-10 Created *
* *
****************************************************************************/
#include <windows.h>
#include <stdio.h>
/* entry point */
int main(void)
{
printf("Hello, world!\n");
return 0;
}
"C:\Program Files\PellesC\Bin\pocc.exe" /Gd /Go /MT /O2 /utf-8 /W2 /Ze /Zx /Tamd64-coff hello.c
Setting 64-bit environment for Pelles C...
Compiling "E:\T\hello.c" with Pelles C pocc.exe
C:\Program Files\PellesC\Include\Win\wow64apiset.h(1): fatal error #1065: Failed converting input from 'UTF-8'.
Linking ................
POLINK: fatal error: File not found: 'E:\T\hello.obj'.
"C:\Program Files\PellesC\Bin\pocc.exe" /Gd /Go /MT /O2 /W2 /Ze /Zx /Tamd64-coff hello.c
Setting 64-bit environment for Pelles C...
Compiling "E:\T\hello.c" with Pelles C pocc.exe
C:\Program Files\PellesC\Include\Win\wow64apiset.h(1): fatal error #1065: Failed converting input from 'ANSI'.
Linking ................
POLINK: fatal error: File not found: 'E:\T\hello.obj'.
Quote from: MrBcx on April 02, 2025, 10:02:01 PMThat's more like it!Great, Thanks!
I completed test building hundreds of apps, large and small, CLI, Desktop, and DLL and have encountered zero issues.
Thanks Pelle!
E:\PellesC\sample>\PellesC\bin\poasm /AAMD64 SaveBmpFromHandle.asm
E:\PellesC\sample\SaveBmpFromHandle.asm(37): error: Invalid use of ','.
E:\PellesC\sample\SaveBmpFromHandle.asm(37): error: Invalid use of ','.
E:\PellesC\sample\SaveBmpFromHandle.inc(242): fatal error: Invalid use of ')'.
coinvk pPicture,IPicture,SaveAsFile,pStream,TRUE,ADDR BmpSize
attr=OPATTR(arg)
Quote from: Pelle on April 02, 2025, 08:46:09 PMQuote from: MrBcx on April 02, 2025, 04:37:01 PMConfirmed:"...so you wanted <fileapifromapp.h> to be included in the Setup? Why didn't you say so...?"
C:\PellesC\Include\Win\winbase.h(23): fatal error #1035: Can't find #include file <fileapifromapp.h>.
Now in Release Candidate #2 (from the same place) ...
Page created in 0.157 seconds with 15 queries.