Search found 40 matches

by AmiDARK
Tue Dec 11, 2018 4:00 pm
Forum: General Developer Support
Topic: IGraphics->AllocBitMap : dereferencing pointer to incomplete
Replies: 6
Views: 2653

Re: IGraphics->AllocBitMap : dereferencing pointer to incomp

Hello everyone and thank you for your answers. I got wrong because I included <graphics/gfx.h> that contain this definition of BitMap : struct BitMap { UWORD BytesPerRow; UWORD Rows; UBYTE Flags; UBYTE Depth; UWORD pad; PLANEPTR Planes[8]; }; I have included <proto/graphics.h> and it solved my issue...
by AmiDARK
Tue Dec 11, 2018 12:20 am
Forum: General Developer Support
Topic: IGraphics->AllocBitMap : dereferencing pointer to incomplete
Replies: 6
Views: 2653

IGraphics->AllocBitMap : dereferencing pointer to incomplete

Hello, When I use : displayCore.mainBitMap = IGraphics->AllocBitMap( screenConfig->Width, screenConfig->Height, screenConfig->Depth, BMF_INTERLEAVED, NULL ); I got this error message : Display.c:169: error: dereferencing pointer to incomplete type I define in the displayCore : struct BitMap * mainBi...
by AmiDARK
Wed Aug 29, 2018 10:36 pm
Forum: General Developer Support
Topic: Eclipse C++ & AmigaOS4 Libs partially supported ?
Replies: 0
Views: 1953

Eclipse C++ & AmigaOS4 Libs partially supported ?

Why some APICALL are not recognized by IDE as others are ? The capture show that for example, this call : struct Library * APICALL (*OpenLibrary)(struct ExecIFace *Self, CONST_STRPTR name, ULONG version); Is not recognized by IDE that tells me that IExec->OpenLibrary cannot be resolved Some others l...
by AmiDARK
Fri Sep 25, 2015 9:55 pm
Forum: General Developer Support
Topic: [Solved] Exec Replacement for Create/Delete Msg/IO Port
Replies: 5
Views: 5739

Re: Exec Replacement for Create/Delete Msg/IO Port

BroadBlues : I understand your words ... But I complete with "And more complex because there are several uses of the same functions" ;)

I've made the changes. The program compiles. I hope I used the correct tags for the job to be done.

Thank you.

Regards,
by AmiDARK
Fri Sep 25, 2015 10:36 am
Forum: General Developer Support
Topic: [Solved] Exec Replacement for Create/Delete Msg/IO Port
Replies: 5
Views: 5739

Re: Exec Replacement for Create/Delete Msg/IO Port

Ok.
In fact they want to reduce the amount of library functions creating more complex replacements. Right ?

Thank you for this information, I will check doc to see how they work.

Regards,
by AmiDARK
Fri Sep 25, 2015 10:15 am
Forum: General Developer Support
Topic: [Solved] Exec Replacement for Create/Delete Msg/IO Port
Replies: 5
Views: 5739

[Solved] Exec Replacement for Create/Delete Msg/IO Port

Hello. I had difficulties to setup MSG port and IO port for the program I did... Now that these functions are obsolete, I'd likt to update them to new methods... In SDK 53.30 Autodocs exec.doc, these functions are always in :( Not updated. Does someone can give me a clue on how I can replace these f...
by AmiDARK
Fri Sep 25, 2015 10:10 am
Forum: General Developer Support
Topic: [Solved] GetCurrentDirName replacement.
Replies: 3
Views: 3683

Re: GetCurrentDirName replacement.

Thank you thomasrapp.
I was not sure about this function.

Regards,
AmiDARK
by AmiDARK
Fri Sep 25, 2015 9:39 am
Forum: General Developer Support
Topic: [Solved] GetCurrentDirName replacement.
Replies: 3
Views: 3683

[Solved] GetCurrentDirName replacement.

Hello,

As the function is no more available in 53.30, does someone know a method to get the "current directory name" ?

Thank you.
by AmiDARK
Fri Sep 25, 2015 9:29 am
Forum: SDK Support
Topic: Replacements for Deprecated functions.
Replies: 5
Views: 7712

Replacements for Deprecated functions.

Hello.

Is there a place where we can see all the "replacement methods" for the "deprecated functions" from SDK 53.20 to 53.30 ?

Thank you.
by AmiDARK
Fri Sep 25, 2015 9:15 am
Forum: SDK Support
Topic: (Solved) AmiDevCPP as.exe and "mppc" support.
Replies: 3
Views: 5696

Re: (Solved) AmiDevCPP as.exe and "mppc" support.

In fact a folder in my AmiDevCPP AmigaOS4 SDK location was missing.
The AS.EXE that should be used for Amiga compilation was no more.
Reinstalling AmiDevCPP 0.98 fixed this problem fixing the issue.