win7(x64)+vs2010+scilexer.dll(x64)

Topics: Developer Forum, Project Management Forum
Oct 22, 2010 at 9:54 AM

hi ,
system:
win7(x64)+vs2010+scilexer.dll(x64)
compile ScintillaNet2.2 with scilexer.dll(64), can compile successful,but when using ScintillaNet.ll it show me a message "is not a valid win32 application".
what can i do ?
thx.

Developer
Oct 22, 2010 at 10:43 AM

Did you put the SciLexer.dll into your system32 folder?

Oct 22, 2010 at 2:11 PM
Klingel, i Put SciLexer.dll into C:\Windows\System32 and C:\Windows\SysWOW64. and the SciLexer.dll  : size = 555K  , created time = 2008/3/18 and ver = 1.7.6.0
Oct 22, 2010 at 2:41 PM
Edited Oct 26, 2010 at 2:53 PM

it can add to toolbar

a.jpg

when put it into ide popup this error message :

b.jpg

SciLexer.dll position

c.jpg

Developer
Oct 26, 2010 at 10:26 AM

I can't open your screenshots, but since I'm using the x86 version of SciLexer.dll, I put it into the SysWoW64 folder.

I think that the x64 dll should be in the system32 folder. Perhaps try to use the project of ScintillaNET instead of a compiled DLL.

Oct 27, 2010 at 1:28 PM
Edited Oct 27, 2010 at 1:35 PM

hi Klingel , I have updated the Urls ,you have the time to give trouble to look

Developer
Oct 28, 2010 at 12:00 PM

What is the TargetPlatform of your Projects?

Since I'm only using the x86 DLL of SciLexer I used x86 as target platform but I think if you use AnyCPU you need the x64 Version in the System32 and the x86 Version in the SysWoW64 Directory.