Click here to Skip to main content
15,920,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: Wanting to invest in Code Generator. Which ones you feel are best? Pin
led mike1-Apr-08 8:17
led mike1-Apr-08 8:17 
GeneralRe: Wanting to invest in Code Generator. Which ones you feel are best? Pin
logikos1-Apr-08 9:33
logikos1-Apr-08 9:33 
GeneralDeclare a pointer array and assign it in a DLL Pin
baranils1-Apr-08 5:59
baranils1-Apr-08 5:59 
GeneralRe: Declare a pointer array and assign it in a DLL Pin
led mike1-Apr-08 7:31
led mike1-Apr-08 7:31 
GeneralRe: Declare a pointer array and assign it in a DLL Pin
baranils1-Apr-08 8:12
baranils1-Apr-08 8:12 
GeneralRe: Declare a pointer array and assign it in a DLL Pin
led mike1-Apr-08 8:18
led mike1-Apr-08 8:18 
GeneralRe: Declare a pointer array and assign it in a DLL Pin
baranils1-Apr-08 10:04
baranils1-Apr-08 10:04 
GeneralRe: Declare a pointer array and assign it in a DLL Pin
baranils1-Apr-08 12:31
baranils1-Apr-08 12:31 
I got it !!

Using pointer and unsafe !

static public unsafe extern int bctaGetName(IntPtr hBcta, UInt32 nAttID, out IntPtr** StrPtr);


unsafe static public int TestName()
{
char ch = (char)1;
IntPtr hBcta = (IntPtr)0;
UInt32 attrId = 1039;
int status;

IntPtr** StrPtr;
Routing.bctaOpen(ref hBcta, Environ.RoutingDataPath, ch);
attrId = 8967209;
status = bctaGetName(hBcta, attrId,out StrPtr);
string aa = Marshal.PtrToStringAnsi((IntPtr)StrPtr[0]);

Routing.bctaClose(hBcta);
return 0;
}
QuestionThree Address Code Implementation Pin
Ayo Awe1-Apr-08 5:49
Ayo Awe1-Apr-08 5:49 
GeneralRe: Three Address Code Implementation Pin
led mike1-Apr-08 6:15
led mike1-Apr-08 6:15 
GeneralRe: Three Address Code Implementation Pin
User 66581-Apr-08 6:57
User 66581-Apr-08 6:57 
GeneralRe: Three Address Code Implementation Pin
Roger Alsing1-Apr-08 7:40
Roger Alsing1-Apr-08 7:40 
GeneralRe: Three Address Code Implementation Pin
Guffa1-Apr-08 9:32
Guffa1-Apr-08 9:32 
Questionwtf? Pin
damianrda1-Apr-08 4:51
damianrda1-Apr-08 4:51 
AnswerRe: wtf? Pin
Not Active1-Apr-08 5:28
mentorNot Active1-Apr-08 5:28 
AnswerRe: wtf? Pin
Stu Richardson1-Apr-08 5:33
Stu Richardson1-Apr-08 5:33 
GeneralRe: wtf? Pin
Andrew Rissing1-Apr-08 5:36
Andrew Rissing1-Apr-08 5:36 
AnswerRe: wtf? Pin
Andrew Rissing1-Apr-08 5:33
Andrew Rissing1-Apr-08 5:33 
AnswerRe: wtf? Pin
led mike1-Apr-08 6:04
led mike1-Apr-08 6:04 
GeneralRe: wtf? Pin
Gareth H1-Apr-08 10:32
Gareth H1-Apr-08 10:32 
GeneralCast an object into a specific type without knowing what type the object is Pin
arnold_w1-Apr-08 3:38
arnold_w1-Apr-08 3:38 
GeneralRe: Cast an object into a specific type without knowing what type the object is Pin
Simon P Stevens1-Apr-08 4:03
Simon P Stevens1-Apr-08 4:03 
GeneralRe: Cast an object into a specific type without knowing what type the object is Pin
laserbaronen1-Apr-08 4:22
laserbaronen1-Apr-08 4:22 
GeneralRe: Cast an object into a specific type without knowing what type the object is Pin
led mike1-Apr-08 4:40
led mike1-Apr-08 4:40 
GeneralRe: Cast an object into a specific type without knowing what type the object is [modified] Pin
arnold_w1-Apr-08 22:57
arnold_w1-Apr-08 22:57 

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.