Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - azemerov

Pages: [1]
1
General Board / Re: generate multiple classes in single unit
« on: March 30, 2004, 06:39:26 am »
Quote
Hi azemerov,

Your problem is probably that your classes have all got the filename set.  If they don't have the filename set then when you generate package source code (without checking the option to auto generate files) it will prompt you for a filename, your class list should go into that file.

Simon McNeilly


The problem is EA asks me for filename for EACH class in my pakage. If I provide the same name the latest class overrides results of previous class generation. If I press cancel on filename dialog it doesn't generate this class at all.

Alexander Zemerov

2
General Board / generate multiple classes in single unit
« on: March 26, 2004, 11:57:05 am »
Hi,

How can I generate single output  file containing set of my classes (say all classes in my package)?

I want to generate single file wich contains list of my classes.

My "File" template contains macro
 classes=%list="Class" @separator="," @indent=""%
My "Class" template is
 %className%

But EA generates each class in separated unit. And each unit contains only single class.

Thank you

3
Uml Process / Re: Can I generate mapping tables for many-to-many
« on: May 07, 2010, 07:17:52 am »
I don't know if it is possible using build-in EA tools, but you can use 3rd party tools. I can recommend DbUML 2.0 - https://sites.google.com/site/dbumlmap2/ - it allows you to create any kind of templates and generate everything you want - DDL, UML report or source code - any language, any structure. What is important - it has build-in mapping tool and is free.

4
Automation Interface, Add-Ins and Tools / Re: Delphi problem
« on: May 20, 2005, 03:02:44 pm »
Solved!

After I replaced interface types in my code to "Dual" ones (i.e. ICollection -> IDualCollection) everething is fine.

In EA_TLB.pas ICollection is declared as "dispinterface" and IDualCollection is declared as "interface (IDispatch)".

I'm not proficient in COM, so if enybody can explain while dispinterface doesn't work, I will be glad.

Alexander Zemerov.

Pages: [1]