Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Dave1024

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    558

    File Open Failed After CopyFileW

    Hi,

    I am facing an issue of file open failure after CopyFileW.
    I suspect that some of the handle which is part of copy is still holding the file.
    How can i wait till the OS handle free the file....
  2. Rename failed with file name had space, hyphen etc after unicode support.

    Hi,

    I intent to use this mechanism for rename the file because the file name consists Unicode characters
    I would like to know why the return value of "MoveFileExW" is false for file name...
  3. Re: Unicode Support for Windows Renaming API.

    Hi,

    what is the specific setting to use unicode API in MSVC project properties.?
    Did i install any package for the same?

    Dave
  4. Unicode Support for Windows Renaming API.

    Hello,

    I had a file which has name like SIRÃO.wav
    Since this file name has special unicode character all file API's are failed.
    I would like to rename this file using Windows API. How can...
  5. Replies
    7
    Views
    13,362

    Re: Reading from a map using indexing.

    Hi

    I am satisfy with the answer. But this approach is worth when using VS compiler.
    When i used this approach in 'Release' mode in VS 2005 a random failure is detected.(A null value returned)
    I...
  6. Replies
    7
    Views
    13,362

    Reading from a map using indexing.

    Hello,

    I would like to validate one of my approach.
    I am creating a map like

    std::map<unsigned int, double> key_value_pair;

    I insert the value like as follows

    1 25.0
  7. Reading a std::string from a std::map and write it to a file.

    Hello,

    I had a std::map which hold some header info in std::string type.
    I would like to store this info in to a .txt file and read it back.

    I would like share my logic here.

    ...
  8. Replies
    7
    Views
    469

    Re: Rename function return -1

    Hello,

    I agree with your suggestion.
    But i am facing a difficulty. My application is multithreaded and one of the thread acquire lock on the file handle and wait till the application exit. (Its...
  9. Replies
    7
    Views
    469

    Re: Rename function return -1

    Hello.

    I output the error message to stdout using perror().
    I get Permission denied message.
    Some how some of the process hold my targeted file. I don't know which handler hold the file, but i...
  10. Unload a DLL Module and Leave all Critical Section on it.

    Hello,

    I am facing an issue with re entrance of one of my dll module.
    I had MLClient.dll which load in to program using LoadLibrary(MLClient.dll)

    boost:: shared_ptr will add a lock() on this...
  11. Replies
    7
    Views
    469

    Re: Rename function return -1

    Hello,



    which function will help me to know the errno:?
    Already i returned -1 to my Left Hand Side variable ?

    Thanks
    Dave
  12. Replies
    7
    Views
    469

    Rename function return -1

    Hello,

    I used rename function to rename a file.
    The file names are in std::string type variable.
    The function usage is like this



    i expected result = 0 but i get result = -1.
    Does this...
  13. Replies
    3
    Views
    366

    Re: Presence of a folder in a Drive

    could you say which mechanisam is more faster and reason behind these mechanisam for copy a folder from one location to other?
    1. I am using 'xcopy' dos command
    2. I am using file read and write...
  14. Replies
    3
    Views
    366

    Presence of a folder in a Drive

    Hi,

    using C++ how can i check the presence of a folder in a drive.
    The path of the folder is available in a std::string like std::string path = "C:\\TestFolder";

    Please help.

    Thanks
    Dave
  15. Replies
    3
    Views
    1,216

    Re: File Transfer using FTP/TCP IP in windows

    Hi,

    will you tell how can i achieve the following steps

    _socket->open()

    _socket->set_option()

    _socket->bind()
  16. Replies
    3
    Views
    1,216

    File Transfer using FTP/TCP IP in windows

    Hello,

    I need to copy a file from remote location.
    I know following information.

    a) Address of the remote file location
    b) Port number
    c) File Name
    d) Size of file in bytes
  17. Replies
    2
    Views
    526

    Multi Thread Objects - Choice

    Hi,

    This is an entry question to the thread concepts. There are 4 different object to achieve the multi thread support. Let me list

    1. Critical Section

    2. Semaphore

    3. Mutex
  18. Replies
    9
    Views
    5,080

    Re: XML Parsing using C++

    I don't want to use a third party library.

    I want to use native C++ for doing the same .

    Let me know the header file for support this.

    Thanks
    Dave
  19. Replies
    9
    Views
    5,080

    XML Parsing using C++

    Hi,

    My requirement is this. I have an .XML file. Using this file i would like to drive my program.
    For the same i would like to parse my .XML file. Which C++ headers and class files will help me...
  20. Replies
    7
    Views
    561

    Re: DLL Creation and Linking Issue

    Still I have problem

    In My DLL project i build the function using the following way


    extern "C" __declspec(dllexport) double AddNumbers(double a, double b)
    {
    return a + b;
    }
  21. Replies
    7
    Views
    561

    Re: DLL Creation and Linking Issue

    Hi,

    I am ok with .lib settings and my project is working in static library.

    But i want to create my application project using .dll.[Only the main and caller function in wrapper]

    I am...
  22. Replies
    7
    Views
    561

    Re: DLL Creation and Linking Issue

    Thanks for the replay, but it does not solve my problem.

    I have a dll project. Successfully creates the dll.

    I would like to create one application project using this dll.

    But i face the...
  23. Replies
    7
    Views
    561

    DLL Creation and Linking Issue

    Hi,

    I am using VS 2005. First I create .lib project and prepare one application project. Both are running fine.

    Then i change the .lib project in to .dll project. It compiles fine but when i...
  24. Replies
    11
    Views
    1,191

    Different Compilers

    Many times i heard 16 bit compiler 32 bit compiler 64 bit compiler in my class room.

    What are the features changed when we use the different ones!

    my knowledge is the data type that supports...
  25. Replies
    4
    Views
    582

    Re: Compiler Directives

    I am asking about the compiler directives to speed up the code.

    Thanks
    Dave
Results 1 to 25 of 156
Page 1 of 7 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center