Hello Ed -2!
|
01-09-2019, 01:05 AM
Post: #21
|
|||
|
|||
RE: Hello Ed -2!
Is there a faster why to do that in C ..
maybe somone alredy create HDC include for C win gui programming of course without extra large include (header file) ? |
|||
01-09-2019, 03:23 AM
Post: #22
|
|||
|
|||
RE: Hello Ed -2!
Ed
Just to let you know your example return error " unreferenced TextOutA@'20 " what kind of error is that ???? |
|||
01-09-2019, 04:07 AM
Post: #23
|
|||
|
|||
RE: Hello Ed -2!
Also ..this example also complain about TextOut@20'
Code: // How to print text in Win32 C/C++ is that normal ? |
|||
01-09-2019, 08:16 AM
Post: #24
|
|||
|
|||
RE: Hello Ed -2!
Ed
If is not problem Do you can try this examples in Falcon C++ ide |
|||
01-09-2019, 10:05 PM
Post: #25
|
|||
|
|||
RE: Hello Ed -2!
(01-09-2019 03:23 AM)Aurel Wrote: Ed It compiles fine here with MingW: gcc -mwindows winau.c Creates "a.exe". The error you are getting is a linker error. TextOut is a unicode/ansi function, and depending on how you have unicode set, it tries to link with either TextOutW (for wide char) or TextOutA (for ansi). No idea why your linker can't find it. I also tried Borland C, and it worked fine with that too. Did your original version compile? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: