Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3791

External Method Platform specific

$
0
0

Hi guys.
I’d like to define external method in order to simplify the code and make it platform specific.

Right now I’m using a constant where I defined library path for Windows and for MacOS an inline declare statement.

I would like to use External Methods but seems that LIB field cannot accept constants but need to write down the library path.

What I really don’t like of inline declare is that I call the various methods more than once and knowing each time the program will execute, at each cycle, a “declare” statement disturbs me quite a bit.

Any workaround?

Thanks

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3791

Trending Articles