Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

stupidmistakez

@stupidmistakez
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • You know what I would find useful?
    S stupidmistakez

    what the hell is it?

    The Lounge tutorial csharp database wpf com

  • Need help? Get Winhlp32
    S stupidmistakez

    hopefully, i does 1.99 $ for a million email addresses - the cheapest price in the world. Check http://luvit.bravehost.com/ for detail

    The Lounge c++ com architecture help question

  • why ? [modified]
    S stupidmistakez

    but i need detail solution? can you or anyone help me ? please!

    C / C++ / MFC help csharp visual-studio com sysadmin

  • why ? [modified]
    S stupidmistakez

    You also need to include the file wininet.h in the file where you are using the API functions. --> does it mean i have to include wininet.h in the "upload" funtion?

    C / C++ / MFC help csharp visual-studio com sysadmin

  • why ? [modified]
    S stupidmistakez

    this is the code: #include "stdafx.h" #include "wininet.h" wchar_t *lpszAgent; wchar_t *server = L"aaaa.t35.com"; wchar_t *username = L"aaaaaaaa.t35.com"; wchar_t *password = L"gaaaaa"; wchar_t upFileName[] = L"test.txt"; wchar_t dir[] = L"test"; HINTERNET hInternet; HINTERNET ftp; void upload(void); int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { upload(); return 1; } void upload() { hInternet = InternetOpen( NULL, 1, NULL , NULL,1); ftp = InternetConnect(hInternet, server,21, username, password, 1,1,1); FtpCreateDirectory( ftp, dir ); FtpSetCurrentDirectory(ftp, dir); FtpPutFile( ftp, upFileName,upFileName,2, NULL); InternetCloseHandle(ftp); InternetCloseHandle( hInternet); } but i get these error no matter i tried in many computer (which installs both Visual studio 98 and Visual studio 2005), i dont' know why? can't any one help me? Error 7 error LNK2019: unresolved external symbol __imp__InternetCloseHandle@4 referenced in function "void __cdecl upload(void)" (?upload@@YAXXZ) et.obj Error 8 error LNK2019: unresolved external symbol __imp__FtpPutFileW@20 referenced in function "void __cdecl upload(void)" (?upload@@YAXXZ) et.obj Error 9 error LNK2019: unresolved external symbol __imp__FtpSetCurrentDirectoryW@8 referenced in function "void __cdecl upload(void)" (?upload@@YAXXZ) et.obj Error 10 error LNK2019: unresolved external symbol __imp__FtpCreateDirectoryW@8 referenced in function "void __cdecl upload(void)" (?upload@@YAXXZ) et.obj Error 11 error LNK2019: unresolved external symbol __imp__InternetConnectW@32 referenced in function "void __cdecl upload(void)" (?upload@@YAXXZ) et.obj Error 12 error LNK2019: unresolved external symbol __imp__InternetOpenW@20 referenced in function "void __cdecl upload(void)" (?upload@@YAXXZ) et.obj Error 13 fatal error LNK1120: 6 unresolved externals D:\My Documents\Visual Studio 2005\Projects\et\Debug\et.exe 1 -- modified at 7:16 Friday 16th June, 2006

    C / C++ / MFC help csharp visual-studio com sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups