Jump to content











Photo
- - - - -

Add support for calling a function in an external api dll


  • Please log in to reply
6 replies to this topic

#1 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 06 January 2011 - 09:31 AM

A useful feature that could be added to the winbuilder script language to make winbuilder more extensible would be to add a feature to call a function in an external dll. I would suggest that it is limited to using string parameters.

Discussion of this was started at:

http://reboot.pro/13...532#entry118532

#2 paraglider

paraglider

    Gold Member

  • .script developer
  • 1729 posts
  • Location:NC,USA
  •  
    United States

Posted 06 January 2011 - 11:26 AM

Even simpler the format of the called function could be fixed at:

functionA(int argc, char** argv)

or

functionW(int argc, WCHAR ** argv) if unicode is supported.

argv is always an array of string pointers where each string is null terminated.

#3 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 06 January 2011 - 12:14 PM

This would be an interesting feature. I look forward (if implemented) to see how this would be used. There should be some safeguards in place to prevent undesired consequences and perhaps allow access only to a limited set of APIs.

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2011 - 03:41 PM

:dubbio:

But first we should eliminate the mess that is caused by some compatibility issues / discussions.

Peter :thumbsup:

#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15014 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 January 2011 - 04:36 PM

But first we should eliminate the mess that is caused by some compatibility issues / discussions.

With the new approach I presume that not only the mess but also the discussions will soon be eliminated. :dubbio:

:thumbsup:
Wonko

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 January 2011 - 07:05 PM

We all know that I'm a lousy English speaker. But I do not know, what I here said wrong.

Peter

#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15014 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 06 January 2011 - 07:45 PM

We all know that I'm a lousy English speaker. But I do not know, what I here said wrong.


You didn't say anything wrong - AFAIK.

Maybe you missed an implicit reference, which I cannot of course give you.

:smiling9:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users