Jump to content

Cann't open include file


Recommended Posts

  • Moderators

coolboy2295,

Help me

We need a bit more information to do that. :)

- What is this include file you have put in your script folder?

- How does it differ from the "default" include file?

- How have you added the new include file to your script?

- What is the exact message you are getting from Au3Check? ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

This you can see the report

>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /AU3Check /in "D:AutoITnonamenoname.au3"
+>16:02:43 Starting AutoIt3Wrapper v.2.1.0.8    Environment(Language:0409  Keyboard:00000409  OS:WIN_7/  CPU:X64 OS:X86)
>Running AU3Check (1.54.22.0)  from:C:Program FilesAutoIt3
D:AutoITnonamenoname.au3(12,10) : ERROR: can't open include file <WinHttp.au3>.
#include <WinHttp.au3>
~~~~~~~~~^
D:AutoITnonamenoname.au3(15,10) : ERROR: can't open include file <GUIExtender.au3>.
#include <GUIExtender.au3>
~~~~~~~~~^
D:AutoITnonamenoname.au3(29,24) : ERROR: _GUIExtender_Init(): undefined function.
_GUIExtender_Init($hgui)
~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(39,34) : ERROR: _GUIExtender_Section_Start(): undefined function.
_GUIExtender_Section_Start(45, 15)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(40,60) : ERROR: _GUIExtender_Section_Action(): undefined function.
_GUIExtender_Section_Action(2, "", "", 50, 45, 15, 15, 0, 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(41,26) : ERROR: _GUIExtender_Section_End(): undefined function.
_GUIExtender_Section_End()
~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(43,69) : ERROR: _GUIExtender_Obj_Data(): undefined function.
_GUIExtender_Obj_Data(GUICtrlCreateObj($oIE, 10, 60, 350, 200), $oIE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(118,57) : ERROR: _WinHttpCrackUrl(): undefined function.
Local $crack = _WinHttpCrackUrl("http://www.giavang.net")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(197,31) : ERROR: _GUIExtender_Section_Extend(): undefined function.
_GUIExtender_Section_Extend(0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(278,24) : ERROR: _winhttpopen(): undefined function.
$hopen = _winhttpopen()
~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(279,90) : ERROR: _winhttpconnect(): undefined function.
If Not @error And $port = $mainport Then $hconnect = _winhttpconnect($hopen, $url, $port)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(281,76) : ERROR: _winhttpopenrequest(): undefined function.
If Not @error Then $hrequest = _winhttpopenrequest($hconnect, "GET", $root)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(282,50) : ERROR: _winhttpsendrequest(): undefined function.
If Not @error Then _winhttpsendrequest($hrequest)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(283,54) : ERROR: _WinHttpReceiveResponse(): undefined function.
If Not @error Then _WinHttpReceiveResponse($hrequest)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(284,41) : ERROR: _winhttpquerydataavailable(): undefined function.
If _winhttpquerydataavailable($hrequest)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(287,43) : ERROR: _winhttpreaddata(): undefined function.
$sChunk = _winhttpreaddata($hrequest, 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(304,31) : ERROR: _winhttpclosehandle(): undefined function.
_winhttpclosehandle($hrequest)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(356,51) : ERROR: _WinHttpBinaryConcat(): undefined function.
$sData = _WinHttpBinaryConcat($sData, $sChunk)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3(397,25) : ERROR: _GUIExtender_Restore(): undefined function.
_GUIExtender_Restore()
~~~~~~~~~~~~~~~~~~~~~^
D:AutoITnonamenoname.au3 - 19 error(s), 0 warning(s)
!>16:02:44 AU3Check ended.rc:2
>Exit code: 0    Time: 2.426

Do you need any thing else?

Link to comment
Share on other sites

  • Moderators

coolboy2295,

I see you are adding the include file with:

#include <GUIExtender.au3>

Where exactly is this include file? In the script folder? If so, then try:

#include "GUIExtender.au3"

If it is elsewhere then you need to use the full path. ;)

Perhaps the Adding UDFs to AutoIt and SciTE tutorial in the Wiki might be of interest. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

IIRC: If you stored your UDFs in a "User Include Dir" you need to re-define after you installed SciTE. In SciTE press Ctrl+1 and SciTEConfig will be opened.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Well it is in the script dir. But i use #include "D:AutoITnonameWinHttp.au3.au3" it is work And not work with:

#include <WinHttp.au3>

#include "WinHttp.au3"

#include <WinHttp.au3> used to work but i have reinstall window and it's not work. Is there any error.

Anyway my problem is solves

Thanks

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...