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

.NET (Core and Framework)

 
GeneralRe: Setting background issue for drawing application in .NETCF Pin
Sevu8-Oct-05 3:32
Sevu8-Oct-05 3:32 
GeneralRe: Setting background issue for drawing application in .NETCF Pin
S. Senthil Kumar8-Oct-05 19:46
S. Senthil Kumar8-Oct-05 19:46 
QuestionMFC v VC++.Net Pin
Klempie7-Oct-05 9:46
Klempie7-Oct-05 9:46 
AnswerRe: MFC v VC++.Net Pin
Kevin McFarlane8-Oct-05 9:01
Kevin McFarlane8-Oct-05 9:01 
QuestionMdi Child Icons Pin
izulfiqar6-Oct-05 21:30
izulfiqar6-Oct-05 21:30 
QuestionList<Extentsion> search Pin
Lilli Alexis6-Oct-05 6:10
Lilli Alexis6-Oct-05 6:10 
AnswerRe: List<Extentsion> search Pin
Robert Rohde6-Oct-05 10:52
Robert Rohde6-Oct-05 10:52 
QuestionTransfer array of structures within a structure by COM Pin
jsmdev5-Oct-05 21:50
jsmdev5-Oct-05 21:50 
Hello,

I have a COM Type Library which contains two structures. One of the structure (STRUCTURE2) contains an fixed array of another structure (STRUCTURE1).

<br />
typedef struct STRUCTURE1<br />
{<br />
float x;<br />
float values[3];<br />
}<br />
RS_STRUCTURE1;<br />
<br />
typedef struct STRUCTURE2<br />
{<br />
STRUCTURE1 items[6];<br />
}<br />
STRUCTURE2;<br />
<br />
interface IrsLoadResults : IUnknown<br />
{<br />
HRESULT GetStructure2([out,retval]STRUCTURE2* pStructure);<br />
}<br />


In my VS.NET project I added reference to this type library and VS.NET generated an interop file. When I call interface method GetStructure2 I get OutOfMemoryException. In VB6 this work correct. I think this is caused by .NET COM marshaling but I don't know how to solve this problem. Does anybody have an idea?

Jirka
Questionembedding text files into an exe at runtime Pin
laurac15-Oct-05 16:04
laurac15-Oct-05 16:04 
QuestionSetup starts after installation again Pin
Ariadne5-Oct-05 6:05
Ariadne5-Oct-05 6:05 
AnswerRe: Setup starts after installation again (minor bug) Pin
Ariadne6-Oct-05 20:17
Ariadne6-Oct-05 20:17 
Question[DllImport(&quot;...&quot;)] declarations Pin
T1TAN5-Oct-05 0:17
T1TAN5-Oct-05 0:17 
AnswerRe: [DllImport(&quot;...&quot;)] declarations Pin
Daniel Grunwald7-Oct-05 8:10
Daniel Grunwald7-Oct-05 8:10 
GeneralRe: [DllImport(&quot;...&quot;)] declarations Pin
T1TAN7-Oct-05 11:21
T1TAN7-Oct-05 11:21 
General.NET Tool Pin
Andrey Butov4-Oct-05 8:29
Andrey Butov4-Oct-05 8:29 
QuestionCompact Framework Email Sending Pin
Ryzhiy4-Oct-05 6:13
Ryzhiy4-Oct-05 6:13 
AnswerRe: Compact Framework Email Sending Pin
Ariadne6-Oct-05 20:28
Ariadne6-Oct-05 20:28 
AnswerRe: Compact Framework Email Sending Pin
ESCOBAR@@@6-Oct-05 20:49
ESCOBAR@@@6-Oct-05 20:49 
QuestionDisabling Visual Styles Pin
Drew McGhie4-Oct-05 5:32
Drew McGhie4-Oct-05 5:32 
QuestionCompact Framework Bitmaps Pin
status()4-Oct-05 1:50
status()4-Oct-05 1:50 
QuestionApplicationName must be set before the DynamicBase can be set Pin
Rein_Petersen3-Oct-05 13:51
Rein_Petersen3-Oct-05 13:51 
Questionhelp required reg interoperatibility Pin
arusmemon3-Oct-05 4:44
arusmemon3-Oct-05 4:44 
QuestionConfiguration Block not Serializing properly. Pin
ProffK2-Oct-05 23:49
ProffK2-Oct-05 23:49 
QuestionCOM+ Transaction Timeout Pin
ProffK2-Oct-05 22:46
ProffK2-Oct-05 22:46 
QuestionHeap Problem? Pin
fm6400022-Oct-05 17:43
fm6400022-Oct-05 17:43 

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.