WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Error Codes

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Error 3132 Ole: Ole has not been initialized

Keywords: OLE Addextender 3132 error  OLE not initialized 

Question:

I'm getting the error message, "3132 OLE: OLE has not been initialized" when I try to use any of the Addextender functions. What's going on?

Answer:

Make sure you're putting quotes around the DLL path and name, as in:
	Addextender("wwnet32.dll")
otherwise WinBatch sees the period, interprets this as an OLE object, and then outputs this cryptic error message.

You could also get this same 3132 OLE error with the following code in a DOS batch file, which launches WinBatch with a parameter:

rem DOS Batch file
			   @echo off
			   DIR /b > D.LST
			   START  /w  WINBATCH.EXE  WB.WBT  D.LST
			   

;Winbatch wb.wbt file contents:
			   filenum=fileopen(%param1%,read)
Putting quotes around the parameter fixed the problem:
			   @echo off
			   DIR /b > D.LST
			   START  /w  WINBATCH.EXE  WB.WBT  "D.LST"

Article ID:   W12955
Filename:   3132 OLE Error.txt
File Created: 1999:04:15:16:50:46
Last Updated: 1999:04:15:16:50:46