B
Bonj
How can GDI+ be used from C++?? I tried the following
methods, but all failed with about 100 different errors
relating to stuff that was not in any file I created.
The file <gdiplus.h> only exists on my (XP pro) system in
a directory that was underneath the .NET install directory.
So I added this as an include directory to VC6.
1st attempt: Create standard Win32 app with VC6, #include
<gdiplus.h> (which it can now see), and try to create a
Graphics object. Fails with over 100 errors, none of which
I understand. Still fails if I add gdiplus.lib to the list
of libraries.
2nd attempt: Create standard Win32 app with VC.NET 2002
(unmanaged), #include <gdiplus.h>, and try to create a
Graphics object. Fails with over 100 errors.
3rd attempt: As 2nd attempt but starting off as a managed
empty project.
4th attempt: copy example code listing of a complete
program into each of the programs listed above. Fails
again.
From this, it would seem like C# is the only language
capable of using GDI+ (other than VB.NET which I don't
like purely because C# exists). Am I right, or can it be
done?
methods, but all failed with about 100 different errors
relating to stuff that was not in any file I created.
The file <gdiplus.h> only exists on my (XP pro) system in
a directory that was underneath the .NET install directory.
So I added this as an include directory to VC6.
1st attempt: Create standard Win32 app with VC6, #include
<gdiplus.h> (which it can now see), and try to create a
Graphics object. Fails with over 100 errors, none of which
I understand. Still fails if I add gdiplus.lib to the list
of libraries.
2nd attempt: Create standard Win32 app with VC.NET 2002
(unmanaged), #include <gdiplus.h>, and try to create a
Graphics object. Fails with over 100 errors.
3rd attempt: As 2nd attempt but starting off as a managed
empty project.
4th attempt: copy example code listing of a complete
program into each of the programs listed above. Fails
again.
From this, it would seem like C# is the only language
capable of using GDI+ (other than VB.NET which I don't
like purely because C# exists). Am I right, or can it be
done?