zamabuvaraeu / TestCOMServer

COM server written in FreeBASIC
GNU General Public License v3.0
8 stars 2 forks source link

Does not create dll in win 64 #1

Open rexxitall opened 3 years ago

rexxitall commented 3 years ago

Hi, i tried the fine make system but something went wrong. The Test.exe was created but crippled and the dll comes with some strange errors. WIN64 and all freebasic things are located like in your default settings

image

Maybe you has a idea whats went wrong :) Thank you Thomas

zamabuvaraeu commented 3 years ago

I have updated the compilation script and the source code. It should compile now.

rexxitall commented 3 years ago

First at all - THANKS A LOT ! :)

It compiles but there seems to be a thing still strange - (i download the ZIP File)

In the make-tlb thing is a hard to find pitfall. It does not work cause the BatchedFilesTestCOMServer.idl has a codepage which leads at least "my" MIDL to throw a error. image

I changed it by converting to pure UTF8 then the TLB was generated

image

in the image you can see the call with the wrong codepage - that throws the strange error even the file looks totally fine in most editors.

And the result after convert the IDL file to UTF8 - now it works. So maybee you update the file to UTF8 or add a coment as well that MIDL.EXE does not work on files other then UTF8 without BOM.