Viktor1703 Posted February 13, 2014 Share Posted February 13, 2014 (edited) Hi, in AutoIt will be support namespace? Example: expandcollapse popupModule MyUDF1 Global $iSeq Declare Wind() Declare Show() ; Private Func Test() ; Return 1 ; EndFunc Func Test() Return 1 EndFunc Func Wind() $iSeq += Test() EndFunc Func Show() ConsoleWrite('counter 1: ' & $iSeq) EndFunc EndModule Module MyUDF2 Global $iSeq Declare Wind() Declare Show() Declare $iSeq Func Wind() $iSeq += 1 EndFunc Func Show() ConsoleWrite('counter 2: ' & $iSeq) EndFunc EndModule MyUDF1.Test() ;~ Error, access to this function is not possible outside of the module MyUDF1.Wind() MyUDF1.Wind() MyUDF1.Show() ;~ output "counter 1: 2" MyUDF2.Wind() MyUDF2.Show() ;~ output "counter 2: 1" MyUDF2.$iSeq ;~ Access to a variable outside the module Edited February 13, 2014 by Viktor1703 Link to comment Share on other sites More sharing options...
guinness Posted February 13, 2014 Share Posted February 13, 2014 Namespaces don't exist in AutoIt. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 13, 2014 Author Share Posted February 13, 2014 and aren't planned? Link to comment Share on other sites More sharing options...
guinness Posted February 13, 2014 Share Posted February 13, 2014 and aren't planned? AutoIt isn't Object Orientated. You have to rename the functions maybe to _String_Strip() and then _StringDebug_Strip()? UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
jaberwacky Posted February 13, 2014 Share Posted February 13, 2014 I guess you could use AutoItObject. I use it constantly. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 13, 2014 Author Share Posted February 13, 2014 (edited) Thanks Edited February 13, 2014 by Viktor1703 Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 13, 2014 Author Share Posted February 13, 2014 I guess you could use AutoItObject. I use it constantly. No, OOP isn't necessary to me, I would like to use only namespaces (Modules) Link to comment Share on other sites More sharing options...
jaberwacky Posted February 13, 2014 Share Posted February 13, 2014 (edited) Yes, so encapsulation. Object orientation is not encapsulation. Or rather I meant to say information hiding. ::hurrhurrhurr:: Edited February 13, 2014 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
jaberwacky Posted February 13, 2014 Share Posted February 13, 2014 (edited) Untested: expandcollapse popupFunc MyUDF1() Local $this = _AutoItObject_Class() $this.AddMethod("Wind", "MyUDF1_Wind") $this.AddMethod("Show", "MyUDF1_Show") $this.AddProperty("iSeq", $elscope_private, 0) $this.AddMethod("Test", "MyUDF1_Test", True) Return $this.Object Endfunc Func MyUDF1_Wind($this) $this.iSeq += Test() Endfunc Func MyUDF1_Show($this) ConsoleWrite('counter 1: ' & $this.iSeq) Endfunc Func MyUDF1_Test($this) Return 1 Endfunc Func MyUDF2() Local $this = _AutoItObject_Class() $this.AddMethod("Wind", "MyUDF2_Wind") $this.AddMethod("Show", "MyUDF2_Show") $this.AddProperty("iSeq", $elscope_public, 0) $this.AddMethod("", "", True) Return $this.Object Endfunc Func MyUDF2_Wind($this) $this.iSeq += 1 Endfunc Func MyUDF2_Show($this) ConsoleWrite('counter 2: ' & $iSeq) Endfunc #include "AutoItObject.au3" _AutoItObject_Startup() Global $oMyUDF1 = MyUDF1() Global $oMyUDF2 = MyUDF2() $oMyUDF1.Test() ;~ Error, access to this function is not possible outside of the module $oMyUDF1.Wind() $oMyUDF1.Wind() $oMyUDF1.Show() ;~ output "counter 1: 2" $oMyUDF2.Wind() $oMyUDF2.Show() ;~ output "counter 2: 1" $oMyUDF2.iSeq ;~ Access to a variable outside the module _AutoItObject_Shutdown() Edited February 13, 2014 by jaberwacky Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 13, 2014 Author Share Posted February 13, 2014 No, i as have access to function bypassing object MsgBox(0, '', MyUDF1_Test(Null)) Link to comment Share on other sites More sharing options...
jaberwacky Posted February 13, 2014 Share Posted February 13, 2014 yeah, but the program wouldn't compile. I knew you were going to say that. You mean to tell me you would do that? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 13, 2014 Author Share Posted February 13, 2014 (edited) No, I didn't make, but there is a wish for normal support of namespaces, there is no wish to extend with the AutoItObject.dll program, I simply wanted to learn, whether there will be a support of namespaces in future AutoIt versions?! Edited February 13, 2014 by Viktor1703 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 13, 2014 Moderators Share Posted February 13, 2014 So you received your answer, it is not on the roadmap. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 23, 2014 Author Share Posted February 23, 2014 (edited) AutoIt isn't Object Orientated. Yes, but it is possible to do this expandcollapse popup;~ Interface Global Const $IAutoItFunc = 'MsgBox int(uint;wstr;wstr);' & _ 'ToolTip void(wstr;int;int);' ;~ Methods Global $Methods[2] = [DllCallbackRegister('ObjFunc__MsgBox', 'int', 'ptr;uint;wstr;wstr'), _ DllCallbackRegister('ObjFunc__ToolTip', 'none', 'ptr;wstr;int;int')] Func ObjFuncConstructor() Local $tTable, $oObj $tTable = DllStructCreate('ptr VTable;ulong_ptr Number;ptr Method[2]') DllStructSetData($tTable, 'VTable', DllStructGetPtr($tTable, 'Method')) DllStructSetData($tTable, 'Number', 2) DllStructSetData($tTable, 'Method', DllCallbackGetPtr($Methods[0]), 1) DllStructSetData($tTable, 'Method', DllCallbackGetPtr($Methods[1]), 2) $oObj = ObjCreateInterface(DllStructGetPtr($tTable), DllStructGetPtr($tTable), $IAutoItFunc, False) If IsObj($oObj) Then ConsoleWrite(ObjName($oObj) & @CRLF) Return $oObj EndIf Return 0 EndFunc Func ObjFuncDestructor($oObj) Local $i If IsObj($oObj) Then $oObj = Null For $i = 0 To UBound($Methods) - 1 DllCallbackFree($Methods[$i]) Next $Methods = 0 EndIf EndFunc Func ObjFunc__MsgBox($pThis, $iFlag, $sTitle, $sText) Return MsgBox($iFlag, $sTitle, $sText) EndFunc Func ObjFunc__ToolTip($pThis, $sText, $iLeft, $iTop) ToolTip($sText, $iLeft, $iTop) EndFunc $oFunc = ObjFuncConstructor() If IsObj($oFunc) Then $oFunc.MsgBox(32, 'Title', 'Text') ObjFuncDestructor($oFunc) EndIf Exit but often there is an error Edited February 23, 2014 by Viktor1703 Link to comment Share on other sites More sharing options...
guinness Posted February 23, 2014 Share Posted February 23, 2014 Some would argue you're incorrectly using the Dll functions. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
KaFu Posted February 23, 2014 Share Posted February 23, 2014 Maybe it works with the new keyword "Volatile"? '?do=embed' frameborder='0' data-embedContent>> OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 23, 2014 Author Share Posted February 23, 2014 (edited) Some would argue you're incorrectly using the Dll functions. that is? Maybe it works with the new keyword "Volatile"? '?do=embed' frameborder='0' data-embedContent>> Does not work Edited February 23, 2014 by Viktor1703 Link to comment Share on other sites More sharing options...
guinness Posted February 23, 2014 Share Posted February 23, 2014 Those functions should only be used for interacting with the Win32 API. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
trancexx Posted February 23, 2014 Share Posted February 23, 2014 Those functions should only be used for interacting with the Win32 API. Not only that API, rather all APIs that require the "bridge". @Viktor1703, your struct for object is local and therefore destroyed before you even get to use the object. See ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Viktor1703 Posted February 23, 2014 Author Share Posted February 23, 2014 Those functions should only be used for interacting with the Win32 API. Not only that API, rather all APIs that require the "bridge". @Viktor1703, your struct for object is local and therefore destroyed before you even get to use the object. See Thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now