The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#compile __Gdip: place at top? And need .dll?
#1
If I use "GdipBitmap" like this:

Function SaveImageFromClipboard
Code:
Copy      Help
GdipBitmap im
if(!im.FromHBITMAP(hb))
,;;...

If I want to use the code also in a compiled QM .exe then:

1)
Do I need to place #compile "__Gdip" at the very top at the script? (if compiling to .exe)
(currently it is somewhere in the middle of my script)
I looked in the helpfile under: #compile , but could not find anything about placing it at the top.
But I am almost sure I read somehwere that you need to place these #directives at the top.

2)
Do I need to add an .dll at the compiled .exe location if using #compile "__Gdip"?
Could not find an .dll related to "GdipBitmap" within:  ...\QuickMacrosPortable_dev\App\QuickMacros

I compiled to .exe and tried my code and it works but I do not knoiw if this because QM is running/installed and therefore resolving external libraries and such...?


Messages In This Thread
#compile __Gdip: place at top? And need .dll? - by r0n - 06-02-2020, 04:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)