Click here to Skip to main content
15,885,782 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: printing the customized data through printer in vc++ 6.0 dialog based. Pin
Richard MacCutchan18-Jun-17 22:44
mveRichard MacCutchan18-Jun-17 22:44 
GeneralRe: printing the customized data through printer in vc++ 6.0 dialog based. Pin
rahul199515-Jun-17 20:16
rahul199515-Jun-17 20:16 
Questioncreate c++ dll gui and call it on c# Pin
Member 1313968619-Apr-17 21:15
Member 1313968619-Apr-17 21:15 
AnswerRe: create c++ dll gui and call it on c# Pin
Richard MacCutchan19-Apr-17 23:16
mveRichard MacCutchan19-Apr-17 23:16 
GeneralRe: create c++ dll gui and call it on c# Pin
logicalz14-May-17 7:47
logicalz14-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
Member 1306030229-Mar-17 22:42 
AnswerRe: multithread Pin
Jochen Arndt29-Mar-17 23:55
professionalJochen 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
Member 1306030229-Mar-17 23:57 
AnswerRe: multithread Pin
Munchies_Matt2-Apr-17 23:34
Munchies_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
Member 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
girl74326-Feb-17 19:02 
AnswerRe: how do I fix this Pin
Jochen Arndt6-Feb-17 21:18
professionalJochen Arndt6-Feb-17 21:18 
AnswerRe: how do I fix this Pin
Richard MacCutchan6-Feb-17 21:35
mveRichard 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
Member 131123846-Apr-17 22:15 
QuestionVC++ solution Klocwork code analysis is getting stuck Pin
Amrit Agr25-Jan-17 0:55
Amrit Agr25-Jan-17 0:55 
AnswerRe: VC++ solution Klocwork code analysis is getting stuck Pin
Jochen Arndt25-Jan-17 1:37
professionalJochen Arndt25-Jan-17 1:37 
QuestionChannelFactory create exception Pin
Moby20-Jan-17 22:16
Moby20-Jan-17 22:16 
AnswerRe: ChannelFactory create exception Pin
Richard MacCutchan20-Jan-17 22:32
mveRichard MacCutchan20-Jan-17 22:32 
GeneralRe: ChannelFactory create exception Pin
Moby26-Jan-17 6:27
Moby26-Jan-17 6:27 
GeneralRe: ChannelFactory create exception Pin
Richard MacCutchan26-Jan-17 6:55
mveRichard MacCutchan26-Jan-17 6:55 
Questionc++ toolTip windowsforms graphics Pin
SuchitraAB17-Jan-17 19:53
SuchitraAB17-Jan-17 19:53 
AnswerRe: c++ toolTip windowsforms graphics Pin
Richard MacCutchan17-Jan-17 22:21
mveRichard 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.