![]() |
������������, ����� ( ���� | ����������� )
![]() ![]() |
![]() |
![]()
���������
#1
|
|
![]() ������� ����������� ![]() ![]() ![]() ![]() ![]() ������: ������������ ���������: 1179 �����������: 27.02.2009 ��: Moscow ������������ �: 9144 ![]() |
Zinc ��������� ������� ������������ dll-�� 1
������ �������� ����� ������������ ����������� �������� ����������, �.�. winAPI. ����� ������� ���������� �� ����� ����������� ����������� ������������ �� ����������� �� ���������� ���������� �� �������������� ������ ���� �� � ������. � ����� �� �� ������� ���� �������� �������, ���� �� ����������� ������ ����� � dll-����. ���� �������� � ��������� ��������� �� ������� dll � ���� ������� �������� (�� ���� �����). ��� ������ ������������ ����������� ������ � dll, �.�. ������ ������� winAPI, ��������, ��������� � ���������� ������� ������ (��������, ���������). ������������ ��������� ��� �������� �� ��������� ������� ���������� ������������ dll-��������� (����������) ����� ������ � "��������" dll-����. �������� ��� ��������� �� ������, ���� ���, ��� ������ �� ����������� ��� ActionScript-������������� ������ ������������. � ���� �� ���� ���� �������������� ����������� ��������� ��� ������� � ����������. ������� ���� ������ ������������. � ��� ��� ���-�� ����� �� ������ (������? ![]() ![]() ���������� �������. ������������ ����������� ���������� msvcrt.dll � ��� ������� � ���: malloc - ����������� ����������� ����� ������ (������) � �������� ����� ������� �� ���. memset - ���������� ��������(�) � ���������� ������ ������ memcpy - ��������� �������� �� ���������� ������ ������ (������������ ������ �����, �� ������ �� ������� �������� ������� � ����� � "������������ ����") ��� msvcrt = new mdm.DLL(mdm.System.Paths.windows+"/system32/msvcrt.dll"); //////////////////////////////////////////// // ���������� ��� ������������ // //////////////////////////////////////////// function getUserName(){ msvcrt.clear() msvcrt.addParameter("integer", 0xff); var memU = msvcrt.call("integer", "malloc"); msvcrt.clear(); msvcrt.addParameter("integer", 4); var memN = msvcrt.call("integer", "malloc"); msvcrt.clear(); msvcrt.addParameter("integer", memN); msvcrt.addParameter("integer", 0xff); msvcrt.addParameter("integer", 1); msvcrt.call("integer", "memset"); advapi32.clear(); // BOOL WINAPI GetUserName( __out LPTSTR lpBuffer, __inout LPDWORD lpnSize); advapi32.addParameter("integer", memU); advapi32.addParameter("integer", memN); var b = advapi32.call("boolean","GetUserNameA"); advapi32.clear(); msvcrt.clear(); // void *memcpy( void *dest, const void *src, size_t count ); // dest - New buffer. // src - Buffer to copy from. // count - Number of bytes to copy. // Return Value - The value of dest. msvcrt.addParameter("integer", memU); // ����� ������ ������ msvcrt.addParameter("integer", memU); // ����� ������ �� �������� �������� (��� ����) msvcrt.addParameter("integer", 0xff); // ����� ������ ������� �������� var u = msvcrt.call("string", "memcpy"); // ������������ �������� �� ������ ������ msvcrt.clear(); msvcrt.addParameter("integer", memU); msvcrt.call("integer", "free"); msvcrt.clear(); msvcrt.addParameter("integer", memN); msvcrt.call("integer", "free"); msvcrt.clear(); return u } ������� �������� � winAPI ����������� ��� �����������! 1 ���� �������� � ������� DLL � ����� �����������: - ����������� �� ���������. ��� ���� �����, ���� ������ (�� ���� ������ ������ ���� ����� ������ 3, ������������� ��� �����(!) � ������� �� ������� ����� WINE) - ����������� �� ���� dll. ���������� ����� ���� ������ win32-����, com � .NET �� �����������. -------------------- |
|
|
![]()
���������
#2
|
|
![]() C:\> ![]() ![]() ![]() ![]() ![]() ������: ��������������� ���������: 1604 �����������: 10.04.2006 ��: ������� ����, 3-� ������� �� ������, ������, ���������� �������, ���������. ������������ �: 293 ![]() |
���������, ������� �� ����������.
-------------------- ������-����� ��� flash-�������������
� ��� ���, ��� �� ������ ��������������� ��������� ����������, � �� ��� ������ �� �������. (�) �������� �. |
|
|
![]()
���������
#3
|
|
������� ����������� ![]() ![]() ![]() ![]() ![]() ������: Flash Zone Team ���������: 4952 �����������: 10.03.2005 ��: ���� ������������ �: 5 ![]() |
������ Zinc ��������� ������� ������������ dll-�� ������ �� ����� � dll � WinAPI (����� Zinc � ������ ������) - ��� ������ ���������. � ��� ������������� ����� ��� �������� ���������� ���������� ����� ������ �����������. ����� ����� ������������ �� ������ ����������� ������ ����� (�.�. ������ ������� exe-������ �� ������), � ����� ����� ������� ����������� ���������� (�������� ���������� � WinAPI). ������� chingachgoog, ������� � ���������� tortMake � alexcon314 ����������� ������ �������� ������, ������� ��������� �������� ����������� Zinc (� ��������� �� �������� ���������� �������). ������ ���������� ��� �������� ����������� ����� ![]() ������ �������������� ������ ���� �� � ������ ����� ��� �� � ������ ����� ��������������� ![]() -------------------- Best wishes & regards,
MustLive ������������� ����� http://mlfun.org.ua |
|
|
![]()
���������
#4
|
|
![]() ������� ![]() ������: ������� ���������: 2 �����������: 27.02.2011 ��: ����� ������������ �: 10355 ![]() |
�������!)
|
|
|
![]()
���������
#5
|
|
![]() ������� ![]() ������: ������� ���������: 2 �����������: 4.02.2012 ������������ �: 10866 ![]() |
������� ����������, ��� ����� ����� ������������ ���������� ������. � �����������, ��� ������ ������������ � ���� ��������� (������) � ����, �� ��� �� �����-����� �������� � ������? ���, ������, ���� �����-�� ������� ������� � ������� � �� ����. � �������� �� ��������, ���� �� �������������� ������� ��� Zinc 4.0. mdm �� ��� ��������� ��� ������������ �������� �� ����� ���������� �����������, �� � ���� �� ���� ������ �� ������� ��� ������. �.�. ������ � ���, ������ �� ������������� � ����� ���������� � ����� ������?
|
|
|
![]()
���������
#6
|
|
![]() ������� ����������� ![]() ![]() ![]() ![]() ![]() ������: ������������ ���������: 1179 �����������: 27.02.2009 ��: Moscow ������������ �: 9144 ![]() |
��� ������������ ������ ��������� ��������� � �������. )))
��� �������� 4-�� �����, �� ���� �� ��������� ����� ������ � dll ������� ��� ���������. ��� ��� ��� ��������� ��-��������. -------------------- |
|
|
![]()
���������
#7
|
|
![]() ������� ![]() ������: ������� ���������: 2 �����������: 4.02.2012 ������������ �: 10866 ![]() |
�������. ������ ������ � �� ������, ��� ��� �������. ���� ����� ���� ����� ������ � ��������...
� ���� ��� ���� ��������� ��������. ��� ���������� �������� ������ �� �������, ��� ��������. � C++ ��� �� ����������, ��� function1(&function2). ��� ������� void (�.�. ������ �� ����������). ��� � �������, ��� ���� �������� ��������� �� ������ ������� function2. ���-�� ����� mydll.addParameter("integer", function2); , � ����� ������ �� � ������� mydll.call("none", "function1");. �� � ����� ������, ��� ��� ������ �� ������. � ������ ������ ����� �� ���-�� ������� ���������� ���������� �� dll-�� ��� ��� �� �� ����� ���������� � �� ��������� �� � Zinc? �.� ����� �� ��� ������� ��� �������� �������������� �������, ������� �� ���������� ��� ����������, ��� ����� �� ������? ��������� �������������� Varcharamir - 16.02.2012 - 08:50 |
|
|
![]()
���������
#8
|
|
![]() ������� ����������� ![]() ![]() ![]() ![]() ![]() ������: ������������ ���������: 1179 �����������: 27.02.2009 ��: Moscow ������������ �: 9144 ![]() |
��, �������� �� ���. ������ ���������� ������������� ���� ������.
��� ���� ������� �� ��������: malloc - ����� call("integer", "malloc") �������� ����� ������� �� ����������������� ������. memset - call("integer", "memset") ���������� ��������(�) � ���������� ������ ������. �� �����, ������ ��� ����������� �������� integer, � �� none. ����� � none ������� ))) ����� �������� ������� � �����������... ������ ��� ���� ���� ����� �������, ������� ��� ����� ... memcpy - call("string", "memcpy") ��������� �������� (������) �� ���������� ������ ������ (����, ��� �� �������� � call("integer", "malloc")) � ������ ������ ����� �� ���-�� ������� ���������� ���������� �� dll-�� ��� ��� �� �� ����� ���������� � �� ��������� �� � Zinc? �.� ����� �� ��� ������� ��� �������� �������������� �������, ������� �� ���������� ��� ����������, ��� ����� �� ������? ���� ������ ���� �� ����� �������? ���� �� ����/����, �� ��� ��� �� �������/��������, ���� ������ �� ���� ���������� �� �����? ������ ���� � ����� dll ����� �������� �������� �� �� ����/���� - ��������, ����� LocalConnection. -------------------- |
|
|
![]() ![]() |
![]() |
��������� ������ | ������: 3.07.2014 - 07:18 |