Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
Access Violation TPQConnection := False
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Application still exist i...
by
Khrys
[
Today
at 07:18:35 am]
Something kind of funny a...
by
egsuh
[
Today
at 06:58:21 am]
[SOLVED] Testing with SQL...
by
egsuh
[
Today
at 05:17:36 am]
GTK3 still alpha
by
regs
[
Today
at 04:46:36 am]
A Project Inspector Page ...
by
EganSolo
[
Today
at 03:01:13 am]
[CLOSED] Hey! What about ...
by
EganSolo
[
Today
at 02:32:39 am]
Newbie in Web Programming...
by
Edgardo M. López
[
Today
at 01:34:43 am]
Why isn't Lazarus / Free ...
by
Lenny33
[
Today
at 01:10:14 am]
TListView - please advis...
by
TRon
[
Today
at 12:01:23 am]
Randomally generated code
by
rvk
[April 28, 2025, 11:06:58 pm]
Updating and redrawing SV...
by
PawelO
[April 28, 2025, 11:00:19 pm]
coded DBUG?
by
440bx
[April 28, 2025, 10:20:02 pm]
EOF Problem
by
OC DelGuy
[April 28, 2025, 09:38:57 pm]
hwnd type error
by
TBMan
[April 28, 2025, 09:10:31 pm]
'Events' Quiry
by
J-G
[April 28, 2025, 07:31:06 pm]
New shader examples for r...
by
Guva
[April 28, 2025, 07:18:51 pm]
Liverpool's wins are fib...
by
Thaddy
[April 28, 2025, 05:47:57 pm]
Why there is no build-in ...
by
Seenkao
[April 28, 2025, 05:41:52 pm]
Lazarus Install Question
by
440bx
[April 28, 2025, 04:28:40 pm]
Spiral search of an image
by
user5
[April 28, 2025, 04:05:34 pm]
Fpcupdeluxe
by
Philippe1
[April 28, 2025, 03:09:12 pm]
[Solved] Check if URL is ...
by
d2010
[April 28, 2025, 02:23:01 pm]
"Object Oriented Programm...
by
d.ioannidis
[April 28, 2025, 02:22:24 pm]
[solved with GENIUS demo]...
by
Nicole
[April 28, 2025, 01:53:07 pm]
Ctrl-V doesn't work anymo...
by
TRon
[April 28, 2025, 12:30:26 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Access Violation TPQConnection := False (Read 2211 times)
LzMan
New member
Posts: 8
Re: Access Violation TPQConnection := False
«
Reply #15 on:
March 04, 2024, 02:40:28 pm »
Normally, I use the debugger of Lazarus. I wrote in a previous post that the AV also happens when I attach the Visual Studio debugger to the standalone executable. The AV is definitely there. The AV is also there in x64dbg.
Logged
rvk
Hero Member
Posts: 6711
Re: Access Violation TPQConnection := False
«
Reply #16 on:
March 04, 2024, 03:07:23 pm »
Quote from: LzMan on March 04, 2024, 02:40:28 pm
Normally, I use the debugger of Lazarus.
What debugger is that exactly?
Lazarus can have several.
Gdb or fp-debugger.
And depending on the debugger it's also important which debugger options you set.
But so it's not the ide itself that's the problem but the attachment of a debugger.
I'm not familiar with x64dbg or de debugger from VS so I don't know if there are known issues there.
«
Last Edit: March 04, 2024, 03:09:50 pm by rvk
»
Logged
LzMan
New member
Posts: 8
Re: Access Violation TPQConnection := False
«
Reply #17 on:
March 04, 2024, 06:25:57 pm »
Can we stay on topic, please? How can I debug the LCL?
Logged
rvk
Hero Member
Posts: 6711
Re: Access Violation TPQConnection := False
«
Reply #18 on:
March 04, 2024, 07:09:08 pm »
Quote from: LzMan on March 04, 2024, 06:25:57 pm
Can we stay on topic, please? How can I debug the LCL?
You would need to rebuild Lazarus with debug option.
https://forum.lazarus.freepascal.org/index.php?topic=61774.0
The problem is that you probably don't want LCL because the database function is not from LCL but from FPC. You could build both with debugging on to be able to trace through the source.
How did you install FPC and Lazarus?
You could try fpcupdeluxe but I'm not sure how to set the debug options (never used fpcupdeluxe).
Logged
Zvoni
Hero Member
Posts: 2961
Re: Access Violation TPQConnection := False
«
Reply #19 on:
March 04, 2024, 07:19:25 pm »
Instead of waxing philosophical questions, TS should try a barebone sample-app without „visuals“ (read: simple console app), and check if his AV still appears (my bet is: no, it won’t AV if done correctly)
Logged
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
jcmontherock
Sr. Member
Posts: 291
Re: Access Violation TPQConnection := False
«
Reply #20 on:
March 04, 2024, 11:47:00 pm »
With MySQL i'm using:
Code: Pascal
[Select]
[+]
[-]
if
Connection1
.
Connected
then
Connection1
.
Close
;
without problem...
Logged
Windows 11 UTF8-64 - Lazarus 4.0RC2-64 - FPC 3.2.2
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
Access Violation TPQConnection := False
TinyPortal
© 2005-2018