Click here to Skip to main content
14,218,620 members

Managed C++/CLI

 
Questioncreate c++ dll gui and call it on c# Pin
Member 1313968619-Apr-17 21:15
memberMember 1313968619-Apr-17 21:15 
AnswerRe: create c++ dll gui and call it on c# Pin
Richard MacCutchan19-Apr-17 23:16
protectorRichard MacCutchan19-Apr-17 23:16 
GeneralRe: create c++ dll gui and call it on c# Pin
logicalz14-May-17 7:47
memberlogicalz14-May-17 7:47 
QuestionRe: create c++ dll gui and call it on c# Pin
Gerry Schmitz12-May-17 8:51
mveGerry Schmitz12-May-17 8:51 
Questionmultithread Pin
Member 1306030229-Mar-17 22:42
memberMember 1306030229-Mar-17 22:42 
AnswerRe: multithread Pin
Jochen Arndt29-Mar-17 23:55
mveJochen Arndt29-Mar-17 23:55 
GeneralRe: multithread Pin
Member 1306030229-Mar-17 23:57
memberMember 1306030229-Mar-17 23:57 
AnswerRe: multithread Pin
Munchies_Matt2-Apr-17 23:34
memberMunchies_Matt2-Apr-17 23:34 
#define D define
#D Y return
#D R for
#D e while
#D I printf
#D l int
#D W if
#D C y=v+111;H(x,v)*y++= *x
#D H(a,b)R(a=b+11;a<b+89;a++)
#D s(a)t=scanf("%d",&a)
#D U Z I
#D Z I("123\
45678\n");H(x,V){putchar(".XO"[*x]);W((x-V)%10==8){x+=2;I("%d\n",(x-V)/10-1);}}
l V[1600],u,r[]={-1,-11,-10,-9,1,11,10,9},h[]={11,18,81,88},ih[]={22,27,72,77},
bz,lv=60,*x,*y,m,t;S(d,v,f,_,a,b)l*v;{l c=0,*n=v+100,j=d<u-1?a:-9000,w,z,i,g,q=
3-f;W(d>u){R(w=i=0;i<4;i++)w+=(m=v[h[i]])==f?300:m==q?-300:(t=v[ih[i]])==f?-50:
t==q?50:0;Y w;}H(z,0){W(E(v,z,f,100)){c++;w= -S(d+1,n,q,0,-b,-j);W(w>j){g=bz=z;
j=w;W(w>=b||w>=8003)Y w;}}}W(!c){g=0;W(_){H(x,v)c+= *x==f?1:*x==3-f?-1:0;Y c>0?
8000+c:c-8000;}C;j= -S(d+1,n,q,1,-b,-j);}bz=g;Y d>=u-1?j+(c<<3):j;}main(){R(;t<
1600;t+=100)R(m=0;m<100;m++)V[t+m]=m<11||m>88||(m+1)%10<2?3:0;I("Level:");V[44]
=V[55]=1;V[45]=V[54]=2;s(u);e(lv>0){Z do{I("You:");s(m);}e(!E(V,m,2,0)&&m!=99);
W(m!=99)lv--;W(lv<15&&u<10)u+=2;U("Wait\n");I("Value:%d\n",S(0,V,1,0,-9000,9000
));I("move: %d\n",(lv-=E(V,bz,1,0),bz));}}E(v,z,f,o)l*v;{l*j,q=3-f,g=0,i,w,*k=v
+z;W(*k==0)R(i=7;i>=0;i--){j=k+(w=r[i]);e(*j==q)j+=w;W(*j==f&&j-w!=k){W(!g){g=1
;C;}e(j!=k)*((j-=w)+o)=f;}}Y g;}

QuestionI have OCX created in VC++ that has many functions. OCX has got some GUI. I want to use those functions in C# web application without loading OCX. i.e. I want to extract only functions from OCX. Can anyone please suggest how this can be done? Pin
Member 109266063-Mar-17 1:10
memberMember 109266063-Mar-17 1:10 
AnswerRe: I have OCX created in VC++ that has many functions. OCX has got some GUI. I want to use those functions in C# web application without loading OCX. i.e. I want to extract only functions from OCX. Can anyone please suggest how this can be done? Pin
Richard Andrew x645-Mar-17 6:06
professionalRichard Andrew x645-Mar-17 6:06 
Questionhow do I fix this Pin
girl74326-Feb-17 19:02
membergirl74326-Feb-17 19:02 
AnswerRe: how do I fix this Pin
Jochen Arndt6-Feb-17 21:18
mveJochen Arndt6-Feb-17 21:18 
AnswerRe: how do I fix this Pin
Richard MacCutchan6-Feb-17 21:35
protectorRichard MacCutchan6-Feb-17 21:35 
AnswerRe: how do I fix this Pin
Patrice T18-Feb-17 15:26
mvePatrice T18-Feb-17 15:26 
AnswerRe: how do I fix this Pin
Member 131123846-Apr-17 22:15
memberMember 131123846-Apr-17 22:15 
QuestionVC++ solution Klocwork code analysis is getting stuck Pin
Amrit Agr25-Jan-17 0:55
memberAmrit Agr25-Jan-17 0:55 
AnswerRe: VC++ solution Klocwork code analysis is getting stuck Pin
Jochen Arndt25-Jan-17 1:37
mveJochen Arndt25-Jan-17 1:37 
QuestionChannelFactory create exception Pin
Moby20-Jan-17 22:16
memberMoby20-Jan-17 22:16 
AnswerRe: ChannelFactory create exception Pin
Richard MacCutchan20-Jan-17 22:32
protectorRichard MacCutchan20-Jan-17 22:32 
GeneralRe: ChannelFactory create exception Pin
Moby26-Jan-17 6:27
memberMoby26-Jan-17 6:27 
GeneralRe: ChannelFactory create exception Pin
Richard MacCutchan26-Jan-17 6:55
protectorRichard MacCutchan26-Jan-17 6:55 
Questionc++ toolTip windowsforms graphics Pin
SuchitraAB17-Jan-17 19:53
memberSuchitraAB17-Jan-17 19:53 
AnswerRe: c++ toolTip windowsforms graphics Pin
Richard MacCutchan17-Jan-17 22:21
protectorRichard MacCutchan17-Jan-17 22:21 
GeneralRe: c++ toolTip windowsforms graphics Pin
SuchitraAB20-Jan-17 19:23
memberSuchitraAB20-Jan-17 19:23 
GeneralRe: c++ toolTip windowsforms graphics Pin
Richard MacCutchan20-Jan-17 22:20
protectorRichard MacCutchan20-Jan-17 22:20 

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.