Quantcast
Channel: Recent Topics - Forum - Embarcadero Community - Embarcadero Community
Viewing all 3677 articles
Browse latest View live

Looking for sample GIMDB.DM1 File/Sample Models - by: Dave D36403

$
0
0
I'm reading through the Embarcadero ER/Studio Data Architect documentation which references GIMDB.DM1 frequently as well as the Sample Models folder, but I can't for the life of me find them.

Do they exist somewhere in the install and I'm just overlooking? Can I download these somehow as a stand-alone .zip or anything?

Thanks

execute a method (procedure/function) by name - by: Al H36418

$
0
0

Trying to execute a Delphi object's method by name (stored in a tblbookmarks database file. What am I doing wrong?
typeTForm1 = class(TForm)Button1: TButton;procedure Button1Click(Sender: TObject) ;
privateprocedure ExecMethod(OnObject: TObject; MethodName: string) ;end;
varForm1: TForm1;
typeTExec = procedure of object;
procedure TForm1.ExecMethod(OnObject: TObject; MethodName: string) ;varRoutine: TMethod;Exec: TExec;beginRoutine.Data := Pointer(OnObject) ;Routine.Code := OnObject.MethodAddress(MethodName) ;if NOT Assigned(Routine.Code) then Exit;Exec := TExec(Routine) ;Exec;end;
procedure TForm1.Button1Click(Sender: TObject) ;beginExecMethod(Form1,tblBookMarks_Desc.Value);) ;end;

Cortana API/SDK - by: Sandro Adad

$
0
0
Does anyone know if the integration with the cortana API and Delphi is on the roadmap for vcl applications?

How to work with DirectX in C++ Builder 10 ? - by: Ciaphas

$
0
0
Does anyone know how to initialise Direct3D in C++ Builder 10 Berlin projects?
I used Direct3D surfaces for rendering in the past with old C++ Builder 6.0 and there was a problem with the use of DX dlls. The standard Microsoft ones wouldn't work. I used customarily built dlls from some site.
Now I am trying to use Direct3D surfaces in C++ Builder 10 Berlin and those old libraries wouldn't work. There is always this problem with DX graphics with every new version of Builder.
Does anyone know where to get required dlls, how to correctly attach them to project and finally initialise Direct3D with new Builder? I can't find any information anywhere on this issue, only for old C++ Builder 6.0.

Problem Installing C++ Builder Stater Edition - by: Richard B36496

$
0
0
I had problems installing "C++ Builder Starter Edition" in that:

a) the help diocs and sample files did not get installed
b)I tried typing out a C and a C++ program and noticed that all the keys,such as run,etc are greyed out.

I tried uninstalling and reinstalling it,but it didn't help.

One thing that would be nice,is in the RAD installer inside the program,if when one unchecks "C++ Builder...",it was still possible to download the help docs and sample files separately.

Any suggestions?

"bpl" package in android / iOS - by: Jefferson Manske

$
0
0
Is it possible to use the package concept in Android / iOS development? Well I've seen that it's possible to compile the package on the android platform, but I'm not able to open the package on android.

Looking for sample Sample Models [Solved] - by: Dave D36403

$
0
0
I'm reading through the Embarcadero ER/Studio Data Architect documentation which references GIMDB.DM1 frequently as well as the Sample Models folder, but I can't for the life of me find them.

Do they exist somewhere in the install and I'm just overlooking? Can I download these somehow as a stand-alone .zip or anything?

Thanks

Edit: Contacted Support. They were in a different directory than I had anticipated: C:\ProgramData\Idera\ErStudio2016+\Sample Models

How to use "URLDownloadToFile" with XE5 - by: jasdinKKP J36601

$
0
0
Hi sir,
I had use the "URLDownloadToFile" in XE5 with Window 7-32bit without problem.
but it can't be used in Window 7 - 64bit due to the "wsock32.lib" and "Urlmon.lib" are not support for 64bit system.
Do anyone knows where can I get the "wsock32.lib" and "Urlmon.lib" for 64 bit system or how can I use the "URLDownloadToFile" in 64 bit ?

Super Beginner Question - by: WInston P35773

$
0
0
Hello I am moving from 20 years with VB6 to Delphi.
Trying to simply fill rect of an image control. It draws on the form not in the imageControl. Using FireMonkey.


procedure TForm1.ImageControl1MouseMove(Sender: TObject; Shift: TShiftState; X,Y: Single);
varMyRect: TRectF;
beginMyRect := TRectF.Create(ImageControl1.Position.x , ImageControl1.Position.y , x, ImageControl1.Height);ImageControl1.Canvas.BeginScene();ImageControl1.Canvas.Fill.Color := claBlue;imagecontrol1.Canvas.Clear(claWhite);ImageControl1.Canvas.FillRect(MyRect,0, 0, [], 1.0);ImageControl1.Canvas.EndScene;end;

How to allow the user to select multiple cells? - by: Timur T7253

$
0
0
How to allow the user to select multiple cells of a TStringGrid object?Additionally, is there a way to select multiple cells of TStringGrid object using some code?(but these cells should be seen in the gui as highlighted cells)

I am using C++ Builder 10.1

Error IB2017 trial installation on win server 2016 - by: Carlos Alberto S36634

$
0
0
An error occurred during the installation of interbase 2017 trial on windows server 2016. Installation can not be completed.

Delphi Starter installation not working properly. - by: Joseph S36721

$
0
0
I just installed the free starter for Delphi in order to review some old code I wrote in 2006 and the IDE is not working properly with several problems. (Using WIndows 10)
  1. When I start the install after downloading, the program asks for the serial number I was emailed, but then does not accept it and offers the option to retry which simply repeats the same message after I reenter the number. If I opt to exit, it then continues installing and starting the IDE. The IDE will not open projects but will open *.pas units. However the IDE is not fully operational since the files cannot be closed, nor can I exit the program using the "X" or file close commands. I must resort to using task manager to exit.
  2. When I attempt to create an new project, nothing happens.
  3. WHen I attempt to open one of my old projects either nothing happens or I get an error message stating that the delphi.personality is not avaliable. (Several forum suggestions state that the enivronmental variable "Platform" should be deleted, but I it is not one of my variables.)
Can assist or direct me to resources?

Using Kvaser canlib SDK in RAD Studio - by: Roger F36757

$
0
0
I'm using Delphi 2007 to test a CAN Bus connected product. I have a Kvaser PCIcanS card that uses the Kvaser CANLIB SDK. I've installed that, and I can see it in the Windows Apps & features list.
The question I have is how to integrate it into Delphi? I haven't used Delphi for years so I'm not familiar with the way it presents the SDK to the programmer.
The Kvaser feature list says the following for support...
  • Borland/CodeGear/Embarcadero Delphi (all versions)
Can someone guide me as to how I can access the SDK? Will there be components that have to be imported or libraries linked? I have no idea I'm afraid.
Any assistance would be very much appreciated.
Thanks,
Roger

how get cell value (str or int) with DBGrid1DblCli - by: dmitri M13639

$
0
0
Pls aid,
how get cell value after double click on some cell on the Grid under option "DBGrid1DblClick"?
i use C++ bulder xe6,
thanks

Rest Request Failed - by: Dison Peña

$
0
0
[color=#242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px]Im getting a request failed error after make a rest call, i'm using rest component and Delphi 10.2, this error only happen on Android, on win32 all is fine.[/color]
[color=#242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px]
[/color]

lClientModule := TCM.Create(nil);trylClientModule.RESTClient1.BaseURL := (sBASE_URL);lClientModule.RESTRequest1.Resource := Format('fEstatusAutorizacion/%s/%d/%d', ['A',10, 20]);lClientModule.RESTRequest1.Execute;finallylClientModule.Free;end; 

sigC++ signals library w/ C++Builder 10.1 Berlin? - by: Andrew Bond

$
0
0
Has anyone managed to get the sigC++ signals library to work with C++Builder 10.1 Berlin (Update 2)?I am using the 32-bit CLANG compiler and I am getting the following error message in slot.h:
[C++ Error] slot.h(136, 35): use 'template' keyword to treat 'operator ()' as a dependent template name
I am also unsure how to setup the sigc++config.h file for CLANG.

If anyone can help, I'd be most grateful.

Thanks
Andrew

How to MultiSelect in the Delphi DBGrid - by: Zoe Tecnologia

$
0
0
Hi All,
At Delphi Berlin we did this:
procedure TForm1.btnDoSumClick(Sender: TObject);
var
i: Integer;
sum : Single;
begin
if DBGrid1.SelectedRows.Count > 0 then
begin
sum := 0;
with DBGrid1.DataSource.DataSet do
begin
for i := 0 to DBGrid1.SelectedRows.Count-1 do
begin
GotoBookmark(Pointer(DBGrid1.SelectedRows.Items));
sum:= sum + AdoQuery1.FieldByName('Size').AsFloat;
end;
end;
edSizeSum.Text := FloatToStr(sum);
end
end;
Now in Delphi Tokyo an error appears regarding the GotoBookmark.
[dcc32 Error] unt1.pas(38): E2010 Incompatible types: 'System.TArray' and 'Pointer'
How to Fix?
Thanks,

You can action Automatic Cake Making Machine - by: lindsayrobin

$
0
0
Remind her to get added aliment in so you can action all your accompany to Automatic Cake Making Machine waifanfoodmachine.com a amore bonbon cone.

I don't apperceive whether Mum will be admiring or not with this situation. She may be adored that she knows across her boyish is and what he is doing, on the added battle she may not appetence the all-overs of her address and backyard consistently accepting abounding with anybody else's kids.

It doesn't accumulated that abounding to accordance your boyish the chance of accepting the centermost of attention, if alone for the accurateness that kids will go across the treats are.

I don't base that you should breathing the boyish to buy accordance by alms bonbon cotton, but as I say aural their acclimatized amphitheater of friends, it's nice to be able to accordance them a little action that doesn't for once, accumulated that much.

As affiliated as you don't apprehend too abounding from these machines you are not traveling to be disappointed. They are not traveling to after-effects 4 cones a minute for instance like the ones you see at fairs.

However, they are the acclimatize of accoutrement that bureau you and your accouchement can accepting action while address a candied treat. It's a way you can affix and do something together.

The machines themselves appear in a acclimation of prices, some added big-ticket than other, and some added reliable than others.

You accepting to do your acclimation and emphasis at reviews from added parents afore you adjudge on one accurate brand.

You may be advantageous abounding to accession a accoutrement advertised in your belted newspaper, or a all-overs in your belted supermarket. Sometimes bodies accepting them for acclimation if their accouchement accepting outgrown their machine.

It is consistently best not to advanced into address something like a kids amore bonbon machine, even accepting they are not traveling to accumulated the earth, you still appetence something that isn't traveling to be breaking down all the time.

This would exhausted to disappointment for the accouchement and acerbity and acrimony for yourself. If you achieve the awry acclimation in the ancient address as to aloft and casting that ancient money could be a complete waste.

Be patient, emphasis about and I am complete you will accession something just acclimatized for your needs and pocketbook.

A amore bonbon accoutrement will accrue your little ones adored for hours

Many bodies bethink the canicule they went to the carnival with their families to adore the sites, rides, and foods. Amore bonbon has been in the hearts of abounding accouchement and adults affiliated due to its simple, fluffy, and cloud-like acclimation and its absent candied taste. Every aspect of this ashamed buttery action captures the assimilation of kids. But, accession allocation of this action besides the aftereffect that snags their action is beheld masterpiece of watching the bonbon accepting made.
http://www.waifanfoodmachine.com/ - Automatic Cake Making Machine.

Rotary Slitter Knife can be bogus from iks-sh - by: lindsayrobin

$
0
0
Fixed Casting Knives

Unlike its exhausted predecessors, blades of today Rotary Slitter Knife iks-sh.com can be bogus from a array of materials, anniversary with its advantages and disadvantages. An admixture of carbon and iron, carbon breathing is complete acicular and is simple to sharpen, but is affected to bane and stains. An admixture of iron, chromium, nickel, and molybdenum, stainless breathing is not able to yield on in actuality as acicular an bend as carbon steel, but it is abominable aggressive to corrosion. Advised to amalgamate the best attributes of carbon breathing and stainless steel, top carbon stainless breathing blades are able to beforehand a acicular bend and do not besmear or stain.

Laminate blades are created by a band of harder, added breakable breathing that is sandwiched amidst an alien band of softer, tougher stainless breathing to abate affairs of corrosion. Pattern-welding is accession abode agnate to accoutrement construction, which welds acclimatized breathing types in layers, but afresh the banal is manipulated to achieve patterns in the steel. A lighter, added abrasion aggressive metal, titanium is added adjustable than steel, although it is clumsy to yield as acicular an edge. However, carbides in the titanium admixture acquiesce them to be heat-treated to a acceptable hardness. Abundantly allowed to corrosion, basin blades are complete harder and failing blades, able to beforehand a acicular bend for years at a time with little or no maintenance. Basin blades may abandoned be acicular on silicon carbide sandpaper and some acerbic wheels.

Forging & Banal Removal

Steel blades are frequently shaped by accomplishment or banal removal. Blades are artificial by heating a individual area of breathing and abstraction the metal while it is hot with a blast or press. Banal abatement blades are shaped by acerbic the removing metal. Afterwards abstraction with both methods, the casting acceptance to be calefaction treated, which involves heating the breathing aloft its analytical point and afresh abatement the casting to amalgamate it. Already the casting is hardened, it is choleric to abolish stresses and acclimate the blade. Accomplishment tends to be acclimated for added high-end adeptness cutlery lines.

Folding Knives

Connected to the handle through a pivot, the folding knife's casting is able to bend into the handle. Folding knives are about created with a locking apparatus to anticipate the casting from accidentally closing on the user's hand.

Found a lot of frequently on acceptable abridged knives, a boner collective holds the attainable casting in abode by a bounce emphasis that allows the casting to bend if a assertive bulk of accountability is applied. A lockback includes a pivoted latch affiliated to a spring, and can be able abandoned by acute the latch down to absolution the blade. Added types of acclimatized locking actualization include: liner lock, assay lock, button lock, and arbor lock.
http://www.iks-sh.com/product/ - Rotary Slitter Knife.

TClientDataSet - Memory Leak - by: Marius Céré

$
0
0
I use Delphi XE8 and FastMM 4.991.
When I execute this code, I receive a memory leak after close my app.
with TClientDataSet.Create(nil) dobegintryFieldDefs.Add('FieldOne', ftString, 10);CreateDataSet;finallyFree;end;end;
I tried whit Delphi 10 Seatle trial and I receive the same memory leak.
How can I set memory loss?
Viewing all 3677 articles
Browse latest View live