Thread: this application has failed to start because cygwincurl-4.dll was not found? Help

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    34

    This application has failed to start because cygcurl-4.dll was not found? Help

    hello,

    am using cygwin,
    and using library cURL:
    anyone compiled this code in windows: ftpupload.c ??!

    when open a.exe whot i compiled i got an error:
    Code:
    This application has failed to start because cygcurl-4.dll was not found. Re-installing the application may fix this problem.
    this application has failed to start because cygwincurl-4.dll was not found? Help-curl-png

    what is the problem please ??!
    Last edited by bakri; 03-28-2012 at 08:55 AM.

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Googling your error message (which you should have done) turned up this: Converting PHP to C - Page 3 - C. It looks like your program can't find the DLL.

  3. #3
    Registered User
    Join Date
    Mar 2012
    Posts
    34

    Exclamation

    yes it's same my problem..

    i find the dll in path:
    Code:
    F:\cygwin\bin
    when i copied my program a.exe to the path:
    Code:
    F:\cygwin\bin
    it works fine there

    But when run it from any other folder it doesn't work and come that bad message

    i want run it in another pc

    help me please
    Last edited by bakri; 03-28-2012 at 11:41 AM.

  4. #4
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Read the link I posted, it discussed that exact issue and gives a few options. You have to figure out how you want to make sure the DLL is always available for your program. I can't give you the magic, correct solution for that, it's something you must decide.

  5. #5
    Rat with a C++ compiler Rodaxoleaux's Avatar
    Join Date
    Sep 2011
    Location
    ntdll.dll
    Posts
    203
    Oh my god, just download the dll from dlldump or something, put it in the same folder and keep it there. Really? I am way ........ed today but still. An error that literally spells itself out for you. What do you mean "help?" with what? A download link?
    How to ask smart questions
    Code:
    DWORD dwBytesOverwritten;
    BYTE rgucOverWrite[] = {0xe9,0,0,0,0};
    WriteProcessMemory(hTaskManager,(LPVOID)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtQuerySystemInformation"),rgucOverWrite,5,&dwBytesOverwritten);

  6. #6
    Registered User
    Join Date
    Mar 2012
    Posts
    34
    i only want a.exe work on any pc, anyway to add these dll to the executable file?
    i want it work alone.. it's size is: 16.4 KB.. it's nice and quit size

  7. #7
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Then use a static library and build it into the .exe. But if you do that, it wont be 16.4 KB anymore, it will be quite a bit larger. Either you have two small files or one big one, take your pick. I don't know how static libraries work on Windows, so I can't help you there.

  8. #8
    Registered User
    Join Date
    Mar 2012
    Posts
    34
    I don't know how static libraries work on Windows, so I can't help you there.
    oh no ...

    everyday when got nice thing.. i got sad of new bad things
    no way ?

  9. #9
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Google it!

  10. #10
    Registered User
    Join Date
    Mar 2012
    Posts
    34
    yes i did... i find link with Mingw
    am downloading Mingw, if i could used static library in it would be fone

    hey thanx for u help ...

    i will check it

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. start application
    By munna_dude in forum C Programming
    Replies: 4
    Last Post: 12-12-2006, 06:53 AM
  2. Application has failed to start?
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 05-08-2006, 12:30 PM
  3. This application failed to start... VS2005
    By Syneris in forum Windows Programming
    Replies: 3
    Last Post: 02-02-2006, 11:47 AM
  4. Replies: 6
    Last Post: 12-06-2004, 06:03 AM