Skip to Content

Why not resolve my public function?

Dec 08, 2016 at 04:06 PM


avatar image

I have one function x with string return in one pbl library, in my aplication i have one dw that use the funcion x, in design mode run ok but when i run the exe no.



10 |10000 characters needed characters left characters exceeded

If you don't call the function somewhere in code, it will not be included in the final exe.

After a return, doesn't matter where, put in a dummy call to the function. It doesn't matter that it will never execute, the compiler will still see it and included it in the exe.

// some code on an event - app open will work

x("dummy call") // make sure function X gets included in the exe

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rodolfo Reyes Dec 08, 2016 at 08:30 PM


The PBD containing the function and the EXE must be in the same folder.

Maybe you have them in different locations.

10 |10000 characters needed characters left characters exceeded