June 24, 2024, 06:52:31 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Script errors

Started by Andy, October 22, 2011, 01:25:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi,

I was able to disable script error messages when browsing the internet using sapero's code called 'BrowserMakeSilent'.

It works fine in EB but cannot resolve an external called 'MyIOleInPlaceSiteTable' in IW.

Compiling...
IWBASIC2.iwb
File: C:\2\projects\Classes\IWBASIC2.iwb (25) Warning: RETURN value expected.
No Errors

Linking...
IWBasicLinker v1.12 Copyright © 2009,2010 Ionic Wind Software
Unresolved external _MyIOleInPlaceSiteTable
Error: Unresolved extern _MyIOleInPlaceSiteTable
Error(s) in linking C:\2\projects\Classes\IWBASIC2.exe


Can anyone help, or tell me where the MyIOleInPlaceSiteTable external was in EB?

Sent a message to sapero but no reply as yet.

Please help if you can it's driving me crazy!

Attached is the code that worked in EB.

Thanks,
Andy.

Attached is the code
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Brian

Andy, I only get one error with this code (don't understand the error), but it
doesn't stop it running. Maybe you can fix the error

Brian

Andy

Hi Brian,

Thanks for trying the code, but it will not run for me, I keep getting this:

Compiling...
silent.iwb
No Errors

Linking...
IWBasicLinker v1.12 Copyright © 2009,2010 Ionic Wind Software
Unresolved external _MyIOleInPlaceSiteTable
Error: Unresolved extern _MyIOleInPlaceSiteTable
Error(s) in linking C:\Users\Anne\AppData\Local\Temp\silent.exe

What error do you get?

The problem for me is 'MyIOleInPlaceSiteTable'.

Not sure about externals, but it must be somewhere in the old EBasic (include file? Library file?)

tried searching for it in EB but cannot find it.

Anybody have any ideas?

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

Compiles fine for me but I am running the latest version of IWB2.

Your linker says:
QuoteLinking...
IWBasicLinker v1.12 Copyright © 2009,2010 Ionic Wind Software

Mine says:
QuoteLinking...
IWBasicLinker v1.11 Copyright © 2011 Ionic Wind Software


MyIOleInPlaceSiteTable is located in iwbbrowser.lib

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

Andy,

Sorry, but I should have said that I am using the latest compiler version, 2.095,
and I also get the same Linker message as Larry, v1.11

Brian

Andy

Thanks for the replies,

I downloaded and installed the latest version of IW (compiler version 2.095).

The script program now works but I have a linking error in one of my programs:

No Errors

Linking...
IWBasic Linker v1.11 Copyright © 2011 Ionic Wind Software
Unresolved external __imp__gmtime64
Error: C:\Program Files\iwbdev\iwbdev\libs\disphelper.lib\disphelper.obj - Unresolved extern __imp__gmtime64
Error: C:\Program Files\iwbdev\iwbdev\libs\disphelper.lib\disphelper.obj - Unresolved extern __imp__mktime64
Error: C:\Program Files\iwbdev\iwbdev\libs\disphelper.lib\disphelper.obj - Unresolved extern __imp__localtime64
Warning: unable to open file C:\Program Files\iwbdev\iwbdev\libs\msvcrt.lib
Error(s) in linking C:\Users\Public\Documents\IWBasic\projects\KMSbrowser.exe

I don't get this problem with the Browser_Test2 example so it is in my program.

Can anyone tell me what is going wrong here, I didn't get this error with the previous compiler version.

Basically, can anyone tell me what in my program might be causing the linking problem in the new version?

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Andy

Found the problem!

I ran the IWheaders setup program again and installed the latest updates, fixed the problem.

Thanks,
Andy.
:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.