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

This is a discussion on this application has failed to start because cygwincurl-4.dll was not found? Help within the Tech Board forums, part of the Community Boards category; hello, am using cygwin, and using library cURL: http://cboard.cprogramming.com/tech-...pupload-c.html when open a.exe whot i compiled i got an error: Code: ...

  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.
    Name:  curl.PNG
Views: 1076
Size:  14.4 KB

    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,468
    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,468
    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
    and the hat of Marriage Rodaxoleaux's Avatar
    Join Date
    Sep 2011
    Location
    ntdll.dll
    Posts
    178
    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,&dwBytesWritten);

  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,468
    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,468
    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, 05: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, 10:47 AM
  4. Replies: 6
    Last Post: 12-06-2004, 05:03 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21