"Entry point ILCreateFromPath not found in Shell32.dll"
"Entry point ILCreateFromPath not found in Shell32.dll"
One of my users told me that he gets this message when he attepts to start my program. After pressing Ok my program closes - The message comes from Windows of course. He said that his system is Windows 2000 and shell32.dll version 5.0 is installed. I compiled that program some month ago probably with PureBasic 4.51.
I searched through the forum and the only code I found was a "tips and tricks" post by ts-soft about an extended PathRequester() (http://www.purebasic.fr/english/viewtop ... 12&t=42006). So I assume it has to do something with the PathRequester()?
I'm using the PureBasic native command in that program but not the code by ts-soft, however it is in an include I'm using but NOT used in my source in any way. Did PureBasic include it in my program by mistake?
I'm really confused by that message...Any ideas?
Btw: is it possible to retrieve the final source-code - with all used includes and whatever - PureBasic is using for compilation?
I searched through the forum and the only code I found was a "tips and tricks" post by ts-soft about an extended PathRequester() (http://www.purebasic.fr/english/viewtop ... 12&t=42006). So I assume it has to do something with the PathRequester()?
I'm using the PureBasic native command in that program but not the code by ts-soft, however it is in an include I'm using but NOT used in my source in any way. Did PureBasic include it in my program by mistake?
I'm really confused by that message...Any ideas?
Btw: is it possible to retrieve the final source-code - with all used includes and whatever - PureBasic is using for compilation?
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
Do you use it or not?I'm using but NOT used
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
I added a comma for clarification: No I'm not using the code by ts-soft (but an include that has this procedure). As I see from MSDN it shouldn't be a problem anyway because he has shell32.dll 5.0 and Microsoft states that at least this version is needed.me wrote:it is in an include I'm using, but NOT used in my source
He also told me that he has tested it on two Windows 2000 systems, so any virus that could have modified it is disqualified I'd say.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
I just got another email basically saying the same, so I thought I really have to investigate a little again. Funny thing is that google puts THIS thread on top of all results. Can anyone give me more information on this?
I mean it all doesn't make much sense: The function is available on Windows 2000 as shell32.dll 5.0 is shipped with it and I'm NOT even using it!
I mean it all doesn't make much sense: The function is available on Windows 2000 as shell32.dll 5.0 is shipped with it and I'm NOT even using it!
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
If the app runs fine on your PC, then it seems to me that the quickest Band-aid solution would be just to send them a copy of your Shell32.dll file to put in the app's folder. The app will then access the DLL there first, rather than the System32 directory, and hopefully run correctly.
If you mean to decompile the final exe: no.c4s wrote:is it possible to retrieve the final source-code - with all used includes and whatever - PureBasic is using for compilation?
You might not be using it, but what is the Include file doing with it? In other words, it may be loading it in case you use it, even if you're not. That would be enough to cause the problem.c4s wrote:it is in an include I'm using but NOT used in my source in any way
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
I suppose if the procedure with the call to ILCreateFromPath_ is included in your source, the linker will try to link to it, even when the procedure is not called, resulting in an error.
Is this possible? I would think there are some security measures at least in newer Windows versions preventing this.If the app runs fine on your PC, then it seems to me that the quickest Band-aid solution would be just to send them a copy of your Shell32.dll file to put in the app's folder. The app will then access the DLL there first, rather than the System32 directory, and hopefully run correctly.
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
The people reporting the bug are using Windows 2000.eesau wrote:Is this possible? I would think there are some security measures at least in newer Windows versions preventing this.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
I don't think including shell32.dll is allowed by Microsoft, wouldn't be an acceptable solution anyway.MachineCode wrote:If the app runs fine on your PC, then it seems to me that the quickest Band-aid solution would be just to send them a copy of your Shell32.dll file to put in the app's folder. The app will then access the DLL there first, rather than the System32 directory, and hopefully run correctly.
I meant the very final source code PureBasic is using for compilation: With all Macros executed, Include files included etc.MachineCode wrote:c4s wrote:
is it possible to retrieve the final source-code - with all used includes and whatever - PureBasic is using for compilation?
If you mean to decompile the final exe: no.
For me not included means not included, but this could be the problem. I just gave them a testing version with this unused code in the include explicitly removed. Let's see what they tell me.eesau wrote:I suppose if the procedure with the call to ILCreateFromPath_ is included in your source, the linker will try to link to it, even when the procedure is not called, resulting in an error.
However, it's still curious why it happens anyway. I mean my understanding is that the function IS AVAILABLE on Windows 2000...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
I didn't mean officially distribute it with your app.c4s wrote:I don't think including shell32.dll is allowed by Microsoft
The idea is just to see if a local copy in the app's folder fixes it. If it does, then you know the version they have in System32 is simply incompatible or wrong.c4s wrote:wouldn't be an acceptable solution anyway
Such a file is created by PureBasic, in your PC's temp folder.c4s wrote:I meant the very final source code PureBasic is using for compilation: With all Macros executed, Include files included etc.
Maybe it needs admin rights? Just guessing. I haven't looked at it to see.c4s wrote:However, it's still curious why it happens anyway. I mean my understanding is that the function IS AVAILABLE on Windows 2000...
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
I got a response: He told me that it perfectly works now... That means that this unused code got somehow in the final executable, even though it isn't used/referenced anywhere. 
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
-
MachineCode
- Addict

- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
So... don't keep us hanging... what was the problem and then the solution?c4s wrote:He told me that it perfectly works now
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: "Entry point ILCreateFromPath not found in Shell32.dll"
See here: http://www.purebasic.fr/english/viewtop ... 75#p347575MachineCode wrote:So... don't keep us hanging... what was the problem and then the solution?c4s wrote:He told me that it perfectly works now
c4s wrote:I just gave them a testing version with this unused code in the include explicitly removed. Let's see what they tell me.
Do you understand why I'm confused now? The unused function in the include got in my final executable...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!

