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
S

saierdia

@saierdia
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • don't catch in release?
    S saierdia

    i have test the code under vc7,vc7.1 debug version do it well, but it seemed that release version has no exception handler code. if use cout replace printf ,then work fine . i dont know whether this is a compiler bug .

    C / C++ / MFC debugging question announcement

  • DirectX 9.0a
    S saierdia

    I think here is a method : you can set the tmp fold to can't delete ( need NTFS ) then let websetup to download i have never try this , hope it work.

    The Lounge com graphics game-dev help tutorial

  • How to Translae a Mapped Drive to a UNC Path
    S saierdia

    following is from msdn : To find the UNC path associated with a mapped network drive letter, follow these steps: 1.Create a module and type the following lines in the Declarations section: Option Explicit ' These represent the possible returns errors from API. Public Const ERROR_BAD_DEVICE = 1200& Public Const ERROR_CONNECTION_UNAVAIL = 1201& Public Const ERROR_EXTENDED_ERROR = 1208& Public Const ERROR_MORE_DATA = 234 Public Const ERROR_NOT_SUPPORTED = 50& Public Const ERROR_NO_NET_OR_BAD_PATH = 1203& Public Const ERROR_NO_NETWORK = 1222& Public Const ERROR_NOT_CONNECTED = 2250& Public Const NO_ERROR = 0 ' This API declaration is used to return the ' UNC path from a drive letter. Declare Function WNetGetConnection Lib "mpr.dll" Alias _ "WNetGetConnectionA" _ (ByVal lpszLocalName As String, _ ByVal lpszRemoteName As String, _ cbRemoteName As Long) As Long 2.Type the following procedure: Function GetUNCPath(strDriveLetter As String) As String On Local Error GoTo GetUNCPath_Err Dim Msg As String, lngReturn As Long Dim lpszLocalName As String Dim lpszRemoteName As String Dim cbRemoteName As Long lpszLocalName = strDriveLetter lpszRemoteName = String$(255, Chr$(32)) cbRemoteName = Len(lpszRemoteName) lngReturn = WNetGetConnection(lpszLocalName, _ lpszRemoteName, _ cbRemoteName) Select Case lngReturn Case ERROR_BAD_DEVICE Msg = "Error: Bad Device" Case ERROR_CONNECTION_UNAVAIL Msg = "Error: Connection Un-Available" Case ERROR_EXTENDED_ERROR Msg = "Error: Extended Error" Case ERROR_MORE_DATA Msg = "Error: More Data" Case ERROR_NOT_SUPPORTED Msg = "Error: Feature not Supported" Case ERROR_NO_NET_OR_BAD_PATH Msg = "Error: No Network Available or Bad Path" Case ERROR_NO_NETWORK Msg = "Error: No Network Available" Case ERROR_NOT_CONNECTED Msg = "Error: Not Connected" Case NO_ERROR ' all is successful... End Select If Len(Msg) Then MsgBox Msg, v

    C / C++ / MFC sysadmin tutorial question

  • WTL documentation, free book, tutorial...
    S saierdia

    try this : http://perso.wanadoo.fr/laurent.kempe/technical/wtl/

    C / C++ / MFC c++ learning json help tutorial

  • Bitblit with WTL
    S saierdia

    modify the line to : SelectObject(hdc.m_hDC,Image);

    ATL / WTL / STL c++ graphics help

  • DirectX 9
    S saierdia

    But i means final version .

    The Lounge php graphics game-dev beta-testing question

  • DirectX 9
    S saierdia

    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=51608b06-ae0d-4652-b9a0-eae0aa6ae6d7 oh,sorry i have install directX9 this morning using the above link . just network install version. but now ms make it unavailable. try this: http://www8.pconline.com.cn/download/download.phtml?id=101886

    The Lounge php graphics game-dev beta-testing question

  • who can help me ?
    S saierdia

    my vs.net ide's macro dosen'nt work . choose any of macro , run ... ,nothing happened. even if reinstall the vs.net .:( can anyone give me some solutions or suggestions ?

    Visual Studio visual-studio csharp help question
  • Login

  • Don't have an account? Register

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