Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Building VB snap-in projects via command line results in GPF

356 views
Skip to first unread message

Darryl Robinson

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
Hello, All.

I just turned over the source for a snap-in created with the snap-in
designer for VB to a client and they're having difficulty building it from
the command line. After installing the requisite components of the January
Platform SDK (VC++ integration and environment variables, 'Build
Environment/Management Services/Microsoft Management Console' and 'Sample
Code\Management Samples\Microsoft Management Console Samples'), they can
build the project from within the VB IDE. But when they try to build it
from the command line (by typing 'vb6 /m <project name>.vbp'), VB crashes
with an unhandled exception every time. The error message that accompanies
they exception reads "Unhandled exception in VB6.EXE (MSSNAPD.OCX):
0xC0000005: Access Violation". I can't reproduce the error on my machine, so
I'm at a loss to assist them.

Any ideas? Please post your reply and cc me at dar...@robotica-inc.com.

Darryl R.

Darryl Robinson

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
It appears as if the .dsr file got out of sync, or something to that effect.
After building the project from within the VB IDE, it kept asking whether to
save changes to the .vbp and .dsr files. And the client kept responding
'No', since they hadn't changed the files. When they responded 'Yes'
(resulting in changes to the IID of the SnapInDef property and the value of
the TypeinfoCookie line in the .dsr file), building from the command line
worked.

Darryl R.

Darryl Robinson <dar...@robotica-incnospam.com> wrote in message
news:#R#5jssr$GA.265@cppssbbsa03...

0 new messages