Click here to Skip to main content
15,899,026 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: SendMessage string problem... Pin
Dave Kreskowiak26-Feb-10 17:57
mveDave Kreskowiak26-Feb-10 17:57 
Questiondtpicker and 64 bits Pin
daniel houle26-Feb-10 7:01
daniel houle26-Feb-10 7:01 
AnswerRe: dtpicker and 64 bits Pin
nlarson1126-Feb-10 8:29
nlarson1126-Feb-10 8:29 
GeneralRe: dtpicker and 64 bits Pin
daniel houle26-Feb-10 12:53
daniel houle26-Feb-10 12:53 
GeneralRe: dtpicker and 64 bits Pin
Dave Kreskowiak26-Feb-10 17:45
mveDave Kreskowiak26-Feb-10 17:45 
GeneralRe: dtpicker and 64 bits Pin
daniel houle26-Feb-10 19:27
daniel houle26-Feb-10 19:27 
GeneralRe: dtpicker and 64 bits Pin
Dave Kreskowiak27-Feb-10 2:51
mveDave Kreskowiak27-Feb-10 2:51 
QuestionWindows Crypto API is not working on 64 bit Pin
sri_009925-Feb-10 22:20
sri_009925-Feb-10 22:20 
Hello All,

My application is using CryptGenRandom() API to get random numbers. This API is working in all 32-bit computers.

I recently installed my application in windows-7 64-bit computer. On this machine CryptGenRandom() API is throwing below error.

Problem Event Name: APPCRASH
Application Timestamp: 4b84b933
Fault Module Name: StackHash_6299
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 000007ff005880cb
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 6299
Additional Information 2: 6299b6a70d20c6215a02ce0a4291f9cc
Additional Information 3: 7130
Additional Information 4: 71302fa4a91436747a963f67bb2f095e

Sample Code:

ReDim bChallengeArray(127)
lres = CryptGenRandom(lhcsp, 128, bChallengeArray(0))
lres = CryptEncrypt(lhkey, 0, 1, 0, bCryptBufferArray(0), ldatalength, lBufferLength)

Please don't ask me to use managed code, because this is maintanance project client will not agree to change the code.

If anybody have any idea, please let me know the solution.

Thnaks in advance.

Sri
modified on Friday, February 26, 2010 5:16 AM

AnswerRe: Windows Crypto API is not working on 64 bit Pin
Dave Kreskowiak26-Feb-10 1:46
mveDave Kreskowiak26-Feb-10 1:46 
AnswerRe: Windows Crypto API is not working on 64 bit Pin
TheComputerMan28-Feb-10 3:36
TheComputerMan28-Feb-10 3:36 
GeneralRe: Windows Crypto API is not working on 64 bit Pin
sri_00991-Mar-10 19:11
sri_00991-Mar-10 19:11 
QuestionCreate object of .dll in vb6 and Use the public functions of .dll [modified] Pin
karthickmani6325-Feb-10 18:57
karthickmani6325-Feb-10 18:57 
AnswerRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Richard MacCutchan25-Feb-10 22:18
mveRichard MacCutchan25-Feb-10 22:18 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Steven J Jowett25-Feb-10 22:56
Steven J Jowett25-Feb-10 22:56 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Richard MacCutchan25-Feb-10 23:06
mveRichard MacCutchan25-Feb-10 23:06 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
karthickmani6325-Feb-10 23:28
karthickmani6325-Feb-10 23:28 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Richard MacCutchan26-Feb-10 0:05
mveRichard MacCutchan26-Feb-10 0:05 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
karthickmani6326-Feb-10 0:30
karthickmani6326-Feb-10 0:30 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Dave Kreskowiak26-Feb-10 1:40
mveDave Kreskowiak26-Feb-10 1:40 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll [modified] Pin
karthickmani6328-Feb-10 22:06
karthickmani6328-Feb-10 22:06 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Dave Kreskowiak1-Mar-10 1:49
mveDave Kreskowiak1-Mar-10 1:49 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll [modified] Pin
karthickmani631-Mar-10 17:31
karthickmani631-Mar-10 17:31 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Dave Kreskowiak2-Mar-10 1:41
mveDave Kreskowiak2-Mar-10 1:41 
QuestionVisual Studio 2010 Pin
programmervb.netc++25-Feb-10 10:21
programmervb.netc++25-Feb-10 10:21 
AnswerRe: Visual Studio 2010 Pin
The Man from U.N.C.L.E.25-Feb-10 22:39
The Man from U.N.C.L.E.25-Feb-10 22:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.