473,434 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

Several problems! Singular solution?

I've recently switched from Borland products to MS VS.NET
EA through a MSDN Universal Subscription.

Generally, I stayed away from any MS technology specific
apps with Borland stuff, but now am trying my hand at it.

However, I have severe gaps in my knowledge because of
this previous attitude. Additionally, wanting to switch
to managed extensions in C++ doesn't work very well when
all the documentation and examples are aimed at C# and VB.

C++ Language Reference? Nope. C++ code examples to help
clarify the sometimes circular explanations? Well the
ones I have found frequently throw exceptions at run-
time, but mostly they just aren't there or won't compile.

Is there anywhere to turn for help besides here? I can
question people to death, and as you can tell I don't
know BRIEF. On-line references are not that useful to me
as I am frequently on the road and cannot access them.

I spoke with an On-Line Concierge who spoke with a lead
developer, and basically got "well that's how they choose
to distribute, sorry" for an answer.

Am I not using the distribution disks properly? Are
there ways to incorporate additional help files into the
help provided by VS .NET that I missed? Is there a GOOD
book that actually covers C++ and MS technologies as they
tie in with it? Or should I invest in a thicker hat to
minimize the bruising as I beat my head against the wall
for lack of cooperative code? =)

I'm sure I can figure out work arounds for most of my
issues, but I'd rather just do it right in the first
place.

Thanks very much for your help!
John
Nov 16 '05 #1
7 1034
The short answer is: programming for Managed Extensions for C++ is somewhat
of a black art at present. As you've noted, most of the documentation is
written for C# and VB.NET.

Personally, I'd recommend using C# to learn .NET, while independently
learning C++. When you have a handle on C++ without .NET, and .NET without
C++, then tackle the combination.

Expect C++ to be a much better player in the .NET world in the future - the
managed C++ extensions that are available in Visual Studio .NET (2002 or
2003) are just a begining.

There are a couple of books specifically on programming with MC++. I
haven't read any of them so I can't comment on their quality or
applicability to any particular situation.

-cd
John J. wrote:
I've recently switched from Borland products to MS VS.NET
EA through a MSDN Universal Subscription.

Generally, I stayed away from any MS technology specific
apps with Borland stuff, but now am trying my hand at it.

However, I have severe gaps in my knowledge because of
this previous attitude. Additionally, wanting to switch
to managed extensions in C++ doesn't work very well when
all the documentation and examples are aimed at C# and VB.

C++ Language Reference? Nope. C++ code examples to help
clarify the sometimes circular explanations? Well the
ones I have found frequently throw exceptions at run-
time, but mostly they just aren't there or won't compile.

Is there anywhere to turn for help besides here? I can
question people to death, and as you can tell I don't
know BRIEF. On-line references are not that useful to me
as I am frequently on the road and cannot access them.

I spoke with an On-Line Concierge who spoke with a lead
developer, and basically got "well that's how they choose
to distribute, sorry" for an answer.

Am I not using the distribution disks properly? Are
there ways to incorporate additional help files into the
help provided by VS .NET that I missed? Is there a GOOD
book that actually covers C++ and MS technologies as they
tie in with it? Or should I invest in a thicker hat to
minimize the bruising as I beat my head against the wall
for lack of cooperative code? =)

I'm sure I can figure out work arounds for most of my
issues, but I'd rather just do it right in the first
place.

Thanks very much for your help!
John

Nov 16 '05 #2
"John J." <pe*****@mwpower.net> wrote in message
news:0d****************************@phx.gbl...
However, I have severe gaps in my knowledge because of
this previous attitude. Additionally, wanting to switch
to managed extensions in C++ doesn't work very well when
all the documentation and examples are aimed at C# and VB.
Right. IMO, the prevailing wisdom among developers is that C# is the best
language for doing strictly .Net develpment now. (A number of times members
of the VC++ team have mentioned that they are working to change our view in
the next revision of the compiler).
C++ Language Reference? Nope. C++ code examples to help
clarify the sometimes circular explanations? Well the
ones I have found frequently throw exceptions at run-
time, but mostly they just aren't there or won't compile.


If you already know the C++ language and if you want to use a dialect of
that language to target the .Net platform, or if you need to straddle the
fence between native and managed worlds, then I have two book
recommendations. (Just by the way, it is in stradding the fence that MC++
really shines. Of all the MS .Net compilers, its is the only one which can
mix native and managed code in the same module or executable.)

The first is "Essential Guide to Managed Extensions for C++" (ISBN:
1-893115-28-3) by Challa and Laksberg. They are in a position to know the
language because they are on its development staff. <g> I like the book
because it is divided into two parts. The first introduces the language but
more importantly the second shows how it might be used: to generate managed
wrappers for a C++ class, to access a managed class from unmanaged code,
using Platform Invoke to call on the Win32 API, making .Net classes appear
to be COM objects etc. It has very pragamatic bent and is a quick read.

The second is "Programming with Managed Extensions for MS Visual C++ .Net"
(ISBN: 0-7356-1724-4) by Grimes. The book is quite a bit fatter and a much
slower read.

You might want to peruse both in a bookstore.

Regards,
Will

Nov 16 '05 #3
Carl and Will,

Thank you both for your input. After digging a bit more
(more) and resetting some filter properties that had made
sense to me personally another way, I've found the on-
disk documentation of the reference.

As for the rest, wow. I had honestly thought it was just
me. I appreciate the book suggestions very much and will
look them up, though looking at a book store first isn't
an option for me.

C#... well it wasn't something I really wanted to delve.
While much of C++ still baffles me, I've become
comfortable with it to some degree. Which is to say I
can think out code in my head, and when I read someone
else's code it usually doesn't look like so much chicken
scratch. However, staying up with things isn't a bad
idea either.

It's also good to know that C++ will be seeing more
updates to bring it more in line with .NET technologies.

Again, thank you both! You've been most helpful.
John
Nov 16 '05 #4
> I've recently switched from Borland products to MS VS.NET
EA through a MSDN Universal Subscription.

Generally, I stayed away from any MS technology specific
apps with Borland stuff, but now am trying my hand at it.


First try to understand .NET using C#.
There are so many things to understand first before you have one program
that wants to run on different network drives using multiple dll's.
Once you understand this, then jumping back to C++ will make porting your
code much simpler.

C# is very simple to understand .NET syntax.
C++ .NET managed programmin is still black-art programming .

One thing I can tell you is that this .NET thing makes Microsoft finally
enter the stage where Delphi 1 was back in 1995.
It has events, it has properties, it is pure Object oriented design (unlike
mfc), you can create visual components on the fly....

Nov 16 '05 #5
Okay, I haven't laughed quite so hard in a long time...

I really didn't understand how voracious this virus distribution stuff was
until the morning after this FIRST post to a newsgroup in years.

Will getting this thread deleted do any good, and if so, who/how do I
contact to accomplish this? If its too late, that's cool but I would like
to know. Having to delete 99.99999% of the traffic is getting a bit
annoying if there is a simple fix.

btw: Oh yeah, Microsoft has been e-mailing security updates for years now.
<pfft> The "S" on my forehead means slow, not sucker. LOL

TIA
Nov 16 '05 #6
Outlook has the ability to "Cancel"
news post. You could try it. Probably
won't be allowed by server.With OE
you need to add the button to the toolbar.
or access it from Message menu.
I doubt it will help this late.

It's probably already cached by other NNTP
servers. And by infected computers, since
you're getting those emails.

Quote from:
http://www.f-secure.com/v-descs/swen.shtml#details

"The worm periodically scans HTML and ASP files on a hard drive and stores
found e-mail addresses in the GERMS0.DBV file located in Windows folder. The
worm also reads .EML, .DBX, .WAB, and .MBX files and fetches e-mail
addresses from there. The worm does not fetch addresses containing 'delete'
and 'spam' strings.
The worm also can search for e-mail addresses in various newsgroups. It
connects to NNTP servers listed in the SWEN1.DAT file, gets a list of all
newsgroups on that server and searches recent messages in these newsgroups
for 'nfrom:' and 'nreply-to:' tags. When such tags are found, the worm gets
e-mail addressed after them and writes them to the GERMS0.DBV file. This way
the worm can harvers a lot of e-mail addresses to send itself to.

The worm can post its e-mails to newsgroups, the names of which it finds
during searching process. The worm sends the same kind of messages as it
sends via e-mail."

"John J. mwpower.net>" <pegasus < at > wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Okay, I haven't laughed quite so hard in a long time...

I really didn't understand how voracious this virus distribution stuff was
until the morning after this FIRST post to a newsgroup in years.

Will getting this thread deleted do any good, and if so, who/how do I
contact to accomplish this? If its too late, that's cool but I would like
to know. Having to delete 99.99999% of the traffic is getting a bit
annoying if there is a simple fix.

btw: Oh yeah, Microsoft has been e-mailing security updates for years now. <pfft> The "S" on my forehead means slow, not sucker. LOL

TIA


Nov 16 '05 #7
Panda was heard to say:
It's probably already cached by other NNTP
servers. And by infected computers, since
you're getting those emails.


Had a feeling, but thought I'd check just in case someone more in the know
might have an answer on the green side of the meter.

Thanks! =D
John J.
Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Johannes | last post by:
Hi, I tried to pack eight integer values and one string into one binary string, which I would like to store in a mysql db. I encountered two problems doing this: 1) $this->packed =...
2
by: michela rossi | last post by:
Hi, Don't know if anyone can help me. I've got the following questions: 1. Does anyone know of anywhere that offers shared webspace which has support for Java/JSP? Ideally running Tomcat? 2. ...
3
by: D E | last post by:
What are some good methods of letting a user's "identity" (?session?) be known across several webpages. For example, a user logs in, and several pages say "Welcome back KNOWN USER" if he...
3
by: Matthias Kaeppler | last post by:
Hello, this more a question about good practice than it is about the C++ language itself, but still... my question is this: I have a class representing the main window of my application which...
3
by: intl04 | last post by:
I was told by an instructor of Oracle SQL that an MS Access database cannot be used to have several people enter records at about the same time, that the database will "freeze up" as a result -...
16
by: Wayne Aprato | last post by:
I have several Access 97 databases which are split into front end and back end running off a server. The front end mde is shared by 2 or 3 - absolute maximum of 6 concurrent users. This scenario...
10
by: B Moor | last post by:
Host PC: Win SBS 2003 with 2.6 GHz processor and 1GB RAM SQL Server 2000 sp3 (or latest).MS Office 2k3 I have the access 2k3 front end running on server (this may get changed) and all was well...
9
by: eitan | last post by:
Hello, I am using Microsoft Visual Studio 2003 .NET. I have several question, please. 1) I have a connection to the database, which I create it at login, by application("conMain") (I have...
12
by: Zeppelin | last post by:
Hi, I have to port from asp a script that adds an ip to a list in plain text or an array. I need not using a database or filesystem, it has to be stored in memory in order that giving us best...
1
by: kristof.bonnast | last post by:
Hi all, I'm have a console app which is called by a thirth party system over 20000 times a day. This console app links to a webservice on another server to capture information. This works fine...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.