Click here to Skip to main content
15,913,487 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Interview questions for web developer Pin
Not Active4-Feb-10 11:26
mentorNot Active4-Feb-10 11:26 
GeneralRe: Interview questions for web developer Pin
Pete O'Hanlon5-Feb-10 4:51
mvePete O'Hanlon5-Feb-10 4:51 
AnswerRe: Interview questions for web developer Pin
Dave Kreskowiak4-Feb-10 12:51
mveDave Kreskowiak4-Feb-10 12:51 
AnswerRe: Interview questions for web developer Pin
Rozis4-Feb-10 13:29
Rozis4-Feb-10 13:29 
QuestionFile associations in .Net framework library Pin
Edward Diener4-Feb-10 7:39
Edward Diener4-Feb-10 7:39 
AnswerRe: File associations in .Net framework library Pin
Dave Kreskowiak4-Feb-10 7:47
mveDave Kreskowiak4-Feb-10 7:47 
QuestionAccessing DLL C++ with string pointer using VB.NET Pin
TremaHD4-Feb-10 7:00
TremaHD4-Feb-10 7:00 
AnswerRe: Accessing DLL C++ with string pointer using VB.NET Pin
Luc Pattyn4-Feb-10 7:30
sitebuilderLuc Pattyn4-Feb-10 7:30 
Hi,

I don't have the full answer, however here are some pointers:

1.
IMO for writable strings you must use a StringBuilder, give it sufficient capacity, pass it on, then convert it to a string using ToString()

2.
your entypoint seems very bizarre, and way too long. I suggest you check it, perhaps using DUMPBIN/EXPORT

3.
I have an unfinished article[^]dealing with P/Invoke, maybe that can help you.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
[The QA section does it automatically now, I hope we soon get it on regular forums as well]


GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
TremaHD4-Feb-10 12:38
TremaHD4-Feb-10 12:38 
AnswerRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan4-Feb-10 8:42
mveRichard MacCutchan4-Feb-10 8:42 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
TremaHD4-Feb-10 12:36
TremaHD4-Feb-10 12:36 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan4-Feb-10 12:50
mveRichard MacCutchan4-Feb-10 12:50 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
TremaHD4-Feb-10 13:06
TremaHD4-Feb-10 13:06 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan4-Feb-10 21:53
mveRichard MacCutchan4-Feb-10 21:53 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
MicroVirus5-Feb-10 11:09
MicroVirus5-Feb-10 11:09 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
TremaHD5-Feb-10 14:27
TremaHD5-Feb-10 14:27 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan5-Feb-10 22:40
mveRichard MacCutchan5-Feb-10 22:40 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
MicroVirus8-Feb-10 0:31
MicroVirus8-Feb-10 0:31 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan8-Feb-10 1:55
mveRichard MacCutchan8-Feb-10 1:55 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Luc Pattyn4-Feb-10 12:56
sitebuilderLuc Pattyn4-Feb-10 12:56 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan4-Feb-10 21:54
mveRichard MacCutchan4-Feb-10 21:54 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Luc Pattyn4-Feb-10 23:32
sitebuilderLuc Pattyn4-Feb-10 23:32 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
Richard MacCutchan5-Feb-10 0:42
mveRichard MacCutchan5-Feb-10 0:42 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET Pin
TremaHD5-Feb-10 2:26
TremaHD5-Feb-10 2:26 
GeneralRe: Accessing DLL C++ with string pointer using VB.NET [modified] Pin
Luc Pattyn5-Feb-10 2:59
sitebuilderLuc Pattyn5-Feb-10 2:59 

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.