Help - Search - Members - Calendar
Full Version: SCV shows in plugins list but doesn't work
JDNET Forum > Programs > SourceCodeViewer for Directory Opus
TheRedGobbo
I'm using the 8202 ansi version of dopus and SCV shows in the plugins list. However, regardless of what text file I select, SCV does not preview the file. SCV is the only plugin I have enabled. I have the 2 files in sys32 folder and the 2 files in viewer folder. depends.exe reports no problems. I've even downloaded and added the files from http://www.jdnet.co.uk/Tools/msvc70.zip all to no avail.

The odd thing is SCV used to work fine. Also a reinstall of dopus has no effect. I'm using version 1205 of SCV by the way.
mrblobby
Hi,

Can you give v2 a try please:

http://resource.dopus.com/viewtopic.php?t=992
TheRedGobbo
nope, just the same, I'm afraid. Installed scite. modified the SCV xml to point to the scite exe file. still no joy. the scite standalone itself runs fine.
mrblobby
Ok, let me add some tracing to v2 so we can see what is going on. I should be able to get a new DLL to you tonight.
mrblobby
Ok,

I have added some debugging. Here's what you have to do:

1) Firstly download the debug viewier here - http://www.jdnet.co.uk/Tools/dbgvnt.zip
Extract this to a directory and double-click on DBGVIEW.EXE

2) Next, download the VC8 dlls - http://www.jdnet.co.uk/Tools/VC80.rar
Extract all of these files into your WindowsSystem32 directory WITHOUT PRESERVING DIRECTORIES, i.e.
the RAR file contains directories, copy each file into the WindowsSystem32 dir.

3) Download the debugging version of SVC - http://www.jdnet.co.uk/DOpus/SourceCodeVie...iewer_Debug.rar
Exit out of DOpus and copy the .DLL in this file to your Viewers directory


Now, when you fire up DOpus check that the correct version has been loaded by selecting "Settings/Viewer Plugins/SourceCodeViewer/About" and it should display 2.0.0.1.

Finally, when you click on a supported file you should see some information written into the DBGVIEW application we fired up in step #1.


Please email this to jamie_at_jdnet.co.uk replacing _at_ with the @ sign.
TheRedGobbo
Sorry but...

I've followed all your instructions, however the debug version does not show in my plugins list. If I replace the debug version dll with the beta version dll, the plugin shows again (but does not work).
mrblobby
Hi,

If it doesn't show then it's missing a DLL (probably due to the recent upgrade to VC8). Can you run dependancy walker on it to see what's missing.
TheRedGobbo
All I get is the (documented) "WNetRestoreConnectionA" from MPR.DLL in SHLWAPI.DLL and the "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module."
TheRedGobbo
I have a bit of an update for you here. I was reading the dopus forums when I came across this post -

http://resource.dopus.com/viewtopic.php?t=...stomize+toolbar

It mentions not being able to add preset buttons to the toolbar which I realized I also couldn't do. Basically you run a reg file to replace some data regarding an IStream COM entry which I have done.

Now SCV loads, appears in the viewer pane title, along with filename it is viewing, but unfortunately does not view the file. The SCV context menu does display on a right click though.

You think maybe another registry setting is missing?
I have used a reg cleaner reasonably recently.

I've just noticed that "select all, copy" copies the text of a "viewed" text file to the clipboard. ie If I paste into notepad the text is there.
mrblobby
It sounds as if your system is hosed.

I have created a setup installation program with all the required dependancies (excluding SciTE) but I doubt it will help:

http://www.jdnet.co.uk/DOpus/v2_beta_setup.exe
TheRedGobbo
no, you were right, it didn't help, thanks for your help anyway, maybe I'll try installing windows on top of itself, it seems a bit drastic, but oh well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.