Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-27 Thread KarlHeesch via Digitalmars-d-learn

Hi,everyone,
down VisulaD from 
http://rainers.github.io/visuald/visuald/StartPage.html

found the virus:Win32.Troj.Undef.(kcloud)

Why?

Frank


https://www.virustotal.com/en/file/bbd76ddb41a80f0526f6cf1e37a2db2736cfa8f29ed3f5fd7a4336bf4c8bbe43/analysis/

Just 5 of 52. Probably a false alarm.


Kaspersky IS accepts the installer VisualD-v0.3.38-1.exe without
complaint, but after installation removes 'c:\program files
(x86)\visuald\visuald.dll' by claiming it as
'UDS:DangerousObject.Multi.Generic'. I don't know how to prevent
this removal (and whether I should do so).

Version 0.3.37 that was contained in the DMD 2.065 installer
could be installed without problem.

Do you have any hint?


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-12 Thread FrankLike via Digitalmars-d-learn


ctc.exe is not distributed with the SDKs starting from VS2010, 
so mapping to a more recent version does not work. That's why 
there is a precompiled pkgcmd.cto file in the repository. 
You'll have to update its modification time to avoid the build 
process trying to generate it from pkgcmd.ctc every time.


The explicitely used c:\l\vs9SDK is my installation, I should 
add a check for %VSSDK90Install% here.


Sorry,Rainer Schuetze,

Use it ,this is a good idea:
set VSISDKINC=
if "%VSISDKINC%" == "" if not "%VSSDK120Install%" == "" set 
VSISDKINC=%VSSDK120Install%
if "%VSISDKINC%" == "" if not "%VSSDK110Install%" == "" set 
VSISDKINC=%VSSDK110Install%
if "%VSISDKINC%" == "" if not "%VSSDK100Install%" == "" set 
VSISDKINC=%VSSDK100Install%
if "%VSISDKINC%" == "" if not "%VSSDK90Install%" == "" set 
VSISDKINC=%VSSDK90Install%
if "%VSISDKINC%" == "" if not "%VSSDK80Install%" == "" set 
VSISDKINC=%VSSDK80Install%
if "%VSISDKINC%" == "" (echo could not detect the Visual Studio 
SDK && exit /B 1)




 Sorry,Rainer Schuetze,
And there is a little error in sdk.bat
'(echo unexpected Visual Studio SDK installation at 
%VSISDKINC% && exit

/B 1)'
%VSISDKINC% should be "%VSISDKINC%"



I agree it is a bit clearer with quotes, but echo still works 
without, doesn't it?


Not work now in VS2010.
The error is : '\Microsoft is '

Thank you.

Frank


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-12 Thread Rainer Schuetze via Digitalmars-d-learn



On 12.05.2014 08:36, FrankLike wrote:

There are some quotes missing when building the Debug configuration. I
have committed a fix and also added the missing file reported in your
other message (IIRC it is not needed by every VS SDK).


Sorry,Rainer Schuetze,
Here is some error when compile the VisualD:

--ERROR START
Building Resources\pkgcmd.cto
Command Line
set PATH=D:\D\dmd2\windows\bin;C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\\bin;%PATH%
set DMD_LIB=D:\D\dmd2\windows\lib
set VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin
set CTC=%VS9SDKBIN%\CTC.exe
if not exist "%CTC%" goto no_CTC
if not exist "C:\Program Files (x86)\Microsoft Visual Studio
10.0\\Common7\Tools\vsvars32.bat" goto no_CTC
set PATH=%PATH%;%VS9SDKBIN%
call "C:\Program Files (x86)\Microsoft Visual Studio
10.0\\Common7\Tools\vsvars32.bat"
if errorlevel 1 goto reportError
"%CTC%" Resources\pkgcmd.ctc Resources\pkgcmd.cto -Ccl -I.
goto reportError

:no_CTC
echo Warning: CTC.exe not found in %VS9SDKBIN%.
echo It is part of the VS2008 SDK and is needed to compile
Resources\pkgcmd.ctc
if not exist Resources\pkgcmd.cto exit 1
echo Resources\pkgcmd.cto exists, so it is assumed to be up to date.
echo If the project rebuilt again and again with this message, touch
Resources\pkgcmd.cto to make it newer than Resources\pkgcmd.ctc
:reportError
:reportError
if errorlevel 1 echo Building Resources\pkgcmd.cto failed!
Output
Warning: CTC.exe not found in
c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin.
It is part of the VS2008 SDK and is needed to compile Resources\pkgcmd.ctc
-ERROR END-

I found it always to overwite the file
'visuald\visuald\Resources\pkgcmd.cto.build.cmd',let the
'VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin' not use
'%VSSDK100Install%VisualStudioIntegration\Tools\Bin' .
Then failed.


ctc.exe is not distributed with the SDKs starting from VS2010, so 
mapping to a more recent version does not work. That's why there is a 
precompiled pkgcmd.cto file in the repository. You'll have to update its 
modification time to avoid the build process trying to generate it from 
pkgcmd.ctc every time.


The explicitely used c:\l\vs9SDK is my installation, I should add a 
check for %VSSDK90Install% here.


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-12 Thread Rainer Schuetze via Digitalmars-d-learn



On 12.05.2014 08:38, FrankLike wrote:

On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:

There are some quotes missing when building the Debug configuration.
I have committed a fix and also added the missing file reported in
your other message (IIRC it is not needed by every VS SDK).



  Sorry,Rainer Schuetze,
And there is a little error in sdk.bat
'(echo unexpected Visual Studio SDK installation at %VSISDKINC% && exit
/B 1)'
%VSISDKINC% should be "%VSISDKINC%"



I agree it is a bit clearer with quotes, but echo still works without, 
doesn't it?




Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-11 Thread FrankLike via Digitalmars-d-learn

On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:
There are some quotes missing when building the Debug 
configuration. I have committed a fix and also added the 
missing file reported in your other message (IIRC it is not 
needed by every VS SDK).



 Sorry,Rainer Schuetze,
And there is a little error in sdk.bat
'(echo unexpected Visual Studio SDK installation at %VSISDKINC% 
&& exit /B 1)'

%VSISDKINC% should be "%VSISDKINC%"

Thank you again.

Frank




Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-11 Thread FrankLike via Digitalmars-d-learn
There are some quotes missing when building the Debug 
configuration. I have committed a fix and also added the 
missing file reported in your other message (IIRC it is not 
needed by every VS SDK).


Sorry,Rainer Schuetze,
Here is some error when compile the VisualD:

--ERROR START
Building Resources\pkgcmd.cto
Command Line
set PATH=D:\D\dmd2\windows\bin;C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\\bin;%PATH%

set DMD_LIB=D:\D\dmd2\windows\lib
set VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin
set CTC=%VS9SDKBIN%\CTC.exe
if not exist "%CTC%" goto no_CTC
if not exist "C:\Program Files (x86)\Microsoft Visual Studio 
10.0\\Common7\Tools\vsvars32.bat" goto no_CTC

set PATH=%PATH%;%VS9SDKBIN%
call "C:\Program Files (x86)\Microsoft Visual Studio 
10.0\\Common7\Tools\vsvars32.bat"

if errorlevel 1 goto reportError
"%CTC%" Resources\pkgcmd.ctc Resources\pkgcmd.cto -Ccl -I.
goto reportError

:no_CTC
echo Warning: CTC.exe not found in %VS9SDKBIN%.
echo It is part of the VS2008 SDK and is needed to compile 
Resources\pkgcmd.ctc

if not exist Resources\pkgcmd.cto exit 1
echo Resources\pkgcmd.cto exists, so it is assumed to be up to 
date.
echo If the project rebuilt again and again with this message, 
touch Resources\pkgcmd.cto to make it newer than 
Resources\pkgcmd.ctc

:reportError
:reportError
if errorlevel 1 echo Building Resources\pkgcmd.cto failed!
Output
Warning: CTC.exe not found in 
c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin.
It is part of the VS2008 SDK and is needed to compile 
Resources\pkgcmd.ctc

-ERROR END-

I found it always to overwite the file 
'visuald\visuald\Resources\pkgcmd.cto.build.cmd',let the 
'VS9SDKBIN=c:\l\vs9SDK\VisualStudioIntegration\Tools\Bin' not use

'%VSSDK100Install%VisualStudioIntegration\Tools\Bin' .
Then failed.

Thank you  again.

Frank


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-11 Thread FrankLike via Digitalmars-d-learn
There are some quotes missing when building the Debug 
configuration. I have committed a fix and also added the 
missing file reported in your other message (IIRC it is not 
needed by every VS SDK).


Thank you,I'll try it.

Frank



Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-11 Thread Rainer Schuetze via Digitalmars-d-learn



On 10.05.2014 10:42, FrankLike wrote:



I've been using VisualD for a long time without problems. If it makes
you nervous, you can get the source from Github and compile it yourself.


Hello,Meta

When I compile the Visual D projects:

at first,I compile the 'build' project,then get some error:


--START ALL BUILD: PROJECT: c2d,  Debug Win32 --
Building ..\bin\Debug\c2d.lib...
Build time: 1 s
-- START ALL BUILD: PROJECT: vsi2d,  Debug Win32 --
Building ..\bin\Debug\vsi2d.exe...
Converting debug information...
Build time: 1 s
-- START ALL BUILD: PROJECT: build, Debug Win32 --
Building ..\bin\Debug\build.sdk...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Building ..\bin\Debug\dte_idl.success failed!


Here is my VSSDK AND WINSDK:
VSSDK100Install = C:\Program Files (x86)\Microsoft Visual Studio 2010
SDK SP1
WindowsSdkDir = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A

How can I do?

Thank you.


There are some quotes missing when building the Debug configuration. I 
have committed a fix and also added the missing file reported in your 
other message (IIRC it is not needed by every VS SDK).


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread FrankLike via Digitalmars-d-learn
You have spaces in your path, which is not good. Put quotes 
around the file paths, like so:


VSSDK100Install = "C:\Program Files (x86)\Microsoft Visual 
Studio 2010 SDK SP1"
WindowsSdkDir = "C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A"


Sorry,Meta,

the problem still exists,but I compile it by bat file.
Then I compile the Visual D, found the error :
[1] cannot read file port\sharedvenusids.d
[2] no file in 'sdk/win32'

-- start all build: project: vsi, Debug Win32 --
Building ..\bin\Debug\vsi.lib...
Error: cannot read file port\sharedvenusids.d
Building ..\bin\Debug\vsi.lib failed!


Thank you,Meta


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread FrankLike via Digitalmars-d-learn



You have spaces in your path, which is not good. Put quotes 
around the file paths, like so:


VSSDK100Install = "C:\Program Files (x86)\Microsoft Visual 
Studio 2010 SDK SP1"
WindowsSdkDir = "C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A"


Thank  you.


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread Meta via Digitalmars-d-learn

On Saturday, 10 May 2014 at 08:42:14 UTC, FrankLike wrote:


I've been using VisualD for a long time without problems. If 
it makes you nervous, you can get the source from Github and 
compile it yourself.


Hello,Meta

When I compile the Visual D projects:

at first,I compile the 'build' project,then get some error:


--START ALL BUILD: PROJECT: c2d,  Debug Win32 --
Building ..\bin\Debug\c2d.lib...
Build time: 1 s
-- START ALL BUILD: PROJECT: vsi2d,  Debug Win32 --
Building ..\bin\Debug\vsi2d.exe...
Converting debug information...
Build time: 1 s
-- START ALL BUILD: PROJECT: build, Debug Win32 --
Building ..\bin\Debug\build.sdk...
'C:\Program' is not recognized as an internal or external 
command,

operable program or batch file.
Building ..\bin\Debug\dte_idl.success failed!


Here is my VSSDK AND WINSDK:
VSSDK100Install = C:\Program Files (x86)\Microsoft Visual 
Studio 2010 SDK SP1
WindowsSdkDir = C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A


How can I do?

Thank you.


You have spaces in your path, which is not good. Put quotes 
around the file paths, like so:


VSSDK100Install = "C:\Program Files (x86)\Microsoft Visual Studio 
2010 SDK SP1"
WindowsSdkDir = "C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A"


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread FrankLike via Digitalmars-d-learn


I've been using VisualD for a long time without problems. If it 
makes you nervous, you can get the source from Github and 
compile it yourself.


Hello,Meta

When I compile the Visual D projects:

at first,I compile the 'build' project,then get some error:


--START ALL BUILD: PROJECT: c2d,  Debug Win32 --
Building ..\bin\Debug\c2d.lib...
Build time: 1 s
-- START ALL BUILD: PROJECT: vsi2d,  Debug Win32 --
Building ..\bin\Debug\vsi2d.exe...
Converting debug information...
Build time: 1 s
-- START ALL BUILD: PROJECT: build, Debug Win32 --
Building ..\bin\Debug\build.sdk...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Building ..\bin\Debug\dte_idl.success failed!


Here is my VSSDK AND WINSDK:
VSSDK100Install = C:\Program Files (x86)\Microsoft Visual Studio 
2010 SDK SP1
WindowsSdkDir = C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A


How can I do?

Thank you.


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-09 Thread Orvid King via Digitalmars-d-learn
Trend Micro and Comodo have (from my limited experience) been pretty
good about dealing with false positives, so does anyone want to inform
them and the others as well?

On 5/8/14, sigod via Digitalmars-d-learn
 wrote:
> On Friday, 9 May 2014 at 01:02:39 UTC, FrankLike wrote:
>> Hi,everyone,
>> down VisulaD from
>> http://rainers.github.io/visuald/visuald/StartPage.html
>> found the virus:Win32.Troj.Undef.(kcloud)
>>
>> Why?
>>
>> Frank
>
> https://www.virustotal.com/en/file/bbd76ddb41a80f0526f6cf1e37a2db2736cfa8f29ed3f5fd7a4336bf4c8bbe43/analysis/
>
> Just 5 of 52. Probably a false alarm.
>


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-08 Thread sigod via Digitalmars-d-learn

On Friday, 9 May 2014 at 01:02:39 UTC, FrankLike wrote:

Hi,everyone,
down VisulaD from 
http://rainers.github.io/visuald/visuald/StartPage.html

found the virus:Win32.Troj.Undef.(kcloud)

Why?

Frank


https://www.virustotal.com/en/file/bbd76ddb41a80f0526f6cf1e37a2db2736cfa8f29ed3f5fd7a4336bf4c8bbe43/analysis/

Just 5 of 52. Probably a false alarm.


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-08 Thread Meta via Digitalmars-d-learn

On Friday, 9 May 2014 at 01:02:39 UTC, FrankLike wrote:

Hi,everyone,
down VisulaD from 
http://rainers.github.io/visuald/visuald/StartPage.html

found the virus:Win32.Troj.Undef.(kcloud)

Why?

Frank


I've been using VisualD for a long time without problems. If it 
makes you nervous, you can get the source from Github and compile 
it yourself.


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-08 Thread FrankLike via Digitalmars-d-learn

Most probably a false positive. What antivir do you use?



http://www.ijinshan.com/duba/newduba.shtml


Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-08 Thread Jack via Digitalmars-d-learn

On Friday, 9 May 2014 at 01:02:39 UTC, FrankLike wrote:

Hi,everyone,
down VisulaD from 
http://rainers.github.io/visuald/visuald/StartPage.html

found the virus:Win32.Troj.Undef.(kcloud)

Why?

Frank


Most probably a false positive. What antivir do you use?