Click here to Skip to main content
15,905,867 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionhooking winsock send function Pin
vkgktm24-Aug-11 1:31
vkgktm24-Aug-11 1:31 
QuestionWeird problem using C++ dll from vb6 Pin
lenourien22-Aug-11 15:57
lenourien22-Aug-11 15:57 
AnswerRe: Weird problem using C++ dll from vb6 Pin
Richard Andrew x6422-Aug-11 16:22
professionalRichard Andrew x6422-Aug-11 16:22 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien22-Aug-11 17:35
lenourien22-Aug-11 17:35 
GeneralRe: Weird problem using C++ dll from vb6 Pin
Richard MacCutchan22-Aug-11 23:06
mveRichard MacCutchan22-Aug-11 23:06 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien22-Aug-11 23:23
lenourien22-Aug-11 23:23 
GeneralRe: Weird problem using C++ dll from vb6 Pin
Richard MacCutchan23-Aug-11 0:05
mveRichard MacCutchan23-Aug-11 0:05 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien23-Aug-11 0:10
lenourien23-Aug-11 0:10 
GeneralRe: Weird problem using C++ dll from vb6 Pin
Richard MacCutchan23-Aug-11 0:12
mveRichard MacCutchan23-Aug-11 0:12 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien23-Aug-11 2:55
lenourien23-Aug-11 2:55 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien23-Aug-11 5:05
lenourien23-Aug-11 5:05 
AnswerRe: Weird problem using C++ dll from vb6 Pin
MicroVirus23-Aug-11 5:24
MicroVirus23-Aug-11 5:24 
GeneralRe: Weird problem using C++ dll from vb6 Pin
Richard MacCutchan23-Aug-11 5:51
mveRichard MacCutchan23-Aug-11 5:51 
AnswerRe: Weird problem using C++ dll from vb6 Pin
MicroVirus23-Aug-11 5:18
MicroVirus23-Aug-11 5:18 
I'm not sure I understand your cleanup code.
For one thing, how/when is pSA initialised/destroyed? For another, you are passing pVal as an Array of pointers to strings. The reference is stored in pparray. Why are you then using pVal.pbstrVal? This can't be correct, unless you've changed the variant type somewhere.
The only explicit clean-up you need to do is with pSA, but since you haven't shared that part of the code we can't say much about it.

So, remove the entire pVal.vt & VT_BYREF part and verify that you are handling the allocation and cleaning of pSA correctly and at the correct time.
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien23-Aug-11 13:33
lenourien23-Aug-11 13:33 
QuestionRe: Weird problem using C++ dll from vb6 Pin
MicroVirus23-Aug-11 15:22
MicroVirus23-Aug-11 15:22 
AnswerRe: Weird problem using C++ dll from vb6 Pin
lenourien24-Aug-11 4:17
lenourien24-Aug-11 4:17 
AnswerRe: Weird problem using C++ dll from vb6 Pin
MicroVirus24-Aug-11 17:41
MicroVirus24-Aug-11 17:41 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien25-Aug-11 1:31
lenourien25-Aug-11 1:31 
GeneralRe: Weird problem using C++ dll from vb6 Pin
MicroVirus25-Aug-11 3:25
MicroVirus25-Aug-11 3:25 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien25-Aug-11 12:39
lenourien25-Aug-11 12:39 
QuestionWTSSendMessage fails as RPC Server is unavailable Pin
Arun Parthasarathy22-Aug-11 1:24
Arun Parthasarathy22-Aug-11 1:24 
AnswerRe: WTSSendMessage fails as RPC Server is unavailable Pin
Tony Richards25-Aug-11 13:05
Tony Richards25-Aug-11 13:05 
QuestionConverting ADO data types into C++ data types Pin
Bahram198420-Aug-11 0:47
Bahram198420-Aug-11 0:47 
AnswerRe: Converting ADO data types into C++ data types Pin
John Schroedl22-Aug-11 3:28
professionalJohn Schroedl22-Aug-11 3:28 

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.