|
I presume you are using VC++ 2005, which is pretty strict as a compiler. My guess is that your STLport library is not compatible with the new compiler. To test that out, create a regular C++ project (unmanaged native) and try and see if you can compile STLport. Chances are good that it will fail.
Regards,
Nish
|
|
|
|
|
Nishant Sivakumar wrote: I presume you are using VC++ 2005
wrong
his first post says :
" Here is my environment:
" Visual Studio .NET 2003 Fr
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
toxcct wrote: wrong
his first post says :
" Here is my environment:
" Visual Studio .NET 2003 Fr
Oops
In any case, he still needs to try STLPort with a native project before he tries it with a /clr project.
Regards,
Nish
|
|
|
|
|
Yes, it fails with the same error.
So, no matter, I found another way to reach my goal.
I'm writing a vc6 DLL which uses the classes of my native DLL. This new DLL exports only methods.
And after, I will create a static class in my C# project and use [DllImport(...)] for each method. I think it's the better way, if we consider that it will take too much time to rewrite the whole native DLL in C++.Net.
Thanks for your help,
ChocoS.
|
|
|
|
|
Yep, your solution sounds good to me.
Regards,
Nish
|
|
|
|
|
Hi-
||I use Dev-C++||
Im still a beginner in C++, and I need to integrate text file database into my program. How do I create that database (I would prefer to use notepad), and what is the syntax of the C++ code to do this? Make this as simple as possible because I am a beginner. Thankyou for your help!
|
|
|
|
|
2 things :
1. read this note[^].
2. see Carlos antolini's ADO set of classes[^].
[edit]
i came back to you post and saw that you you're talking about notepad as a database... notepad is a text editor !!! a database such as SQL server or Oracle is far from being an easy thing to implement, but can be used quite easily.
if you know SQL, consider using such a DB. otherwise, using simple files to store your datas will need you to make a little reflection time about the files formatting, etc...
[/edit]
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
-- modified at 5:09 Tuesday 10th January, 2006
|
|
|
|
|
toxcct wrote: [edit]
i came back to you post and saw that you you're talking about notepad as a database... notepad is a text editor !!!
I think he wants to use notepad to create his text-based database (such as an XML file).
Regards,
Nish
|
|
|
|
|
You should look at the XML classes available in the .NET f/w.
Regards,
Nish
|
|
|
|
|
I think that you should read Chapter 5: Data File Metaformats[^] of The Art of Unix Programming[^]. Trust me, it applies to Windows, too. It won't give you the code; however, if you know how to open a file and read its contents, a standard format will help and this can help you choose a format.
I, too, use Dev-C++. I just wish it had support for Objective C.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Hello!
I have made a tiny change to a console-application I've been using for years. I changed some variables of type 'unsigned long' into '_int64' to be able to represent larger numbers. As a result the application now halts before execution even enters the main() function. Only after I give a character input and then hits return does the program start its normal execution. This is inconvienient since the program is normally run as a child of another application.
Any ideas about how to fix this?
Thanks in advance!!!
maladuk
|
|
|
|
|
Do you have any global objects?
Regards,
Nish
|
|
|
|
|
Yes, a few variables and classes.
maladuk
|
|
|
|
|
maladuk wrote: Yes, a few variables and classes.
Typically, when there's a crash even before control enters main(), it's due to global object initialization. Perhaps, a constructor of one such global object is doing something that requires keyboard input.
Regards,
Nish
|
|
|
|
|
Great! You got me on the right track. I traced down the error at last.
Thanks a lot!
maladuk
|
|
|
|
|
Hi there,
I have to display a page in a little webbrowser on my dialog app and want to display the webpage background in the same color as the dialog background.
How can I get the Windows Standard Dialog Background color?
thx in advance
best regards
Michael
|
|
|
|
|
master87 wrote: How can I get the Windows Standard Dialog Background color?
See System::Drawing::SystemColors::ButtonFace
Regards,
Nish
|
|
|
|
|
I need a mothod in C++/MFC not in C#
Sry i forgot to tell you that before...
-- modified at 10:19 Monday 9th January, 2006
omg. wrong forum... :-S
|
|
|
|
|
master87 wrote: omg. wrong forum... :-S
Yeah
Regards,
Nish
|
|
|
|
|
I'm not sure but was this forum not in past "Managed C++"?
|
|
|
|
|
master87 wrote: I'm not sure but was this forum not in past "Managed C++"?
Yes it was. With VC++ 2005, Microsoft have obsoleted the old MC++ syntax and we now have a new C++/CLI syntax that will be the future of .NET programming on Windows using C++. (or at least that's what everyone thinks right now - hard to predict how the future goes)
See my article on this :
A first look at C++/CLI[^]
Regards,
Nish
|
|
|
|
|
hi ,
I am new in c++, Does anybody can tell me or give me c++ code that how we divide image into blocks , I want to divide 144X176 size image into equal size blocks for further processing (to calculate the motion vectors for each block.
thanks
Koreno
|
|
|
|
|
This question should be posted in the Visual C++[^] forum. This is the C++/CLI forum that's dedicated to the new managed and mixed-mode compiler available in VC++ 2005.
Regards,
Nish
|
|
|
|
|
|
This question should be posted in the Visual C++[^] forum. This is the C++/CLI forum that's dedicated to the new managed and mixed-mode compiler available in VC++ 2005.
Regards,
Nish
|
|
|
|