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

Sandeep Vaidya

@Sandeep Vaidya
About
Posts
14
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how can I create a copy of the pst file when it is open.
    S Sandeep Vaidya

    I cannot use that I belive. I am writig a backup software which can back up the files to a given medium. During this time I cannot use different menthids to backup different files I think.

    C / C++ / MFC question

  • how can I create a copy of the pst file when it is open.
    S Sandeep Vaidya

    fopen("pst file path", "rb");

    C / C++ / MFC question

  • how can I create a copy of the pst file when it is open.
    S Sandeep Vaidya

    When we try to open the pst file when the outlook is open and accessing it, fopen itself will fail. Please let me kow what is the best way of reading the pst file contents when the file is open. Thanks in advance Sandeep

    C / C++ / MFC question

  • generic charset for all languages including asean and english
    S Sandeep Vaidya

    I have an application written in VC++ which will dyanmically generate the html file and display. I have a requirement where if I am displaying the html in the Japanese OS, I should be able to display Japanese characters and any other supported language characters. We used the default charset i.e without mentioning any charset in the html content parameter. We are using this to display the set of files in the tree format. It works fine for the files with the small name. If the file name grows beyond some length, characters displayed will get currupted and display some unknown characters. Then onwards complete encoding will not work. If I use japanese character set for Japanese, it works fine. but default is creating the problem. I tried using the UTF-8, which is also not working. Please let me know for any generic way handling this issue. Thanks in advance. Sandeep

    Web Development help c++ html data-structures

  • charset for the current language OS.
    S Sandeep Vaidya

    Do we have any SDK to get the charset for the current language OS? I have an application which will dyanmically generate the html file and display. I have a requirement where if I am displaying the html in the Japanese OS, I should mention japanese charset in the content info of HTML file. Thanks in advance. Sandeep

    C / C++ / MFC html question

  • Those who know how to use raw socket to do a sniff , can help me ?
    S Sandeep Vaidya

    If dont want Recv to be blocked, use fcntl call to set the time out. So that Recv will not block and wait.

    C / C++ / MFC help tutorial question announcement

  • Directory Enumerator for folder having files with path length beyond 260 bytes
    S Sandeep Vaidya

    I Have a folder folder1 created in the desktop in Japanese OS. I have folder2 created inside folder1. Length of the full path for folder2 is 244 characters ( not bytes). It has some files also and the complete path is within the 260 characters ( not bytes). If I start the enumeration on the top folder i.e folder1, I get the next file sproperly for all other files. when it comes to folder2, FindNextFile() return zero. I tried the GetLastError() and found that it is not ERROR_NO_MORE_FILES.

    C / C++ / MFC tutorial question

  • Selection of lengthy path in the open save dialog box, retunr truncated string
    S Sandeep Vaidya

    An update to my analyses is, it can return the file path upto 260 characters ( not bytes). If the selected path is beyond the 260 characters, it truncates. This scenario is possible when the folder path it self will be almost equal to 260 characters. Now if we select that folder from save as dialog to save some file, it truncates the path. Please le mt know whether I can change this to return me the full path. Thanks in advance Sandeep

    C / C++ / MFC tutorial

  • Selection of lengthy path in the open save dialog box, retunr truncated string
    S Sandeep Vaidya

    Yes I tried that by passing the maximum buffer, but still it return only truncated string. I looked into the implementation of the GetPathName() function and came to know that, it is returning only MAX_PATH. Current selected path is beyond the MAX_PATH. :(

    C / C++ / MFC tutorial

  • Selection of lengthy path in the open save dialog box, retunr truncated string
    S Sandeep Vaidya

    I have created the file open/save dialog box using CFile dialog. I selected the lengthy file path which is more than 512 bytes ( Jsapanese file path) the return value from the doModal() is IDOK. if I try to get the file name using the GetPathName(), it returns invalid truncated string. Please let me know any way to get whether the file path returned is truncated or how to get the correct full path. even the GetLastError() function return zero at tthis scenario. Thanks in advance sandeep

    C / C++ / MFC tutorial

  • Directory Enumerator for folder having files with path length beyond 260 bytes
    S Sandeep Vaidya

    Windows allows to create the file names beyond 260 bytes ( allows upto 255 characters). If we take the japanese OS, file name and extenstion with 150 characters can take more than 300 bytes. This is something cFileName cannot handle I think. Any suggetions on this front?. Thanks in advance Sandeep

    C / C++ / MFC tutorial question

  • Directory Enumerator for folder having files with path length beyond 260 bytes
    S Sandeep Vaidya

    How to implement the dirctory enumerator for the directory having files with the path length more than 260 bytes?. WIN32_FIND_DATA structure used in the FindNextFile() limits the cFileName to MAX_PATH which is defined as 260. If we are trying to implement the directory enumerator for the Japanese language, then it is quite possible to have paths beyond 260 bytes. During that time, FindNextFile will fail to get the elements. Please let me know for any work around for the same. Thanks in advance -Sandeep

    C / C++ / MFC tutorial question

  • How to get the absolute path of the virtual folder
    S Sandeep Vaidya

    Hi, I need to get the absolute path for the given virtual folder path. Consider an example given below. Windows has a virtual folder "My Documents" placed in Desktop. So by using the path "C:\Documents and Settings\Administrator\Desktop\My Documents" can we get the Absolute ( Physical) path for the "My Documents"? In my case the physical path for the "My Documents" is "C:\Documents and Settings\Administrator\My Documents". Please send me the answer as soon as possible. Thanks in Advance vaidya

    C / C++ / MFC tutorial question

  • stop files copy from left click drag drop in explorer
    S Sandeep Vaidya

    When we drag drop files to some folder in explorer using left click , is there any way to stop explorer copying files to the destination and perform whatever the required operation on the dragged files.

    Work Issues
  • Login

  • Don't have an account? Register

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