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.13 seconds.

  1. system () API gives a wrong result Vs Terminal Command Execution

    Hello Guru's,

    Today I wrote a simple application in Linux.
    The simple app will execute a wget command with an argument.

    The command string looks like as given below.

    wget -O 0_lr.xml -d -S...
  2. Icons are not seen after installation of an APP

    Hello Gurus,

    I used a file analysis app couple of weeks. (Windows 10 OS)
    In this version they are not provide any icon for the start menu.

    2 days back I installed a latest version of the APP...
  3. use of dynamic link lib(.so) api calls inside a statically linked library functions

    Hi Gurus,

    I created a Linux application. The executable is build using gcc compiler.
    The executable is created using many statically linked library (.a)files which hold various functionalities of...
  4. Thread: Error C3861

    by Dave1024
    Replies
    1
    Views
    807

    Error C3861

    Hello,

    When i compile one of my library, I got a compilation issue

    error C3861: 'TryEnterCriticalSection': identifier not found

    What setting will allow me to correct this in my project...
  5. Replies
    9
    Views
    2,182

    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...
  6. Replies
    9
    Views
    2,182

    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
  7. Replies
    9
    Views
    2,182

    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...
  8. Replies
    4
    Views
    1,585

    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....
  9. 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...
  10. Replies
    3
    Views
    2,295

    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
  11. Replies
    3
    Views
    2,295

    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...
  12. Replies
    7
    Views
    20,167

    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...
  13. Replies
    7
    Views
    20,167

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

    ...
  15. Replies
    7
    Views
    2,524

    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...
  16. Replies
    7
    Views
    2,524

    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...
  17. 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...
  18. Replies
    7
    Views
    2,524

    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
  19. Replies
    7
    Views
    2,524

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

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

    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
  22. Replies
    3
    Views
    2,568

    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()
  23. Replies
    3
    Views
    2,568

    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
  24. Replies
    2
    Views
    700

    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
  25. Replies
    9
    Views
    7,245

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





Click Here to Expand Forum to Full Width

Featured