NO

Author Topic: PARMAREA  (Read 506 times)

Offline HellOfMice

  • Member
  • *
  • Posts: 269
  • Never be pleased, always improve
PARMAREA
« on: December 14, 2024, 12:33:35 PM »
Hello the world,

I had a problem similar to a stack overflow, or a bad stack pointer, some functions need to add a number to the stack (add rsp+888)
None of these problem met.

I searched...

Until I realized that a sqlite3_snprintf function had more than 4 parameters.

I had "PARMAREA = 4 * QWORD" rather than "PARAMAREA = 16 * QWORD"...

If you have a strange problem think to PARMAREA
--------------------------------
Kenavo

Offline Vortex

  • Member
  • *
  • Posts: 924
    • http://www.vortex.masmcode.com
Re: PARMAREA
« Reply #1 on: December 14, 2024, 12:36:38 PM »
Hi Philippe,

PARAMAREA should be always adjusted to take in acoount the maximum number of parameters specified by an invoke statement.
Code it... That's all...