Welcome! Log In Create A New Profile



Posted by dve83 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
February 08, 2006 08:40PM
Hi Im struggling to get this sorted. I have uninstalled & reinstalled my compiler & DEVC++ IDE. I have unzipped the Ezwin archive to c:\unisa. It created a DIR with the name 'examples' undre which you can find 'ezwin' which in turn contains the 'include', 'src' and 'lib' directories.

When I try to

include 'ezwin.h'

i get the following

Linker error: Undefined reference to 'WinMain@16'.

I have tried add the location of the ezwin files in the Compiler options, but it made no difference.

any ideas?
Re: EzWindows
February 15, 2006 09:45PM
Hi There,

I am not sure if the problem is the same, but I found some files automatically in

Tools-->Compiler options-->Directories-->Libraries.

After I followed the directions on the install disk sent by Unisa, and replaced the entries the program worked.

Also when you create a program are you using
File-->New-->Project-->Multimedia-->EZWin Application?

All the best,
Re: EzWindows
February 23, 2006 12:23PM
this is the error i always get when i tried this programm. PLease help now. i go futher without this. from Pretoria...

[Build Error] * [Project1_private.res] Error 1

#include "ezwin.h"
#include <string>
#include <iostream>
#include "rect.h"
using namespace std;

int ApiMain()
const float Unit = 0.25;
cout << "Enter size of data set: ";
int n;
cin >> n;
SimpleWindow W("Data set display", n+2, 10);
for (float x = 1; x <= n; ++x) {
cout << "Enter data value (n): ";
float y;
cin >> y;
RectangleShape Point(W, x, y, Blue, Unit, Unit);
return 0;
Re: EzWindows
February 27, 2006 09:49AM

can anyone plz help me. i always get an arror msg that reads "UNDEFINED `Fdollar-monstartup`" I've tried changing the settings in the directories as adviced but still it doesn't work, same error.
Re: EzWindows
March 07, 2006 12:24PM
can anyone help when i try to run and compile my programs i get an error message saying that "SimpleWindow undeclare"
Re: EzWindows
March 07, 2006 09:09PM
Hlengiwe there is a prob with ur start lines...

U know the ones like

#include "ezwin.h"
#include <string>
#include <iostream>
#include "rect.h"
using namespace std;

int ApiMain()

Check all that is declared..

Hey ppl thers all probs and no solutions her..

C'Mon... sum1 help!!!!!!!!1
Re: EzWindows
March 15, 2006 11:09AM
Dear Students

To solve the "UNDEFINED `Fdollar-monstartup`" error, first try the following:
On the Project menu, choose Project options, then on the Compiler tab, click on Code profiling and turn "Generate profiling info for analysis" off by clicking on the down arrow on the right and choosing "No".

This option is also available under the general compiler settings (Tools, Compiler Options, Settings), so you may have to turn it off there also.

If this does not solve your problem, do the following:

Uninstall MinGW and DevC++, search for the devcpp.ini file(s) under the hidden files, delete that and re-install MinGW and DevC++. This makes DevC++ set itelf to its original state where it asks for languages, themes, etc and also restores the basic templates. When MinGW and DevC++ is re-installed afterwards, it works correctly. Note that you will now have to set up the paths for the Compiler options under the Tools menu again.

Mrs Schoeman

Sorry, only registered users may post in this forum.

Click here to login