Hello *,
I've built DLL library succesfully but when
I load Library with function LoadLibrary
it failed with error 182
//
// MessageId: ERROR_INVALID_ORDINAL
//
// MessageText:
//
// The operating system cannot run %1.
//
#define ERROR_INVALID_ORDINAL 182L
Do you now anybody where can be a problem?
I am using Microsoft Visual Studio 2005.
Source code of Loading library is:
CString PomString;
PomString.Format("%slibssh2.dll",m_cCurDir);
hInst = ::LoadLibrary(PomString);
if(hInst != NULL)
{
// successfully loaded
}
else
{
DWORD err = GetLastError();
}
regards
Petr
______________________________________
DĚTI DO 12 LET VE VYBRANÝCH HOTELECH NA TABARCE A V TUNISU POUZE ZA 1,- KČ
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-19