Форум программистов, компьютерный форум, киберфорум
Visual C++
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.97/34: Рейтинг темы: голосов - 34, средняя оценка - 4.97
Марсианин)))
713 / 46 / 15
Регистрация: 18.07.2010
Сообщений: 637

Цифровая подпись

15.04.2012, 15:03. Показов 6751. Ответов 4
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Всем привет. Ребята у меня к вам просьба не могли бы вы перевести этот код
C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
//-------------------------------------------------------------------
// Copyright (C) Microsoft.  All rights reserved.
// Example of verifying the embedded signature of a PE file by using 
// the WinVerifyTrust function.
 
#define _UNICODE 1
#define UNICODE 1
 
#include <tchar.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <Softpub.h>
#include <wincrypt.h>
#include <wintrust.h>
 
// Link with the Wintrust.lib file.
#pragma comment (lib, "wintrust")
 
BOOL VerifyEmbeddedSignature(LPCWSTR pwszSourceFile)
{
    LONG lStatus;
    DWORD dwLastError;
 
    // Initialize the WINTRUST_FILE_INFO structure.
 
    WINTRUST_FILE_INFO FileData;
    memset(&FileData, 0, sizeof(FileData));
    FileData.cbStruct = sizeof(WINTRUST_FILE_INFO);
    FileData.pcwszFilePath = pwszSourceFile;
    FileData.hFile = NULL;
    FileData.pgKnownSubject = NULL;
 
    /*
    WVTPolicyGUID specifies the policy to apply on the file
    WINTRUST_ACTION_GENERIC_VERIFY_V2 policy checks:
    
    1) The certificate used to sign the file chains up to a root 
    certificate located in the trusted root certificate store. This 
    implies that the identity of the publisher has been verified by 
    a certification authority.
    
    2) In cases where user interface is displayed (which this example
    does not do), WinVerifyTrust will check for whether the  
    end entity certificate is stored in the trusted publisher store,  
    implying that the user trusts content from this publisher.
    
    3) The end entity certificate has sufficient permission to sign 
    code, as indicated by the presence of a code signing EKU or no 
    EKU.
    */
 
    GUID WVTPolicyGUID = WINTRUST_ACTION_GENERIC_VERIFY_V2;
    WINTRUST_DATA WinTrustData;
 
    // Initialize the WinVerifyTrust input data structure.
 
    // Default all fields to 0.
    memset(&WinTrustData, 0, sizeof(WinTrustData));
 
    WinTrustData.cbStruct = sizeof(WinTrustData);
    
    // Use default code signing EKU.
    WinTrustData.pPolicyCallbackData = NULL;
 
    // No data to pass to SIP.
    WinTrustData.pSIPClientData = NULL;
 
    // Disable WVT UI.
    WinTrustData.dwUIChoice = WTD_UI_NONE;
 
    // No revocation checking.
    WinTrustData.fdwRevocationChecks = WTD_REVOKE_NONE; 
 
    // Verify an embedded signature on a file.
    WinTrustData.dwUnionChoice = WTD_CHOICE_FILE;
 
    // Default verification.
    WinTrustData.dwStateAction = 0;
 
    // Not applicable for default verification of embedded signature.
    WinTrustData.hWVTStateData = NULL;
 
    // Not used.
    WinTrustData.pwszURLReference = NULL;
 
    // This is not applicable if there is no UI because it changes 
    // the UI to accommodate running applications instead of 
    // installing applications.
    WinTrustData.dwUIContext = 0;
 
    // Set pFile.
    WinTrustData.pFile = &FileData;
 
    // WinVerifyTrust verifies signatures as specified by the GUID 
    // and Wintrust_Data.
    lStatus = WinVerifyTrust(
        NULL,
        &WVTPolicyGUID,
        &WinTrustData);
 
    switch (lStatus) 
    {
        case ERROR_SUCCESS:
            /*
            Signed file:
                - Hash that represents the subject is trusted.
 
                - Trusted publisher without any verification errors.
 
                - UI was disabled in dwUIChoice. No publisher or 
                    time stamp chain errors.
 
                - UI was enabled in dwUIChoice and the user clicked 
                    "Yes" when asked to install and run the signed 
                    subject.
            */
            wprintf_s(L"The file \"%s\" is signed and the signature "
                L"was verified.\n",
                pwszSourceFile);
            break;
        
        case TRUST_E_NOSIGNATURE:
            // The file was not signed or had a signature 
            // that was not valid.
 
            // Get the reason for no signature.
            dwLastError = GetLastError();
            if (TRUST_E_NOSIGNATURE == dwLastError ||
                    TRUST_E_SUBJECT_FORM_UNKNOWN == dwLastError ||
                    TRUST_E_PROVIDER_UNKNOWN == dwLastError) 
            {
                // The file was not signed.
                wprintf_s(L"The file \"%s\" is not signed.\n",
                    pwszSourceFile);
            } 
            else 
            {
                // The signature was not valid or there was an error 
                // opening the file.
                wprintf_s(L"An unknown error occurred trying to "
                    L"verify the signature of the \"%s\" file.\n",
                    pwszSourceFile);
            }
 
            break;
 
        case TRUST_E_EXPLICIT_DISTRUST:
            // The hash that represents the subject or the publisher 
            // is not allowed by the admin or user.
            wprintf_s(L"The signature is present, but specifically "
                L"disallowed.\n");
            break;
 
        case TRUST_E_SUBJECT_NOT_TRUSTED:
            // The user clicked "No" when asked to install and run.
            wprintf_s(L"The signature is present, but not "
                L"trusted.\n");
            break;
 
        case CRYPT_E_SECURITY_SETTINGS:
            /*
            The hash that represents the subject or the publisher 
            was not explicitly trusted by the admin and the 
            admin policy has disabled user trust. No signature, 
            publisher or time stamp errors.
            */
            wprintf_s(L"CRYPT_E_SECURITY_SETTINGS - The hash "
                L"representing the subject or the publisher wasn't "
                L"explicitly trusted by the admin and admin policy "
                L"has disabled user trust. No signature, publisher "
                L"or timestamp errors.\n");
            break;
 
        default:
            // The UI was disabled in dwUIChoice or the admin policy 
            // has disabled user trust. lStatus contains the 
            // publisher or time stamp chain error.
            wprintf_s(L"Error is: 0x%x.\n",
                lStatus);
            break;
    }
 
    return true;
}
 
int _tmain(int argc, _TCHAR* argv[])
{
    if(argc > 1)
    {
        VerifyEmbeddedSignature(argv[1]);
    }
 
    return 0;
}
Что бы я его мог использовать на С++Builder.

Заранее благодарен.
Я не могу перевести пока это GUID WVTPolicyGUID = WINTRUST_ACTION_GENERIC_VERIFY_V2; Борланд это не понимает. Тип GUID он не знает.

Как я понял этот код проверяет есть ли цифровая подпись файла или нет.
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
15.04.2012, 15:03
Ответы с готовыми решениями:

Цифровая подпись, файл .pfx
Привет! Никто не подскажет как подписать проект с++ с помощью .pfx файла(сам файл имею). там мастер, но я так и не понял как им...

Алгоритм шифрования DES и цифровая подпись MD5
Необходимо разработать консольное приложение, выполняющее следующий набор операций с помощью библиотеки OpenSSL: • генерация ключа или...

Цифровая подпись приложения
Здравствуйте. Когда запускаю приложение, антивирус ругается на отсутсвие цифровой подписи, и спрашивает разрешить запуск или нет. ...

4
Хочу в Исландию
 Аватар для skaa
1041 / 840 / 119
Регистрация: 10.11.2010
Сообщений: 1,630
17.04.2012, 18:44
Надо сделать вот что:
C++
1
#include    <windows.h>
, тогда Borland начинает понимать что-то типа:
C++
1
2
3
  GUID  rGuid;
 
  UuidCreate(&rGuid);
.
0
873 / 771 / 173
Регистрация: 11.01.2012
Сообщений: 1,942
17.04.2012, 21:00
C++
1
wprintf_s
эта функция вывода, явно не для С++Builder.

сменить на
C++
1
wprintf
и должно работать

Добавлено через 21 минуту
-----------
0
Марсианин)))
713 / 46 / 15
Регистрация: 18.07.2010
Сообщений: 637
17.04.2012, 22:40  [ТС]
Ребята спасибо.
Я не много поправил код, а именно добавил вот это
C++
1
2
3
4
5
6
7
8
9
10
11
case TRUST_E_PROVIDER_UNKNOWN:
   Memo1->Lines->Add("2");
   break;
 
case  TRUST_E_ACTION_UNKNOWN:
   Memo1->Lines->Add("3");
   break;
 
case TRUST_E_SUBJECT_FORM_UNKNOWN:
   Memo1->Lines->Add("4");
   break;
И у меня на любой файл выводит 2, то есть TRUST_E_PROVIDER_UNKNOWN
Что это может значить.

вот весь код
C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
void __fastcall TForm1::Button1Click(TObject *Sender)
{
    LONG lStatus;
    DWORD dwLastError;
    AnsiString qwe = "C:\Windows\ETDUninst.dll";
    LPCWSTR pwszSourceFile= L"qwe";
    //LPCWSTR pwszSourceFile= qwe.WideChar(pwszSourceFile, qwe.Length()+1);
    // Initialize the WINTRUST_FILE_INFO structure.
 
    WINTRUST_FILE_INFO FileData;
    memset(&FileData, 0, sizeof(FileData));
    FileData.cbStruct = sizeof(WINTRUST_FILE_INFO);
    FileData.pcwszFilePath = pwszSourceFile;
    FileData.hFile = NULL;
    FileData.pgKnownSubject = NULL;
 
    /*
    WVTPolicyGUID specifies the policy to apply on the file
    WINTRUST_ACTION_GENERIC_VERIFY_V2 policy checks:
 
    1) The certificate used to sign the file chains up to a root
    certificate located in the trusted root certificate store. This
    implies that the identity of the publisher has been verified by
    a certification authority.
 
    2) In cases where user interface is displayed (which this example
    does not do), WinVerifyTrust will check for whether the
    end entity certificate is stored in the trusted publisher store,
    implying that the user trusts content from this publisher.
 
    3) The end entity certificate has sufficient permission to sign
    code, as indicated by the presence of a code signing EKU or no
    EKU.
    */
 
    GUID WVTPolicyGUID = WINTRUST_ACTION_GENERIC_VERIFY_V2;
    WINTRUST_DATA WinTrustData;
    UuidCreate(&WVTPolicyGUID);
    // Initialize the WinVerifyTrust input data structure.
 
    // Default all fields to 0.
    memset(&WinTrustData, 0, sizeof(WinTrustData));
 
    WinTrustData.cbStruct = sizeof(WinTrustData);
 
    // Use default code signing EKU.
    WinTrustData.pPolicyCallbackData = NULL;
 
    // No data to pass to SIP.
    WinTrustData.pSIPClientData = NULL;
 
    // Disable WVT UI.
    WinTrustData.dwUIChoice = WTD_UI_NONE;
 
    // No revocation checking.
    WinTrustData.fdwRevocationChecks = WTD_REVOKE_NONE;
 
    // Verify an embedded signature on a file.
    WinTrustData.dwUnionChoice = WTD_CHOICE_FILE;
 
    // Default verification.
    WinTrustData.dwStateAction = 0;
 
    // Not applicable for default verification of embedded signature.
    WinTrustData.hWVTStateData = NULL;
 
    // Not used.
    WinTrustData.pwszURLReference = NULL;
 
    // This is not applicable if there is no UI because it changes
    // the UI to accommodate running applications instead of
    // installing applications.
    WinTrustData.dwUIContext = 0;
 
    // Set pFile.
    WinTrustData.pFile = &FileData;
 
    // WinVerifyTrust verifies signatures as specified by the GUID
    // and Wintrust_Data.
    lStatus = WinVerifyTrust(
        NULL,
        &WVTPolicyGUID,
        &WinTrustData);
 
    switch (lStatus)
    {
        case ERROR_SUCCESS:
            /*
            Signed file:
                - Hash that represents the subject is trusted.
 
                - Trusted publisher without any verification errors.
 
                - UI was disabled in dwUIChoice. No publisher or
                    time stamp chain errors.
 
                - UI was enabled in dwUIChoice and the user clicked
                    "Yes" when asked to install and run the signed
                    subject.
            */
            wprintf_s(L"The file \"%s\" is signed and the signature "
                L"was verified.\n",
                pwszSourceFile);
                Memo1->Lines->Add("The file \"%s\" is signed and the signature ");
            break;
 
        case TRUST_E_NOSIGNATURE:
            // The file was not signed or had a signature
            // that was not valid.
 
            // Get the reason for no signature.
            dwLastError = GetLastError();
            if (TRUST_E_NOSIGNATURE == dwLastError ||
                    TRUST_E_SUBJECT_FORM_UNKNOWN == dwLastError ||
                    TRUST_E_PROVIDER_UNKNOWN == dwLastError)
            {
                // The file was not signed.
                wprintf_s(L"The file \"%s\" is not signed.\n",
                    pwszSourceFile);
                Memo1->Lines->Add("The file \"%s\" is not signed.\n") ;
            }
            else
            {
                // The signature was not valid or there was an error
                // opening the file.
                wprintf_s(L"An unknown error occurred trying to "
                    L"verify the signature of the \"%s\" file.\n",
                    pwszSourceFile);
                Memo1->Lines->Add("An unknown error occurred trying to verify the signature of the \"%s\" file.\n");
 
            }
 
            break;
 
        case TRUST_E_EXPLICIT_DISTRUST:
            // The hash that represents the subject or the publisher
            // is not allowed by the admin or user.
            wprintf_s(L"The signature is present, but specifically "
                L"disallowed.\n");
            Memo1->Lines->Add("The signature is present, but specifically ");
            break;
 
        case TRUST_E_SUBJECT_NOT_TRUSTED:
            // The user clicked "No" when asked to install and run.
            wprintf_s(L"The signature is present, but not "
                L"trusted.\n");
            Memo1->Lines->Add("The signature is present, but not ");
            break;
 
        case CRYPT_E_SECURITY_SETTINGS:
            /*
            The hash that represents the subject or the publisher
            was not explicitly trusted by the admin and the
            admin policy has disabled user trust. No signature,
            publisher or time stamp errors.
            */
            wprintf_s(L"CRYPT_E_SECURITY_SETTINGS - The hash "
                L"representing the subject or the publisher wasn't "
                L"explicitly trusted by the admin and admin policy "
                L"has disabled user trust. No signature, publisher "
                L"or timestamp errors.\n");
            Memo1->Lines->Add("1");
            break;
 
        case TRUST_E_PROVIDER_UNKNOWN:
            Memo1->Lines->Add("2");
            break;
 
        case  TRUST_E_ACTION_UNKNOWN:
            Memo1->Lines->Add("3");
            break;
 
        case TRUST_E_SUBJECT_FORM_UNKNOWN:
           Memo1->Lines->Add("4");
            break;
        default:
            // The UI was disabled in dwUIChoice or the admin policy
            // has disabled user trust. lStatus contains the
            // publisher or time stamp chain error.
            wprintf_s(L"Error is: 0x%x.\n",
                lStatus);
            Memo1->Lines->Add(lStatus);
            break;
    }
 
 
}
0
Марсианин)))
713 / 46 / 15
Регистрация: 18.07.2010
Сообщений: 637
02.05.2012, 19:41  [ТС]
Ребята я скомпилировал данный код
C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
// proba2.cpp: определяет точку входа для консольного приложения.
//
 
#include "stdafx.h"
//-------------------------------------------------------------------
// Copyright (C) Microsoft.  All rights reserved.
// Example of verifying the embedded signature of a PE file by using 
// the WinVerifyTrust function.
 
#define _UNICODE 1
#define UNICODE 1
 
#include <tchar.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <Softpub.h>
#include <wincrypt.h>
#include <wintrust.h>
 
// Link with the Wintrust.lib file.
#pragma comment (lib, "wintrust")
 
BOOL VerifyEmbeddedSignature(LPCWSTR pwszSourceFile)
{
    LONG lStatus;
    DWORD dwLastError;
 
    // Initialize the WINTRUST_FILE_INFO structure.
 
    WINTRUST_FILE_INFO FileData;
    memset(&FileData, 0, sizeof(FileData));
    FileData.cbStruct = sizeof(WINTRUST_FILE_INFO);
    FileData.pcwszFilePath = pwszSourceFile;
    FileData.hFile = NULL;
    FileData.pgKnownSubject = NULL;
 
    /*
    WVTPolicyGUID specifies the policy to apply on the file
    WINTRUST_ACTION_GENERIC_VERIFY_V2 policy checks:
    
    1) The certificate used to sign the file chains up to a root 
    certificate located in the trusted root certificate store. This 
    implies that the identity of the publisher has been verified by 
    a certification authority.
    
    2) In cases where user interface is displayed (which this example
    does not do), WinVerifyTrust will check for whether the  
    end entity certificate is stored in the trusted publisher store,  
    implying that the user trusts content from this publisher.
    
    3) The end entity certificate has sufficient permission to sign 
    code, as indicated by the presence of a code signing EKU or no 
    EKU.
    */
 
    GUID WVTPolicyGUID = WINTRUST_ACTION_GENERIC_VERIFY_V2;
    WINTRUST_DATA WinTrustData;
 
    // Initialize the WinVerifyTrust input data structure.
 
    // Default all fields to 0.
    memset(&WinTrustData, 0, sizeof(WinTrustData));
 
    WinTrustData.cbStruct = sizeof(WinTrustData);
    
    // Use default code signing EKU.
    WinTrustData.pPolicyCallbackData = NULL;
 
    // No data to pass to SIP.
    WinTrustData.pSIPClientData = NULL;
 
    // Disable WVT UI.
    WinTrustData.dwUIChoice = WTD_UI_NONE;
 
    // No revocation checking.
    WinTrustData.fdwRevocationChecks = WTD_REVOKE_NONE; 
 
    // Verify an embedded signature on a file.
    WinTrustData.dwUnionChoice = WTD_CHOICE_FILE;
 
    // Default verification.
    WinTrustData.dwStateAction = 0;
 
    // Not applicable for default verification of embedded signature.
    WinTrustData.hWVTStateData = NULL;
 
    // Not used.
    WinTrustData.pwszURLReference = NULL;
 
    // This is not applicable if there is no UI because it changes 
    // the UI to accommodate running applications instead of 
    // installing applications.
    WinTrustData.dwUIContext = 0;
 
    // Set pFile.
    WinTrustData.pFile = &FileData;
 
    // WinVerifyTrust verifies signatures as specified by the GUID 
    // and Wintrust_Data.
    lStatus = WinVerifyTrust(
        NULL,
        &WVTPolicyGUID,
        &WinTrustData);
 
    switch (lStatus) 
    {
        case ERROR_SUCCESS:
            /*
            Signed file:
                - Hash that represents the subject is trusted.
 
                - Trusted publisher without any verification errors.
 
                - UI was disabled in dwUIChoice. No publisher or 
                    time stamp chain errors.
 
                - UI was enabled in dwUIChoice and the user clicked 
                    "Yes" when asked to install and run the signed 
                    subject.
            */
            wprintf_s(L"The file \"%s\" is signed and the signature "
                L"was verified.\n",
                pwszSourceFile);
            break;
        
        case TRUST_E_NOSIGNATURE:
            // The file was not signed or had a signature 
            // that was not valid.
 
            // Get the reason for no signature.
            dwLastError = GetLastError();
            if (TRUST_E_NOSIGNATURE == dwLastError ||
                    TRUST_E_SUBJECT_FORM_UNKNOWN == dwLastError ||
                    TRUST_E_PROVIDER_UNKNOWN == dwLastError) 
            {
                // The file was not signed.
                wprintf_s(L"The file \"%s\" is not signed.\n",
                    pwszSourceFile);
            } 
            else 
            {
                // The signature was not valid or there was an error 
                // opening the file.
                wprintf_s(L"An unknown error occurred trying to "
                    L"verify the signature of the \"%s\" file.\n",
                    pwszSourceFile);
            }
 
            break;
 
        case TRUST_E_EXPLICIT_DISTRUST:
            // The hash that represents the subject or the publisher 
            // is not allowed by the admin or user.
            wprintf_s(L"The signature is present, but specifically "
                L"disallowed.\n");
            break;
 
        case TRUST_E_SUBJECT_NOT_TRUSTED:
            // The user clicked "No" when asked to install and run.
            wprintf_s(L"The signature is present, but not "
                L"trusted.\n");
            break;
 
        case CRYPT_E_SECURITY_SETTINGS:
            /*
            The hash that represents the subject or the publisher 
            was not explicitly trusted by the admin and the 
            admin policy has disabled user trust. No signature, 
            publisher or time stamp errors.
            */
            wprintf_s(L"CRYPT_E_SECURITY_SETTINGS - The hash "
                L"representing the subject or the publisher wasn't "
                L"explicitly trusted by the admin and admin policy "
                L"has disabled user trust. No signature, publisher "
                L"or timestamp errors.\n");
            break;
 
        default:
            // The UI was disabled in dwUIChoice or the admin policy 
            // has disabled user trust. lStatus contains the 
            // publisher or time stamp chain error.
            wprintf_s(L"Error is: 0x%x.\n",
                lStatus);
            break;
    }
 
    return true;
}
 
int _tmain(int argc, _TCHAR* argv[])
{
    if(argc > 1)
    {
        VerifyEmbeddedSignature(argv[1]);
    }
 
    return 0;
}
в Визуал студио.

Мне вышли такие ошибки
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"proba2.exe": Загружено: "C:\Users\MobilKom\Documents\Visual Studio 2010\Projects\proba2\Debug\proba2.exe", Символы загружены.
"proba2.exe": Загружено: "C:\Windows\SysWOW64\ntdll.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\kernel32.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\KernelBase.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\wintrust.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\msvcrt.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\crypt32.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\msasn1.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\rpcrt4.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\sspicli.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\cryptbase.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\sechost.dll", Невозможно найти или открыть файл PDB
"proba2.exe": Загружено: "C:\Windows\SysWOW64\msvcr100d.dll", Невозможно найти или открыть файл PDB
Программа "[5336] proba2.exe: Машинный код" завершилась с кодом 0 (0x0).
как это можно исправить.
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
02.05.2012, 19:41
Помогаю со студенческими работами здесь

Электронная цифровая подпись
Интересует любая прога с исходником, где реализован алгоритм получения и проверки электронной цифровой подписи.

Цифровая подпись Фиата-Шамира
Нужно реализовать цифровую подпись Фиата-Шамира. Помогите кто чем может. Может есть какая нибудь теория, алгоритм или даже реализация на...

Электронно цифровая подпись RSA
Добрый вечер, у меня вопрос, объясните алгоритм Электронно цифровая подпись RSA. Везде посморел так и не понял: Пример. Исходные...

Есть ли в Rad Studio 2010 цифровая подпись?
Всем добро! При запуске проекта Касперский предупреждает об отсутствие в программе цифровой подписи... Васиз дас цифровая подпись и как...

Как узнать, есть ли цифровая подпись майкрософт
Нужно узнать есть ли у приложения цифровая подпись майкрософт, подскажите как? в гугле есть инфа тоько о том как её поставить((


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
5
Ответ Создать тему
Новые блоги и статьи
Access
VikBal 11.12.2025
Помогите пожалуйста !! Как объединить 2 одинаковые БД Access с разными данными.
Новый ноутбук
volvo 07.12.2025
Всем привет. По скидке в "черную пятницу" взял себе новый ноутбук Lenovo ThinkBook 16 G7 на Амазоне: Ryzen 5 7533HS 64 Gb DDR5 1Tb NVMe 16" Full HD Display Win11 Pro
Музыка, написанная Искусственным Интеллектом
volvo 04.12.2025
Всем привет. Некоторое время назад меня заинтересовало, что уже умеет ИИ в плане написания музыки для песен, и, собственно, исполнения этих самых песен. Стихов у нас много, уже вышли 4 книги, еще 3. . .
От async/await к виртуальным потокам в Python
IndentationError 23.11.2025
Армин Ронахер поставил под сомнение async/ await. Создатель Flask заявляет: цветные функции - провал, виртуальные потоки - решение. Не threading-динозавры, а новое поколение лёгких потоков. Откат?. . .
Поиск "дружественных имён" СОМ портов
Argus19 22.11.2025
Поиск "дружественных имён" СОМ портов На странице: https:/ / norseev. ru/ 2018/ 01/ 04/ comportlist_windows/ нашёл схожую тему. Там приведён код на С++, который показывает только имена СОМ портов, типа,. . .
Сколько Государство потратило денег на меня, обеспечивая инсулином.
Programma_Boinc 20.11.2025
Сколько Государство потратило денег на меня, обеспечивая инсулином. Вот решила сделать интересный приблизительный подсчет, сколько государство потратило на меня денег на покупку инсулинов. . . .
Ломающие изменения в C#.NStar Alpha
Etyuhibosecyu 20.11.2025
Уже можно не только тестировать, но и пользоваться C#. NStar - писать оконные приложения, содержащие надписи, кнопки, текстовые поля и даже изображения, например, моя игра "Три в ряд" написана на этом. . .
Мысли в слух
kumehtar 18.11.2025
Кстати, совсем недавно имел разговор на тему медитаций с людьми. И обнаружил, что они вообще не понимают что такое медитация и зачем она нужна. Самые базовые вещи. Для них это - когда просто люди. . .
Создание Single Page Application на фреймах
krapotkin 16.11.2025
Статья исключительно для начинающих. Подходы оригинальностью не блещут. В век Веб все очень привыкли к дизайну Single-Page-Application . Быстренько разберем подход "на фреймах". Мы делаем одну. . .
Фото: Daniel Greenwood
kumehtar 13.11.2025
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2025, CyberForum.ru