Search found 21 matches
- Fri Apr 02, 2010 3:47 pm
- Forum: Compiler Errors
- Topic: Linker Error: cannot find -lecere
- Replies: 2
- Views: 27577
Linker Error: cannot find -lecere
Hello, Today after I have copied the ecere directory to another Windows computer, I thought I have enough to use ecere. But I got Linker Error: cannot find -lecere when trying to build. What am I missing? The ecere directory contains bin, doc and mingw subdirectories from the the binary standard dis...
- Fri Apr 02, 2010 10:03 am
- Forum: eC Language
- Topic: Memory Handling
- Replies: 3
- Views: 13494
Re: Memory Handling
Hello, I tryed to write a self-made simple garbage collector, that keeps track of all local variables holding pointers to objects allocated on the heap. In the garbage collector run I then check that those variables still point to the same address, and if the count of variables, pointing to the watc...
- Fri Apr 02, 2010 5:33 am
- Forum: eC Language
- Topic: Memory Handling
- Replies: 3
- Views: 13494
Memory Handling
Dear Jerome, What is the memory handling strategy in Ecere? I am a bit confused, because I can not program as easily as in Java, without worrying about memory management at all. Maybe you could formalize some memory handling programming Patterns to adapt to when using Ecere? Right now I am using a m...
- Thu Apr 01, 2010 10:06 am
- Forum: General Discussion
- Topic: Share your Ecere experience and ideas
- Replies: 0
- Views: 19743
Share your Ecere experience and ideas
Hello,
Just a topic to share your experience with Ecere and ideas that come to your mind when learning and using Ecere.
Just a topic to share your experience with Ecere and ideas that come to your mind when learning and using Ecere.
- Wed Mar 31, 2010 8:55 am
- Forum: eC Language
- Topic: Does the renew operator delete the previously allocated mem?
- Replies: 1
- Views: 9479
Does the renew operator delete the previously allocated mem?
Hello,
Does the renew operator delete the previously allocated memory?
Like if some memory was allocated with new and then I call the renew operator and a completely new block of memory will be allocated, will the old block be freed?
Hopefully it will.
Does the renew operator delete the previously allocated memory?
Like if some memory was allocated with new and then I call the renew operator and a completely new block of memory will be allocated, will the old block be freed?
Hopefully it will.
- Mon Mar 22, 2010 4:58 am
- Forum: C/C++
- Topic: How to use .def file in ecere IDE
- Replies: 4
- Views: 30809
Re: How to use .def file in ecere IDE
Thank you guys for your answers. That helps. And thank you, jerome, for learning links - it great to acquire new knowledge on the topic. One more comment - it would be nice to have a special field in ecere IDE to provide a .def file or at least some hints and explanation, so that people having the s...
- Thu Mar 18, 2010 3:50 pm
- Forum: C/C++
- Topic: Writing an export function in ec, accepting a pointer
- Replies: 5
- Views: 33440
Re: Writing an export function in ec, accepting a pointer
Thank you very much, Jerome.
That helps! The picture becomes slowly more clear.
That helps! The picture becomes slowly more clear.
- Thu Mar 18, 2010 3:05 pm
- Forum: C/C++
- Topic: How to use .def file in ecere IDE
- Replies: 4
- Views: 30809
How to use .def file in ecere IDE
Hello,
So the question is in the title. How to use Module-Definition files in ecere IDE?
I need to build a DLL. How can I make use of .def file to list the exported function names, so that I do not have to figure out the decorated (mangled) names (like function1@8)?
So the question is in the title. How to use Module-Definition files in ecere IDE?
I need to build a DLL. How can I make use of .def file to list the exported function names, so that I do not have to figure out the decorated (mangled) names (like function1@8)?
- Tue Mar 16, 2010 10:43 am
- Forum: C/C++
- Topic: Writing an export function in ec, accepting a pointer
- Replies: 5
- Views: 33440
Re: Writing an export function in ec, accepting a pointer
Sorry guys for me being so stupid! The problem is in the decorated function names or mangled function names. I either have to 1. use a .def file when linking my dll written in ec language. or 2. lookup the decorated function names using for example the dumpbin.exe program with the /exports option on...
- Tue Mar 16, 2010 9:23 am
- Forum: C/C++
- Topic: Writing an export function in ec, accepting a pointer
- Replies: 5
- Views: 33440
Re: Writing an export function in ec, accepting a pointer
Hello Jerome, Thank you very much for your quick, smart and informative answer! Unfortunately, the new information, you provided, did not help me to manage to transmit a parameter into a function. 1. If I try to use extern "C" __declspec(dllexport) int __stdcall f2(MqlStr * pStr); the ec c...