title: Identifier not found.C3861
body: <p>I have a file "HSlider.h" it is using "Draw.h",where I defined my functions to use them .
  But compiler says I havent defined them(identificator not found).I searched forums for similiar error,but it didnt help.</p>
  
  <p><strong>I am working in VS 2015 Communty .</strong></p>
  
  <p><strong>ERROR EXAMPLE:
  Error C3861 DrawGUIBox: identifier not found
  Try2 c:\users\lel\documents\visual studio 2015\projects\try2\try2\hslider.h 50
  .</strong></p>
  
  <p><strong>HSlider.h</strong></p>
  
  <pre><code>#include &lt;string&gt;
  #include &lt;iostream&gt;
  #include &lt;map&gt;
  #include &lt;iterator&gt;
  #include &lt;conio.h&gt;
  #include "Offsets.h"
  
  #include "Draw.h"
  using namespace std;
  
  
  class Button
  {
  public:
      void Init(float _x, float _y, float _w, float _h, int _r, int _g, int _b, int _a, int _rr, int _gg, int _bb, int _aa,int _onr,int _ong,int _onb)
      {
          x = _x;
          y = _y;
          w = _w;
          h = _h;
          r = _r;
          g = _g;
          b = _b;
          a = _a;
          rr = _rr;
          gg = _gg;
          bb = _bb;
          aa = _aa;
          onr = _onr;
          onb = _onb;
          ong = _ong;
  
      }
      void Move(float _x, float _y)
      {
          x = _x;
          y = _y;
      }
      void Update(int _bindb)
      {
          BindB = _bindb;
          DrawGUIBox(x, y, w, h, r, g, b, a, rr, gg, bb, aa);
          POINT p;
          GetCursorPos(&amp;p);
  
          if ((p.x &gt; x&amp;&amp;p.x&lt;x + w&amp;&amp;p.y&gt;y&amp;&amp;p.y &lt; y + h))
          {
              if ((GetAsyncKeyState(VK_LBUTTON)&amp;1 ))
              {
                  On = !On;
  
              }
  
  
  
          }
          if ((GetAsyncKeyState(BindB)&amp;1 ))
          {
              On = !On;
          }
          if (On)
          {
              DrawGUIBox(x, y, w, h, r, g, b, a, onr,ong,onb, a);
          }
  
      }
      bool Extract()
      {
          return On;
      }
      void Off()
      {
          On = false;
      }
  private:
      float x;
      float y;
      float w;
      float h;
      int r;
      int g;
      int b;
      int a;
      int rr;
      int gg;
      int bb;
      int aa;
      int onr;
      int ong;
      int onb;
      int BindB;
      bool On = false;
      bool IsUP = true;
  };
  </code></pre>
  
  <p><strong>Draw.h</strong></p>
  
  <pre><code>  #pragma once
      #ifndef HDRAWFUNC_H
      #define HDRAWFUNC_H
  
      #include "DirectX.h"
  
      #pragma warning( disable : 4244 ) //remove the incoming warns
      #pragma warning( disable : 4996 ) //remove the incoming warns
  
      #include &lt;d3dx9.h&gt;
      #include &lt;d3d9.h&gt;
      #define D3DFVF_TL (D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1)
      #pragma comment(lib, "d3d9.lib")
      #pragma comment(lib, "d3dx9.lib")
      static struct D3DTLVERTEX;
      void GradientFunc(int x, int y, int w, int h, int r, int g, int b, int a);
      void DrawCenterLine(float x, float y, int r, int g, int b, int a);
      void DrawLine(float x, float y, float xx, float yy, int r, int g, int b, int a);
      void DrawCursorLine(float x, float y, float xx, float yy, int r, int g, int b, int a);
      void FillRGB(float x, float y, float w, float h, int r, int g, int b, int a);
      void DrawBox(float x, float y, float width, float height, float px, int r, int g, int b, int a);
      void DrawGUIBox(float x, float y, float w, float h, int r, int g, int b, int a, int rr, int gg, int bb, int aa);
      void DrawHealthBar(float x, float y, float w, float h, int r, int g, int b);
      void DrawHealthBarBack(float x, float y, float w, float h);
      void DrawGroupBox(float x, float y, float w, float h, int r, int g, int b, int a, int rr, int gg, int bb, int aa, char* title);
      int DrawString(char* String, int x, int y, int r, int g, int b, ID3DXFont* ifont);
      int DrawShadowString(char* String, int x, int y, int r, int g, int b, ID3DXFont* ifont);
      void DrawCircle(int x, int y, float radius, int Sides, D3DCOLOR color);
      D3DTLVERTEX CreateD3DTLVERTEX(float X, float Y, float Z, float RHW, D3DCOLOR color, float U, float V);
      void DrawFilledCircle(int xPos, int yPos, int Radius, D3DCOLOR color);
      void FillARGBTriangle(int x1, int y1, int x2, int y2, int x3, int y3, D3DCOLOR color, IDirect3DDevice9 *pDevice);
      #endif 
  </code></pre>
  
  <p>And whole project if you need it. <a href="https://yadi.sk/d/uOPt8pdC3Jb78o" rel="nofollow noreferrer">https://yadi.sk/d/uOPt8pdC3Jb78o</a></p>