PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Why SeekProcedure() not returned NULL in WINDEV 20
Why SeekProcedure() not returned NULL in WINDEV 20
Iniciado por ingpanya, 25,abr. 2015 05:49 - 4 respuestas
Publicado el 25,abril 2015 - 05:49
This is my code :

IF SeekProcedure("MyProcedure") <> Null THEN

some thing...

ELSE

MyProcedure()

END

Why WINDEV 20 Error


A value shoud have been returned by 'SeekProcedure'

Error code: 1005
Level: fatal error (EL_FATAL)

Dump of the error of 'wd200vm.dll' module (20.0.177.3).
Identifier of detailed information (.err): 1005
Debugging information:
Fonction (0,244)
Additional Information:



Thank

MAN
Publicado el 27,abril 2015 - 12:49
Hi

you test is wrong... Seekprocedure returns NULL if the procedure is NOT
found, and you run MyProcedure() only in that case in your code

the test should be = NULL

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com


On 4/24/2015 9:49 PM, man wrote:
This is my code :

IF SeekProcedure("MyProcedure") <> Null THEN

some thing...

ELSE

MyProcedure()

END

Why WINDEV 20 Error

A value shoud have been returned by 'SeekProcedure'

Error code: 1005
Level: fatal error (EL_FATAL)

Dump of the error of 'wd200vm.dll' module (20.0.177.3).
Identifier of detailed information (.err): 1005
Debugging information:
Fonction (0,244)
Additional Information:



Thank

MAN
Publicado el 02,mayo 2015 - 06:29
Hi Fabrice Harari

Sorry

This is my code :

IF SeekProcedure("MyProcedure") = Null THEN

some thing...

**** Error ****

ELSE

MyProcedure()

END

If you upgraded WINDEV 20 Please try
Publicado el 02,mayo 2015 - 13:12
Hi

I confirm the bug... Seekprocedure in version 57p returns a correct
value if the procedure exists, but crashes instead of returning NULL if
the procedure doesn't exist...

If not already done, use the "request to technical support" tool to send
the problem to tech support, so that they can correct it...

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on http://www.fabriceharari.com

On 5/1/2015 10:29 PM, man wrote:
Hi Fabrice Harari

Sorry
This is my code :

IF SeekProcedure("MyProcedure") = Null THEN

some thing...

**** Error ****

ELSE

MyProcedure()

END

If you upgraded WINDEV 20 Please try
Publicado el 04,mayo 2015 - 07:48
Thank you for your replay

^^