Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
An interesing thought
#8
You won't be able to pass strings as you expect. QB64 functions expect to receive a string descriptor, but DECLARE LIBRARY functions are sent a pointer to the character data.

You could have your function receive an _OFFSET, but you won't be allowed to change the length of the string (and you will need to supply the length as a separate parameter).
Reply


Messages In This Thread
An interesing thought - by doppler - 07-22-2024, 07:19 PM
RE: An interesing thought - by Jack - 07-23-2024, 02:02 AM
RE: An interesing thought - by Jack - 07-23-2024, 02:11 AM
RE: An interesing thought - by Jack - 07-23-2024, 02:16 AM
RE: An interesing thought - by Pete - 07-24-2024, 12:53 AM
RE: An interesing thought - by doppler - 07-24-2024, 01:46 AM
RE: An interesing thought - by Jack - 07-24-2024, 07:09 AM
RE: An interesing thought - by luke - 07-24-2024, 08:12 AM
RE: An interesing thought - by Jack - 07-24-2024, 01:13 PM
RE: An interesing thought - by DSMan195276 - 07-25-2024, 05:30 AM
RE: An interesing thought - by Jack - 07-25-2024, 10:57 AM
RE: An interesing thought - by DSMan195276 - 07-25-2024, 03:54 PM
RE: An interesing thought - by mdijkens - 07-26-2024, 10:45 AM
RE: An interesing thought - by DSMan195276 - 07-26-2024, 02:47 PM



Users browsing this thread: 11 Guest(s)