|
sometimes.! it show you that you have done some mistake!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
|
Sorry for my above comment, i confused stringstream with stringbuilder class of managed Vc++.
CodingLover wrote: char* new_buff = new char[str.str().length()];
::memcpy(new_buff, str, str.str().length());
char* new_buff = new char[str.str().length()+1];
_tcscpy(new_buff,str.str().c_str());
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Thanks lol, I've mismatch with the text in string buffer. I've solve the problem.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
i need to draw lines for example like grid lines between images .i have used LVS_EX_GRIDLINES but its only working in report view .i need it in thumbnail view
|
|
|
|
|
Did you customize Clistctrl?
|
|
|
|
|
no i didnt customize clistctrl. i loaded object of cimagelist to clistctrl
|
|
|
|
|
Hi everybody!
I'm currently doing a project, my project to get my degree. I'm continuing a project that was done on C++, however, according to the new project I'm supposed to do it using C#.
I have finished my part on C#, however, there are some operations that need to be done. I have created the DLL and I call it from my C# program and it works perfectly. I need some images and 3 matrices. The images are saved on a folder, but the matrices are saved as objects each one, each matrix is a different one.
Despite the fact that it is working, I don't know how to get the matrices. The matrices were done already, but I don't even know how to export those matrices from my C++ dll. On the other hand I don't know how to call them in C#.
I'm really desperated because I have to finish it for Nov 18th. If you need something else to help me more, just tell me and I post it. I really need some help in this.
Thanks a lot for your attention!
|
|
|
|
|
how you export same in vc++??
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
what do you mean?
If you are telling me that it would be like in the same way I call the DLL, I have tried to export it and it seems to be working but I don't know how to get it on the part that is done with VC#. So, maybe I was doing that in the wrong way, it is the reason why I asked how to make the process completely at all.
Thanks for your attention, I really appreciate it!!
Remember if you need more info from me I will be here checking all the time!
|
|
|
|
|
farid_colombia wrote: what do you mean?
It's mean you have to post your problem in Visual C# forum here :- Visual C#[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
well, but is there a forum of CLR or something like that? I haven't seen one.
|
|
|
|
|
I desist from that idea, what I decided to do was to write those matrices on *.txt files from the c++ dll, and then to read them from the C# program.
Thanks a lot for our help, I did read the information you suggested me to read. However, I'm not the only one who doing this project, I have a workmate. we decided together to do this. it was for us the best idea.
anyway, thanks a lot for your help. we really appreciate it!
|
|
|
|
|
|
I desist from that idea, what I decided to do was to write those matrices on *.txt files from the c++ dll, and then to read them from the C# program.
Thanks a lot for our help, I did read the information you suggested me to read. However, I'm not the only one who doing this project, I have a workmate. we decided together to do this. it was for us the best idea.
anyway, thanks a lot for your help. we really appreciate it!
|
|
|
|
|
I am currently runnung Visual Studio 6.0 with C++. I see that Visual Studio 2008 is available. My questions are: 1.) will it have a C++ compiler in it that I can continue programming in C++ 6.0? 2.) I am using SilverFrost Fortran that supposedly will interface in the .net invironment. Wiil this also work with Visul Studio 2008? Please let me know. Thanks, Sid Kraft
Sid
|
|
|
|
|
The Visual Studio 2008 C++ compiler is more strict than the VS 6.0 compiler. The projects aren't compatible, but the new project will use a different extension. The IDE is different and takes some getting used to; all the extras make it worthwhile in my opinion (though I still do the bulk of my work in VC++ 6.0 for logistical/deployment reasons.) A few things to be aware of: The executable size in VS 2008 is slightly bigger than in 6.0, the execution time is very slightly slower and the build times are slower. VS 2008 sometimes makes errors with optimization settings when importing older projects, so be sure to go through and check them (look at the command line to verify they are really set.)
Finally, VS 2008 will emit warnings by default for using the non-"safe" versions of string and memory CRT functions. You can turn these warnings off, use the new versions or, if you need to still compile the code under 6.0, use #ifdefs (I've done all three.) VS 2008 enforces the scope of the operator(s) in a for(;;) construct. VS 2008 emits several more warnings which are very helpful.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
You can use of Visual studio 2008 but you need to change some your codes.
|
|
|
|
|
Dear developers,
I have some C-code which I want to instrument automatically for codecoverage.
I searched the i-net now for a long time, but I did not find any hint.
Are there any ways by instrumenting via bison or the like? or any other ways?
thanks in advance
PS: the code is downloaded on an embedded system
|
|
|
|
|
|
how to change the size of text, please
|
|
|
|
|
simon alec smith wrote: how to change the size of text, please
this way
this way
this way
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
why you apparented this secret?
|
|
|
|
|
Because I'm a generous man.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|