cancel
Showing results for 
Search instead for 
Did you mean: 

Why not resolve my public function?

Former Member
0 Kudos

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.

Why???

Victor

Former Member
0 Kudos

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
.....
return

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

Accepted Solutions (0)

Answers (1)

Answers (1)

rodolfo_reyes
Explorer
0 Kudos

Hi,

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

Maybe you have them in different locations.