Misc

Anything that you might want to discuss and can't be categorized.

Docky init.c openlib() problems

Hi using AmiDock/applib skeletondocky init.c to create a Mixer.docky (almost done, only shows master volume) and sometimes it doesn't open AHI/Timer MsgPort.
It always fails when trying to open the 2nd MsgPort, no matter if its AHI or Timer.
Any ideas what is going on? Am I doing something theWrongwayTM?

TIA

Parts of the code I use in init.c:

Forums: 

Add options to an AppDocky?

Hi how do I use 'DOCKYGET_ContextMenu' to add a couple of options (alas AmiUpdate) to my program, allready used 'RegisterApp...' using applicaciotn.library and it shows my program in AmiDock with only one option 'Quit', and I would like to add 'Option1' and 'Option2' to such context menu.

AOs4 wiki (http://wiki.amigaos.net/index.php/The_Docks_and_Dockies) shows some code, but still don't know where/how to put/add such code. Must I first "link" (like in app_lib/TestApp.c 'DummyDocky.c') my programm to my AppDocky or what?

TIA

Forums: 

Do we need a programming template?

I would like to discuss if there is a need for a programming template. I know that there is the AVD Template from Jamie Krueger, that might be helpful. I liked to use the file structure the Emperor was producing, but I am afraid that this might be too old for now. Codebench and CubicIDE doesn't create basic files when you start a new project.

Forums: 

Out of memory when compiling libQtWebKit on X1000... WTF??

This is very strange: libQtWebKit.so compiles perfectly well on my faithful old SAM440 with 1 GB ram. When compiling the exact same sourcebase on my shiny new X1000 with 2 gigs, I get the following error:

ld: Warning: gc-sections option ignored
ld: final link failed: Memory exhausted

Forums: 

need some help with rewriting from sasc to gcc, and for mixing 68kbinary with aos4 library.

We currently works on porting dopus5 to all amigang platforms (include our os4 of course, there is SF page), and Xenic almost rewrite dopus5.library to gcc (our plan firstly rewrite library, make a native builds, and then start with main programm and modules). So, he almost rewrite it, but have some problems in which i hope someone can help us, there is relewant part from him:

Forums: 

Codebench and Makefiles

After fiddeling around with some single source files I decided to put all the #includes, prototypes and defines into a new header file. Codebench did the obvious and wrote a new Makefile (and a new project file as well). After that I were not able to compile anything. After some investigation I found the following:

My old (working!) Makefile for the single source file looked like this:

Forums: 

How to change wallpaper?

Is it possible to change the Workbench wallpaper from inside a program?
I have looked in the workbench.library, but there doesn't seem to be an entry for it. I have also tried executing prefs/WBPattern from a shell with arguments, but all it does is bring up the WBPattern window without changing the background...

Forums: 

Pages

Subscribe to RSS - Misc