Click here to Skip to main content
14,177,003 members

Managed C++/CLI

 
GeneralRe: printing the customized data through printer in vc++ 6.0 dialog based. Pin
Richard MacCutchan18-Jun-17 22:44
protectorRichard MacCutchan18-Jun-17 22:44 
GeneralRe: printing the customized data through printer in vc++ 6.0 dialog based. Pin
rahul199515-Jun-17 20:16
memberrahul199515-Jun-17 20:16 
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 
Sample code can be found in the web.

We are going to help if you have already tried something and got stuck. But we will not write the code for you.

But there is a simple approach:
Write a function that calculates the max. for a passed range (start pointer and number of items) and stores the maximum value in another array. Create a number of threads that calls that function passing sub ranges of your array. When all threads has finished call the function again passing the array containing the results.

An alternative solution would not use an additional array but a shared variable to hold the maxmimum value found so far. But then the threads must use locking which is probably not very efficient.

modified 30-Mar-17 6:01am.

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 
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 

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.


Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190526.1 | Last Updated 2 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid