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

BorlndMM.DLL error and App hangs in XE3 Win10 x64 - by: Tomasz

$
0
0
Hi all,

I'm ocassionally getting:
Access violation at address in module 'borlndmm.dll'

When I try to debug a see the application stops at:



Sometimes when I just move cursor over some toollbar button the cursor icon suddenly changes from "arrow" to "crHSplit" (although no mouseOver event is implemented) and it stays that way so I have to kill the app.

How do I debug such strange behavior? The app is pretty simple, it does some COM port transfers, some data display in string grid, nothing fancy.

I read something about FastMM.dll replacement for borlndmm.dll but it turns that under XE3 it may cause licence deactivation, dll swap is not allowed here or something.
It may look like some memory allocation problem but I'm not doing any memory allocations in my app.
Can it be that XE3 works bad with my Win10 x64 ?
I'm compiling for Winx32bit target and running on my x64 Win10.

thanks in advance
regards
Tomasz

Creating a New Unit or New Form in Delphi 10.2.3 causes Access Violation - by: NARAYANAN

$
0
0
After upgrading Delphi to the latest Tokyo 10.2 Release 3, I keep getting Access Violation at address xxxxxxxx in module 'delphicoreide250.bpl' whenever I try to create a new unit or form. How to fix it?

[21F9CD43]{delphicoreide250.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 320, "EditorStructuralHighlight.pas" + 3) + $0
[21F9CD3E]{delphicoreide250.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 319, "EditorStructuralHighlight.pas" + 2) + $0
[5005FBA2]{rtl250.bpl } System.@IsClass (Line 17430, "System.pas" + 1) + $8
[5005FBCD]{rtl250.bpl } System.@AsClass (Line 17436, "System.pas" + 2) + $8
[5005FBA2]{rtl250.bpl } System.@IsClass (Line 17430, "System.pas" + 1) + $8
[207B3D7F]{coreide250.bpl} EditorBuffer.FindEditWindowAndView (Line 6118, "EditorBuffer.pas" + 40) + $2
[207B3DFD]{coreide250.bpl} EditorBuffer.FindTopEditView (Line 6143, "EditorBuffer.pas" + 1) + $6
[21F9CD3E]{delphicoreide250.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 319, "EditorStructuralHighlight.pas" + 2) + $0
[207B327B]{coreide250.bpl} EditorBuffer.TEvQueryEditEvent.Send (Line 5846, "EditorBuffer.pas" + 3) + $1E
[207AC95C]{coreide250.bpl} EditorBuffer.QueryEventHandler (Line 2324, "EditorBuffer.pas" + 2) + $18
[22226ADA]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_REGEX.OBJ.@RegExp@regmatch$qqrpxuc + $3FA
[2221D2E9]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_INS.OBJ.@LineEndUndoOp@Execute$qpv13EKExecuteOp_t + $1BD
[22212325]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_BLOCK.OBJ.@DeleteBlockUndoOp@Execute$qpv13EKExecuteOp_t + $199
[22214F98]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.@C5_0 + $488
[22217DE6]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.EK_GET_LINE_CONTENTS + $3EA
[22217DA1]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.EK_GET_LINE_CONTENTS + $3A5
[207856B2]{coreide250.bpl} EdProcs.SafeEkEval (Line 365, "EdProcs.pas" + 6) + $5
[20785696]{coreide250.bpl} EdProcs.SafeEkEval (Line 363, "EdProcs.pas" + 4) + $8
[20783F90]{coreide250.bpl} EdKrnl.EkEval (Line 3571, "EdKrnl.pas" + 3) + $9
[2078265D]{coreide250.bpl} EdKrnl.DeleteTo (Line 1212, "EdKrnl.pas" + 28) + $8
[207AB4CB]{coreide250.bpl} EditorBuffer.TEditWriter.DeleteTo (Line 1654, "EditorBuffer.pas" + 4) + $15
[208E2424]{coreide250.bpl} CodeMgr.TDeleteText.Modify (Line 3100, "CodeMgr.pas" + 1) + $8
[208E2B12]{coreide250.bpl} CodeMgr.DoUpdates (Line 3269, "CodeMgr.pas" + 15) + $7
[208E2BDF]{coreide250.bpl} CodeMgr.TCodeUpdater.CommitUpdates (Line 3283, "CodeMgr.pas" + 10) + $9
[21EE8DD5]{delphicoreide250.bpl} PasMgr.TPascalProjectUpdater.Update (Line 11909, "PasMgr.pas" + 205) + $5
[21EE6A12]{delphicoreide250.bpl} PasMgr.TPascalProjectUpdater.AddModule (Line 11196, "PasMgr.pas" + 56) + $5
[21E5A2F4]{delphicoreide250.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.AddModule (Line 3645, "BaseDelphiProject.pas" + 7) + $29
[21EF5A8E]{delphicoreide250.bpl} DelphiModule.TPascalCodeMgrModHandler.AddToProject (Line 444, "DelphiModule.pas" + 24) + $3F
[21EF669D]{delphicoreide250.bpl} DelphiModule.TPascalCodeMgrModHandler.SetupSourceModules (Line 679, "DelphiModule.pas" + 115) + $1C
[21EF5D9E]{delphicoreide250.bpl} DelphiModule.TPascalCodeMgrModHandler.Create (Line 515, "DelphiModule.pas" + 5) + $7
[21EFD6D5]{delphicoreide250.bpl} DelphiModule.TPascalGauntletHandler.AttachHandler (Line 2979, "DelphiModule.pas" + 6) + $16
[208B883D]{coreide250.bpl} DocModul.TModuleHandlerGauntlet.RunGauntlet (Line 3236, "DocModul.pas" + 4) + $1E
[208B3BE9]{coreide250.bpl} DocModul.TDocModule.AfterConstruction (Line 956, "DocModul.pas" + 4) + $7
[206E3643]{coreide250.bpl} SourceModule.TSourceModule.AfterConstruction (Line 782, "SourceModule.pas" + 4) + $3
[50060039]{rtl250.bpl } System.@AfterConstruction (Line 18304, "System.pas" + 2) + $5
[206E2777]{coreide250.bpl} SourceModule.TSourceModule.Create (Line 426, "SourceModule.pas" + 30) + $75
[21EC2DDA]{delphicoreide250.bpl} CommonPasReg.TCreatorTemplate.Selected (Line 1756, "CommonPasReg.pas" + 3) + $24
[204FB646]{coreide250.bpl} GalleryTypes.TGalleryItem.DoSelect (Line 188, "GalleryTypes.pas" + 5) + $6
[2068250D]{coreide250.bpl} GalBrow.BrowseNewDialog (Line 345, "GalBrow.pas" + 24) + $5
[20682412]{coreide250.bpl} GalBrow.BrowseNewDialog (Line 313, "GalBrow.pas" + 0) + $6
[206872B0]{coreide250.bpl} Gallery.FileNewDialog (Line 731, "Gallery.pas" + 0) + $0
[004A140B]{bds.exe } AppMain.TAppBuilder.FileNew (Line 2678, "AppMain.pas" + 1) + $2
[5016DE67]{rtl250.bpl } System.Classes.TBasicAction.Execute (Line 16904, "System.Classes.pas" + 6) + $1
[50ACDD82]{vcl250.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35
[5016DCD3]{rtl250.bpl } System.Classes.TBasicActionLink.Execute (Line 16813, "System.Classes.pas" + 3) + $3
[50AE51B4]{vcl250.bpl } Vcl.Controls.TControl.Click (Line 7452, "Vcl.Controls.pas" + 7) + $7
[50B63D84]{vcl250.bpl } Vcl.ComCtrls.TToolButton.Click (Line 21638, "Vcl.ComCtrls.pas" + 0) + $0
[50AE5687]{vcl250.bpl } Vcl.Controls.TControl.WMLButtonUp (Line 7593, "Vcl.Controls.pas" + 7) + $6
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE8F06]{vcl250.bpl } Vcl.Controls.GetControlAtPos (Line 9931, "Vcl.Controls.pas" + 4) + $75
[50AE8FCE]{vcl250.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 9954, "Vcl.Controls.pas" + 13) + $E
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE909C]{vcl250.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9978, "Vcl.Controls.pas" + 15) + $29
[50AE96A4]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10155, "Vcl.Controls.pas" + 112) + $6
[50B65EA9]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonState (Line 22916, "Vcl.ComCtrls.pas" + 11) + $27
[50B65EEA]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonStates (Line 22927, "Vcl.ComCtrls.pas" + 3) + $4
[50B68918]{vcl250.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24512, "Vcl.ComCtrls.pas" + 104) + $6
[50AE8E10]{vcl250.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[207A3620]{coreide250.bpl} EditorStatusControls.TEditorStatusControlForm.RecordActionUpdate (Line 48, "EditorStatusControls.pas" + 6) + $37
[50C32F90]{vcl250.bpl } Vcl.Forms.TApplication.StopHintTimer (Line 11369, "Vcl.Forms.pas" + 3) + $3
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C32195]{vcl250.bpl } Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
[005088F2]{bds.exe } bds.bds (Line 212, "" + 7) + $7

iPhone X & iOS 11 builds with RAD Studio 10.2.3 - by: David

$
0
0
We have upgraded to RAD Studio 10.2.3 on the understanding that we could build and deploy for iOS 11 and iPhone X. We have also upgraded Xcode to 9.2. However we are struggling to understand how we build and test for iOS 11.

- When we try and run on an iOS 11 simulator we get the following message: "iOS Simulator version 11 or later is currently not supported.' See attachment. This seems to contradict this information: community.embarcadero.com/blogs/entry/ma...-x-support-in-10-2-2

- When we attempt to build using the iOS 11 SDK (by selecting the iOS 11 DSK in the project manager), and then run the App on an iOS 10 simulator we get the Apple warning message: 'App Needs to be Updated'.
Apple's website suggests this is because it hasn't been built for iOS11:
support.apple.com/en-gb/HT207449
Is this the case, if so why, or is it for some other reason. See attachment.

- There is no iPhone X view in the designer. See attachment.


We would appreciate some guidance on this.

Delphi 10.2.3 Starter Edition - by: Piotr

$
0
0
I was trying to install Delphi Tokyo Starter Edition (with default settings) parallel to Delphi XE and Delphi Berlin (10.1 Update 2). There was no problem during installation process but when the IDE was starting I got a bunch of errors. Most of them were exceptions like:

"Exception EPackageRegistratioException in module coreide250.bpl at 0003D46B. Registration procedure, MSTemplate.IDERegister in package [...] codetemplates250.bpl raised exception class Exception: Application is not licensed to use this feature".

Those exceptions were followed by some AVs like:

"Access violation at address: xxxx in module 'rtl250.bpl'",
"Access violation [...] in module 'coreide250.bpl'".

And then some other errors like:

"Can't load package [...]\DataExplorerDBXPlugin250.bpl'", "Can't load package [...]\DataExplorerDBXPluginInt250.bpl'"...

Did anyone experience similar problem? Or am I alone?

Closed (Firedac) Dataset - by: Barry

$
0
0
Hi
I'm getting: 'fdqEvents: Cannot perform this operation on a closed dataset'. where fdqEvents is a simple query of a MS SQL table. The query is active, and the message is coming when I press a close form button, or change the fdc connection between live and test servers. I can't see (via the debugger) exactly which line this is executing when the error message comes up, so I'm at a loss what is causing it.
Any thoughts would be helpful.

Recommended books for Delphi? - by: David

$
0
0
I've just downloaded the starter edition and I'm looking for books on Delphi. Is "Delphi in a Nutshell" by Ray Lischner still relevant? It was published in 2000, so I'm wondering if it's too out-of-date to be useful. And where can I find the eBook edition of "Object Pascal Handbook" by Marco Cantù? It's supposed to be available for free, but when I click on the download button, I get "Not authorized" (even though I'm logged into the Embarcadero web site). Any other recommendations, besides the books published by Packt? (I'm not a big fan of their books, I think they're very poorly edited.)

Thanks.

set_difference - by: Digby

$
0
0
Hello,

I have following code;

#include <vector>
#include <algorithm>
#include <iterator>
#include <iostream>

struct data {
int element1;
int element2;
};

vector<data> data1(7), data2(7), data3(7)

data1[0].element1 = 1;
data1[1].element1 = 2;
data1[2].element1 = 2;
data1[3].element1 = 3;
data1[4].element1 = 3;
data1[5].element1 = 4;

data2[0].element1 = 2;
data2[1].element1 = 3;

struct comp {

bool operator()(const data& d1, const data& d2) const
{
return (d1.element1 != d2.element1);
};
}

std::set_difference(data1.begin(), data1.end(), data2.begin(),
data2.end(), data3.begin(), comp());

The result I get is data3.element1 = {1,2,3,4}

The result I want is data3.element1 = {1,4}

i.e. I want all occurrences of 2 and 3 removed, not just the first ones.

I was wondering what modifications I could make to do this?

I prefer to do it in one pass of the set_difference command, as I need for it
to run as fast as possible.

Thankyou,

James

Switching license on existing installation? - by: Bo

$
0
0
I have used a PC for development for a while using XE5 and XE7.
Now I want to transfer this PC to another person but I don't want my license to go along.
Can we buy a new RAD Studio Pro license and change the existing installation to this license?
I will still use my licensed products on my other development PC:s, so this is not about a license transfer from me to another person but changing the license for an existing installation. I have already done this for Windows 7 itself, Microsoft has made that an easy task by having a link in the Control Panel/System applet. Worked like a charm.
Is there something similar available for RAD Studio?

What's happening with DPI - by: Aidan

$
0
0
<span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">We upgraded to Tokyo Update 1 specifically because of the marketing bumpf about DPI improvements.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> In turn because of the bits and pieces of breakage I went ahead and upgraded us to Tokyo Update 2.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> Overall I haven't seen any improvement for DPI awareness and a search today using just "DPI" returned approximately 196 bugs that are not resolved at all.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> I have championed Delphi for our team over the last three years having upgraded from D6 all the way to Tokyo.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> I need a real answer/commitment from someone in authority as this DPI work is using up time.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> Please provide me with a phone number or email for a contact that I can get in touch with.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> The coverage to date is totally unsatisfactory.</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> Cheers,</span><br style="background-color: transparent; box-sizing: border-box; color: #333333; font-family: &quot; segoe ui&quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" /><span style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Segoe UI',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"> Aidan. </span>

A question for SQL Server Experts: Delphi database access - by: Mark

$
0
0
Greetings

I have been a Delphi developer for many years, and have used many databases. I 'm about to tackle my first SQL Server project.

I use Rad Studio 10.2 Tokyo on a Windows 10 server. I use FireDac for the database components.

I would appreciate someone helping me understand the design ramifications between the following two approaches:

Database access using FDtables, and calling table.findkey, table.edit, table.post, or table.delete methods as opposed to coding sql select, insert, modify, and delete statements.

My understanding (which may be incorrect) is that the edit, insert, and delete methods are simply wrappers around the corresponding sql statements mentioned above.

I've done it both ways, and I don't see a big difference in response time, so I'm hoping for guidance. I want to approach this project with the proper mindset.

Thanks so much

Mark Anderson

Issues with underscore on entry - by: Erwin

$
0
0
I'm writing a DLL which will be used from an independent application. It needs the exported names without an underscore. I've defined that with the Project / Options / C++ Compiler / Output / Create underscores for symbols. This works.

But if i use a Vcl.Form in my DLL i get linker errors. Because the linker needs _BeforeDestruction, _ClassDestroy, _ClassCreate and _AfterConstruction which have also no underscore.

So, how can i get underscore for the externals in one cpp file and no underscores in the other file.

underscore in external names - by: Erwin

$
0
0
I'm writing a plugin dll for a not me application. The app requests, that the plugin dll has externals without an underscore. I've solved this as i checked option Project / Options / C++ Compiler / Output / Create underscore for external symbols.

But i need some Vcl.Dialogs in the plugin. As i compiled it i get a message from the linker, that externals _BeforeDestruction, _ClassDestroy, _ClassCreate and _AfterConstructions are missing.

How can i get underscores in one OBJ and no underscores in another OBJ of the dll.

Thanks in advance.

CoreMidi won't load when compiling - by: Kenneth

$
0
0
I added CoreMidi framework to the SDK and updated the local cash so I can run RtMidi in a program. RtMidi requires that CoreMidi be added to the framework. When I compile, I get an error at the xlink.exe process that says "unable to open file coremidi". If I look in the framework directory a coremidi folder is there with a coremidi header folder that has header files in it. I even put this directory in the search path for libraries but it made no difference. One thing I did notice is that all the other framework folders have a shortcut in them and the coremidi folder does not. There is nothing in the coremidi folder except the header files folder with header files. Do I need to add a shortcut to this folder and where should it point? coremidi isn't anywhere in my system except for header files in this folder

making soap calls in an ISAPI-module - by: Jan

$
0
0
Hi,
We're looking for a way to make soap-calls to a remote server from an ISAPI-module.
We currently use THTTPRio to make the soap requests but since it uses WinINet, it is not recommended to use in services.
Is there a way to keep using httprio in an ISAPI-module or is there an easy way to switch to TNetHttpClient.
Is there an wsdl-importer available which generates code for use with TNetHttpClient?

Thanks in advance,
Jan Breukelman

Deploying files on Android - by: Ab Initio Software

$
0
0
I've been having some trouble deploying files in my fmx project.

So much so that I started up a fresh project and followed the instructions here to the letter, and still get the same error that the file cannot be found. I can only assume the file is not deployed and that is why it is not found.

Has anyone had this problem where files just will not be deployed? Do I have to activate the deployment manager somehow? Spent a good few hours on this. I'm trying to deploy a 4kb bmp file.

Avast detecting threat with RTL - by: Carlos

$
0
0
I am using C ++ Builder RAD10.2 Tokyo. If I compile with dynamic RTL everything is fine. But if I include it inside the Exe, Avast says: Win32: MalOb-CA [Cryp]. I already reported it as a false positive. It is absolutely necessary that my application be standalone. Not only does my application have this. Any Win32 with static RTL is detected as a threat by Avast. What to do ?

How to convert 32bit project into 64bit one - by: Fatih

$
0
0
hi,

I opened a 32bit project in Delphi 64bit and tried to recompile it by adding win64 as target platform but I think because the project first created in 32bit delphi, add platform button is disabled (gray)

Is there any way I can recompile this project as 64bit application like changin dproj file manually?

Firedac SQL Server - String or binary data would be truncated - Delphi Berlin - by: Joe

$
0
0
I have a stored procedure that I need to access from Delphi.
It works fine until I have to send strings that contain @ or & characters.
Then I get this error:
The stored procedure works fine with those characters when I use it outside Delphi.

Delphi Berlin - Midaslib - by: Joe

$
0
0
I have an application that compiles fine in 32 bit, but when I try to compile to 64 bit it gives me an error with Midaslib.
That should not happen.
Does anyone know what causes it?

msxml6 Errors with XE5 C++ Builder on Server 2012 - by: Aaron

$
0
0
I'm trying to set up an automatic build environment in Windows Server 2012 for XE5. I have installed all of our components but one of our projects will not compile.

If I compile on any of our other environments we do not see the issue.

[bcc32 Error] msxml6.tlh(3325): E2303 Type name expected
Full parser context
DtcCodeListXmlRepository.cpp(9): #include msxml6.tlh
msxml6.tlh(11): namespace MSXML2
msxml6.tlh(3307): class IXMLHTTPRequest2
[bcc32 Error] msxml6.tlh(3334): E2303 Type name expected
Full parser context
DtcCodeListXmlRepository.cpp(9): #include msxml6.tlh
msxml6.tlh(11): namespace MSXML2
msxml6.tlh(3307): class IXMLHTTPRequest2
[bcc32 Error] msxml6.tlh(3363): E2303 Type name expected
Full parser context
DtcCodeListXmlRepository.cpp(9): #include msxml6.tlh
msxml6.tlh(11): namespace MSXML2
msxml6.tlh(3307): class IXMLHTTPRequest2
[bcc32 Error] msxml6.tlh(3372): E2303 Type name expected
Full parser context
DtcCodeListXmlRepository.cpp(9): #include msxml6.tlh
msxml6.tlh(11): namespace MSXML2
msxml6.tlh(3307): class IXMLHTTPRequest2
[bcc32 Error] msxml6.tli(576): E2303 Type name expected
Full parser context
DtcCodeListXmlRepository.cpp(9): #include msxml6.tlh
msxml6.tlh(11): namespace MSXML2
msxml6.tlh(3862): #include msxml6.tli
[bcc32 Error] msxml6.tli(1228): E2040 Declaration terminated incorrectly
Full parser context
DtcCodeListXmlRepository.cpp(9): #include msxml6.tlh
msxml6.tlh(11): namespace MSXML2
msxml6.tlh(3862): #include msxml6.tli
Failed
Elapsed time: 00:00:36.7

The only difference in this setup is that we needed to install .Net 3.5 as a Windows feature versus having the install do it for me. I did a search on the timestamp of the msxml6 dll on the two environments and I see that they are drastically different.

Is there a work around for this as I cannot install .Net 3.5 service pack 1 due to IT restrictions.
Viewing all 3677 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>