Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 06:52:36 +0000



DLL load error: DLL Load error. Windows error code 193

View Count: 2275

[2017-05-08 09:52:57]
jizzary - Posts: 177
DLL Load error. Windows error code 193: %1 is not a valid Win32 application

what is it ? what is wrong ?

the DLL loader (part of the Sierra platform)

SierrachartStudies.dll and UserContributeStudies.dll are v1546 and looks Ok
while the DLL i'm producing is an older value (v49xx) not presented

I scan my DLL using an external tool (DLL export viewer) and see all to be expported functions
so the DLL file is OK and should be viewed and loadded by Sierra as well

I already had such issue few month ago and you have fixed it at your end
why does it repeat ? can be avoided ? it blocks me and causes waste of time to you and me
can i do something at my end to avoid this issue ?

problem is that i'm blocked from loading my DLL so i need a really URGENT solution

TNX!
[2017-05-08 12:08:56]
Sierra Chart Engineering - Posts: 104368
This means the compiler you are using to generate the DLL is not creating a compatible DLL file:
DLL Load error. Windows error code 193: %1 is not a valid Win32 application

We do not have a solution to you other than to recommend to use the Remote Build command within Sierra Chart.


I already had such issue few month ago and you have fixed it at your end
why does it repeat ?
It was never possible for us to solve this issue at any point in the past. We do not know what you are referring to.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-05-08 15:34:09]
jizzary - Posts: 177
NO ... this is not true ...
it was generating a DLL that worked fine until yesterday

It is simply you don't support DLL older interface

There has been such issue few month ago and you resolved it at yr end
pls make sure it is supported forever. do not drop it on new Sierra's versions

awaiting yr URGENT solution. tnx

p.s. i'm using MinGW. if u wish i can provide the compiler and linker switches
Date Time Of Last Edit: 2017-05-08 15:34:55
[2017-05-08 15:42:30]
jizzary - Posts: 177
> This means the compiler you are using to generate the DLL is not creating a compatible DLL file:
can't understand how you allow yrself send such an answer

I informed that i'm using an external tool "DLL export viewer" - that identify my to be exported functions
which means that :
(1) my DLL is constructed as required - otherwise this tool could not read the to be exported APIs
(2) Sierracharts platform is the one tha has a problem w/ coorectly load the DLL

Awaiting your urgent correction
[2017-05-08 16:42:32]
Sierra Chart Engineering - Posts: 104368

It is simply you don't support DLL older interface
The error you are getting is from the Windows operating system on your computer. It is the error returned by the LoadLibrary API function.

There is absolutely nothing we can do from our side whatsoever. The problem is for you to solve.

We have offered you a solution by telling you to use Remote Build but you are refusing. So this is your problem!

This is not true at all:

There has been such issue few month ago and you resolved it at yr end

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-05-08 16:49:31]
Sierra Chart Engineering - Posts: 104368
Unless it has something to do with Windows XP support. In newer versions of Sierra Chart Windows XP is now supported again. But why this would cause a problem we have absolutely no idea.

Once again that error messages from your Windows operating system. You must must must understand that. This is for you to figure out a solution to. There is nothing we can do from our side.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-05-08 16:50:02
[2017-05-08 19:56:12]
jizzary - Posts: 177
i understand your claim that this is a windows reported issue
but it looks that you iognore the information regarding the "DLL export viewer" successfully loads the DLL and reads
the exported functions (which are the study functions) - so may be there is no real problem w/ windows
and after all my DLL is OK ... so may be the problem is at yr end

pls consider my report about th e"DLL export viewer"
and i'll check myself again

tnx
[2017-05-08 19:58:24]
jizzary - Posts: 177
BTW -

sierra is a 32 bit application - should there be any problem if DLL is 64 bit ?
[2017-05-08 22:32:18]
Sierra Chart Engineering - Posts: 104368
and after all my DLL is OK ... so may be the problem is at yr end
We already explained this. The error message is from Windows. It is not possible for it to be a Sierra Chart issue.

sierra is a 32 bit application - should there be any problem if DLL is 64 bit ?
Yes of course this is a problem!!! You should already know that. If you compiled it as a 64-bit DLL, then of course this is a problem. You are creating your own problems and wasting our time.

We are declining further support on this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-05-08 22:33:08
[2017-05-08 23:47:40]
jizzary - Posts: 177
> We already explained this. The error message is from Windows. It is not possible for it to be a Sierra Chart issue.
So why the DLL viewer could load the DLL while sierra is experienceing problemns ?

>Yes of course this is a problem!!!
stay calm ... just asking.
my DLL is 32 bit. it is running for few month w/o any problem
and today after updating Sierracharts the DLL loading started failing
[2017-05-09 03:59:16]
Sierra Chart Engineering - Posts: 104368

and today after updating Sierracharts the DLL loading started failing

Therefore, we think the issue has something to do with the newest version having support for Windows XP. Why this causes a problem in your case, we do not know.

You may want to try running Sierra Chart under different Windows Compatibility Modes. If you do not know what this is, then run an Internet search about this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-05-09 03:59:54

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account