|
Overall, I always think that learning new things is worth the time and effort. It might not help you in the job that you have today, but it might help to get you a new job six months from now.
I used Visual C++.Net for a project in my last job. Overall, Managed C++ is not too bad, but for learning I would say to go with C# (or even VB.Net). The reason that I say that is that there are a few strange things here and there with Managed C++ that you will not see with using C#. I also was surprised with how many VB.Net jobs are available, that is why I included VB.Net as an alternative.
Ultimately, you should pick an language to learn because you have a desire to use the language or plan to in the future. I have done Java apps in the past, but am not really excited about learning Java as well as I know C++ or even C#. So time learning Java would probably be a waste for me.
And actually I was the person at my last job to champion the use of .Net for the project and it was a great success. We picked Managed C++ because of some of the other team members didn't know C# or .Net and we were trying to get them up to speed quickly. It worked really well for everyone until they cancelled the project.
And even for displaying the info that you get from the Embedded devices graphically, the gdiplus functionality in .Net has some very nice features that you might want to look at.
Steve Maier, MCSD MCAD
|
|
|
|
|
I want to make this thing: I got a big file with vector graphics, and i got my programm, that reads this file and draw everything. But now i need to create a web based application. What way to use??? Is it possible to read this file just once, and when user queries my page it just reads already, downloaded in memory, file. I think to use a COM server and ISAPI filter. So that page can download data from COM server through the ISAPI filter. Are there any easy way???
|
|
|
|
|
You must to build a COM DLL.
After that you can use it using vbscript.
regards
Carlos Antollini
Do you know piFive[^] ?
|
|
|
|
|
I got an existing project, and i'd like to make from it a COM Server( add COM functionality), because i want another programm to get data from my first programm or to call some methods, how to make it??? I saw this ability in Borland C++ Builder, is it possible in Visual C++ with MFC???.
|
|
|
|
|
Dive into ATL . Its pretty seamless to do it using ATL within the Visual C++ IDE
Engineering is the effort !
|
|
|
|
|
Hi Gurus,
I'd like to know how I can do large images (32x32) in a toolbar?
Where can I get some sample code to do this?
Thanks.
Best regards.
There is no spoon.
|
|
|
|
|
Create a toolbar and change the image size in the resource editor. You need to change it for the main toolbar resource not one of the buttons.
If you vote me down, my score will only get lower
|
|
|
|
|
ok thanks
There is no spoon.
|
|
|
|
|
Hi!
I need to make a relative path, using 2 absolutes paths.
Assume
path1: C:\MyProjects\Tool\Tool.exe
path2: C:\MyProjects\Docs\MyDoc.txt
The output should be ..\Docs\MyDoc.txt
How do I create the relative path??
Thanks and best regards,
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
|
You can use the _fullpath function in C/C++.
|
|
|
|
|
I have to write a windows service in VC++ 6 and need to make a web-based front end for viewing the current state and configuring the running service. What would be the best way to build a web-based front for a service? I am thinking of using sockets at the server and then a C# based front end because it is easy to do socket communication with it. Any suggestions?
|
|
|
|
|
Hi,
As an experiment I was trying the following code:
<br />
CString MyNumber = "23.5";<br />
double mynum = atof(MyNumber);<br />
if(mynum >= 3.4E-38 && mynum <= 3.4E+38)<br />
printf("Data Type = Float");<br />
else<br />
printf("Data Type = Double");<br />
<br />
MyNumber = "123456789.12345";<br />
mynum = atof(MyNumber);<br />
if(mynum >= 3.4E-38 && mynum <= 3.4E+38)<br />
printf("Data Type = Float");<br />
else<br />
printf("Data Type = Double");
However, this always displays the text "Data Type = Float", so I thought that perhaps the atof() function was loosing accuracy. Does anybody know why the floating-point range test doesn't work?
Best Regards,
Lea Hayes
|
|
|
|
|
123456789.12345 is less then 3.4E+38.
Try this:
MyNumber = "1234567890123456789012345678901234567890.12345";
mynum = atof(MyNumber);
if(mynum >= 3.4E-38 && mynum <= 3.4E+38)
printf("Data Type = Float");
else
printf("Data Type = Double");
|
|
|
|
|
Hi,
I don't know how, but that has solved my problem!
Thanks for your help,
Lea Hayes
|
|
|
|
|
I’d like to Decode a UTF-8 string to a regular CString. I’m using MFC and don’t really know where to start.
I'm reading a UTF-8 coded file using CStdioFile and CFile.
Has the _T(“…”) something to do with it?
_____________________________
...and justice for all
APe
|
|
|
|
|
Try MultiByteToWideChar(..) .
Robert-Antonio
"What do you mean, I can't initialize things in assert()?"
|
|
|
|
|
Some how i am not to view the class view tab in my workspace. It happened when i was compiling the proj and it crashed. when i reopened it i wasnt able to view classview tab. everytime i open the workspace i get following warning:
cannot access classview information file.ClassView information will not be accessible.
What Is the solution to this problem???
|
|
|
|
|
Anonymous wrote:
Some how i am not to view the class view tab in my workspace. It happened when i was compiling the proj and it crashed. when i reopened it i wasnt able to view classview tab. everytime i open the workspace i get following warning:
cannot access classview information file.ClassView information will not be accessible.
What Is the solution to this problem???
At a guess. I'd say that the crashed MsDev process is still running. Have a look at the process list via taskmanager and kill the msdev.exe process
Michael
CP Blog [^]
|
|
|
|
|
Its a pain when u lose this info . i'd suggest that u look in the task manager and kill msdev.exe if its running . if this doesnt work go to ur project folder and delete
the .clw,.aps,.ncb files and reopen ur project . Hopefully things shld be back .
Engineering is the effort !
|
|
|
|
|
Hi
can some body give the website address for free download of VC++ books. like Beginning Atl Com Programming. it is there on net but now i have forgotten where it was.plus there is a big help file named VC6.chm which around 135 mb. can anybody give the link to download.
Thanks
Swarup
|
|
|
|
|
http://mspress.microsoft.com/
try this link
|
|
|
|
|
ftp.runnet.ru/BOOKS
Ivan Cachicatari
|
|
|
|
|
Hi,
I want to use the NDIS I/O Port functions that works in the kernel mode. If any one can provide me with a working example it will be great.
Thanks
|
|
|
|
|
What exactly are you looking for?
Don't try it, just do it!
|
|
|
|