Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

peiman

@peiman
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SQL Query Builder
    P peiman

    Hi i need a simple interface for visually building SQL queries with access database (supporting inner joins) every comments and helps appreciated :) PS. in a simple reporting system for end-user if fields from main tables are selected for output and the other tables are hidden to user (we dont like to show him the structure), i am going to traverse relations and build the appropriate inner join clause for query :doh:

    C / C++ / MFC database

  • How to data retrival make fast in VC++
    P peiman

    Hi I suggest u to use another Thread for database retrival while ur main msg loop handle user and system msgs. also if u make a single QUERY for 6 table if it is possible it make ur jobs faster. Bye:)

    C / C++ / MFC c++ database tutorial

  • multichannel audio with directX
    P peiman

    Hi You can find it ksMedia.h header file Cheers :cool:

    C / C++ / MFC help c++ graphics game-dev question

  • double to ascii conversion
    P peiman

    MFC: double dblValue = sqrt(2); CString csText; csText.Format("%f",dblValue); C: char Buffer[256]; double dblValue = sqrt(2); sprintf(Buffer,"%f",dblValue); :~

    C / C++ / MFC question help

  • new mistake class
    P peiman

    change these lines 1. CArray <CRealPoint,CRealPoint&> m_arrPo; . . . 6 CRealPoint &newPoint = m_arr.ElementAt(0); // ElementAt return ref to ob or 6 CRealPoint newPoint = m_arr.GetAt(0); // GetAt return ob and need copy constructor that ur class have it. BTW. CRealPoint newPoint = m_arr.ElementAt(0); is also correct :)

    C / C++ / MFC help tutorial

  • Reading DXF File
    P peiman

    this is my beta code use it if it's useable for u (up to DXF14) //////////////////////////////////////////////////////////////// _READ.h: interface for the CDXF_READ class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_DXF_READ_H__0C34F7F9_A3E2_11D2_B76C_CAED36AA095C__INCLUDED_) #define AFX_DXF_READ_H__0C34F7F9_A3E2_11D2_B76C_CAED36AA095C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 /////////warnnigs < 1000 #define ER_NOTABLEHEADER -993 #define ER_VOIDBLOCKS -994 #define ER_VOIDHEADER -995 #define ER_VOIDTABLES -996 #define ER_FILECORRUPT -997 #define ER_NOENDSEC -998 #define ER_MISSEDENDOFFILE -999 ////////////////// #define ER_WARNNIG -1000 /////////errors > 1000 #define ER_INVALIDFILENAME -1001 #define ER_NOSUCHFILE -1002 #define ER_BADVALUE -1003 #define ER_VOIDENTITY -1004 #define ER_BADTABLES -1005 #include "..\drw_dxf.h" class CDXF_FILE { CStdioFile m_file; CString m_str; public : int Open(LPCSTR); void Close(); CDXF_FILE (); virtual ~CDXF_FILE (); double ReadDouble(); float ReadFloat(); __int8 ReadInt8(); __int16 ReadInt16(); __int32 ReadInt32(); BOOL EndOfFile(); BOOL ReadString(CString&); private: BOOL m_fileColse; }; class CDXF_READ { public: BOOL ProcessSystemMsg(); struct DXF_RECORD { int what; __int8 m_int8; __int16 m_int16; __int32 m_int32; double m_double; float m_float; CString m_string; } Rec; int Read_DXF_Line(); CDXF_READ(); CDXF_READ(LPCSTR dxf_file); virtual ~CDXF_READ(); int Process_Free_DXF(LPCSTR dxf_file=NULL); int Process_DXF(LPCSTR dxf_file=NULL); private: BOOL GroupCircle; BOOL EndOfFileReached; BOOL NOT_READ_BEFOR; CDXF_FILE fileDXF; int Process_EndOfFile(); int Process_Entites(BOOL READ_SECTION = TRUE); int Process_Tables(BOOL READ_SECTION = TRUE); int Process_Blocks(BOOL READ_SECTION = TRUE); int Process_Header(BOOL READ_SECTION = TRUE); int Open_DXF_File(); ////////////tables section int Parse_LayerInfo(); int Parse_TableItemInfo(); ////////////entities section int Parse_LineInfo(); int Parse_PolyLineInfo(); int Parse_LWPolyLineInfo(); int Parse_CircleInfo(); int Parse_ArcInfo(); int Parse_TextInfo(); int Parse_MTextInfo(); int Parse_SolidInfo(); int Parse_PointInfo(); int Parse_InsertInfo(); int Parse_SeqendInfo(); int Parse_

    C / C++ / MFC tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups