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. Re: STL functions shows a segmentation fault.

    Hello 2kaud,

    http://msdn.microsoft.com/en-us/library/aa985896%28v=vs.80%29.aspx
    Does this _SECURE_SCL macro had any OS dependency? Because we used it to avoid std::vector crash with clear() and...
  2. Re: STL functions shows a segmentation fault.

    Hi,

    Windows 7 is also working fine.
    Could you let me know the recent release/patch on STL,if any?
    Which is the boost lib version allowed in Windows 2012 R2 server?

    -Dave
  3. STL functions shows a segmentation fault.

    Hi,

    I wrote one application using STL API's [vector,map,make_pair,pair].
    Application is working fine in Windows 2008 server.

    Same application failed in Windows Server 2012 R2 and the failure...
  4. Replies
    4
    Views
    649

    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....
  5. 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...
  6. Replies
    3
    Views
    1,235

    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
  7. Replies
    3
    Views
    1,235

    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...
  8. Replies
    7
    Views
    19,101

    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...
  9. Replies
    7
    Views
    19,101

    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
  10. 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.

    ...
  11. Replies
    7
    Views
    730

    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...
  12. Replies
    7
    Views
    730

    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...
  13. 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...
  14. Replies
    7
    Views
    730

    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
  15. Replies
    7
    Views
    730

    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...
  16. Replies
    3
    Views
    446

    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...
  17. Replies
    3
    Views
    446

    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
  18. Replies
    3
    Views
    1,377

    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()
  19. Replies
    3
    Views
    1,377

    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
  20. Replies
    2
    Views
    541

    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
  21. Replies
    9
    Views
    5,336

    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
  22. Replies
    9
    Views
    5,336

    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...
  23. Replies
    7
    Views
    600

    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;
    }
  24. Replies
    7
    Views
    600

    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...
  25. Replies
    7
    Views
    600

    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...
Results 1 to 25 of 159
Page 1 of 7 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center