1. URLMON Cache Question

Hello All,

I did a search on the EU Forum regarding forcing URLDownloadToFile to
bypass cached files on the user system. I noticed a few people had the
same problem as me, but I could not find a solution to the problem.
Has anyone found a way to get URLDownloadToFile to always fetch
the file from the internet?

Chris



----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » topic index » view message » categorize

2. Re: URLMON Cache Question

Wow no one had solved this issue? I tried every flag and URLMON still uses
the cached file on the system. I had hoped someone had solved this.


C Bouzy wrote:
> 
> Hello All,
> 
> I did a search on the EU Forum regarding forcing URLDownloadToFile to
> bypass cached files on the user system. I noticed a few people had the
> same problem as me, but I could not find a solution to the problem.
> Has anyone found a way to get URLDownloadToFile to always fetch
> the file from the internet?
> 
> Chris
> 
> 
> ----If you continue to do what you have always done,
> you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

3. Re: URLMON Cache Question

I haven't solved it - but, have you tried a different approach - I just
downloaded eulibcurl and it downloads webpages practically instantly, but I'm not
sure about caching sorry!

Alex

new topic     » goto parent     » topic index » view message » categorize

4. Re: URLMON Cache Question

Hi Alex,

I have used EULibCurl, it is very fast and does not cache the files, but it can 
be buggy at times. I was also trying to avoid another DLL.

> 
> I haven't solved it - but, have you tried a different approach - I just
> downloaded
> eulibcurl and it downloads webpages practically instantly, but I'm not sure
> about caching sorry!
> 
> Alex


----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

5. Re: URLMON Cache Question

C Bouzy wrote:

>I have used EULibCurl, it is very fast and does not cache the files, but it can
>
>be buggy at times. I was also trying to avoid another DLL.
>
Can I ask how you find it buggy? I use EULibCurl regularly, and haven't 
found any bugs.

I plan to start using it with POST shortly ... have you tried this?

-- 
Craig

new topic     » goto parent     » topic index » view message » categorize

6. Re: URLMON Cache Question

Craig Welch wrote:

> Can I ask how you find it buggy? I use EULibCurl regularly, and haven't 
> found any bugs.

If you use Win32Lib and call curl_easy_get_file 3 or 4 times in a row,
it will crash your app.


----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

7. Re: URLMON Cache Question

> I have used EULibCurl, it is very fast and does not cache the files, but =
it can
> be buggy at times. I was also trying to avoid another DLL.
>
> > I haven't solved it - but, have you tried a different approach - I just=
 downloaded
> > eulibcurl and it downloads webpages practically instantly, but I'm not =
sure
> > about caching sorry!

Has anyone looked into EuTCP4u by Ray Smith? Its got a demo called
get_file.exw that "Shows how you can download any file from a web
server." It does require another DLL, but I believe it is much more
stable than EuLibCURL.

~Greg

new topic     » goto parent     » topic index » view message » categorize

8. Re: URLMON Cache Question

Greg Haberek wrote:

> Has anyone looked into EuTCP4u by Ray Smith? Its got a demo called
> get_file.exw that "Shows how you can download any file from a web
> server." It does require another DLL, but I believe it is much more
> stable than EuLibCURL.

I always understood that EuLibCURL was Ray's preferred program to EuTCP4u.

Rob Craig has just updated EuLibCURL in the 'user contributions' area, and the
spiel goes "It's better in many ways than his earlier euTCP4u. It has password
support, progress callbacks, header callbacks and error message support".

-- 
Craig

new topic     » goto parent     » topic index » view message » categorize

9. Re: URLMON Cache Question

Craig Welch wrote:

> Greg Haberek wrote:
> 
>> Has anyone looked into EuTCP4u by Ray Smith? Its got a demo called
>> get_file.exw that "Shows how you can download any file from a web
>> server." It does require another DLL, but I believe it is much more
>> stable than EuLibCURL.
> 
> I always understood that EuLibCURL was Ray's preferred program to EuTCP4u.

Yes, Ray Smith wrote here on 29 Sep 2003:
"... don't use euTcp4u to download files from the net!"
<http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=6&fromYear=1&toMonth=C&toYear=A&postedBy=Ray+Smith&keywords=29+Sep+2003>

So Ray -- in case you are still reading here --, wouldn't it then be the
best to remove 'euTcp4u' from the User Contributions Page, in order to
avoid ongoing confusion?

> Rob Craig has just updated EuLibCURL in the 'user contributions' area, and the
> spiel goes "It's better in many ways than his earlier euTCP4u. It has password
> support, progress callbacks, header callbacks and error message support".

Regards,
   Juergen

new topic     » goto parent     » topic index » view message » categorize

10. Re: URLMON Cache Question

Juergen Luethje wrote:
> So Ray -- in case you are still reading here --, wouldn't it then be the
> best to remove 'euTcp4u' from the User Contributions Page, in order to
> avoid ongoing confusion?

No..because there are functions euTcp4u support that EuLibCURL doesn't, and
vise-versa.

----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

11. Re: URLMON Cache Question

C Bouzy wrote:
>> Can I ask how you find it buggy? I use EULibCurl regularly, and haven't 
>> found any bugs.
>>     
> If you use Win32Lib and call curl_easy_get_file 3 or 4 times in a row,
> it will crash your app.
I see what you mean. I've been using:
- curl_easy_init
- curl_easy_setopt
- curl_easy_performex
- curl_easy_cleanup
without any problems, over thousands of consecutive retrievals.

I tried curl_easy_get_file, and it did indeed crash, with unpredictable 
machine checks.

When looking at the error dumps, curl_easy_get_file's buffer had data 
that I had not provided it, so I guess it's mis-using memory in some way.

Still, there's no reason to use curl_easy_get_file, and I wouldn't want 
others to shy away from eulibcurl as a result.

-- 
Craig

new topic     » goto parent     » topic index » view message » categorize

12. Re: URLMON Cache Question

Craig Welch wrote:
> 
> C Bouzy wrote:
> >> Can I ask how you find it buggy? I use EULibCurl regularly, and haven't 
> >> found any bugs.
> >>     
> > If you use Win32Lib and call curl_easy_get_file 3 or 4 times in a row,
> > it will crash your app.
> I see what you mean. I've been using:
> - curl_easy_init
> - curl_easy_setopt
> - curl_easy_performex
> - curl_easy_cleanup
> without any problems, over thousands of consecutive retrievals.
> 
> I tried curl_easy_get_file, and it did indeed crash, with unpredictable 
> machine checks.
> 
> When looking at the error dumps, curl_easy_get_file's buffer had data 
> that I had not provided it, so I guess it's mis-using memory in some way.
> 
> Still, there's no reason to use curl_easy_get_file, and I wouldn't want 
> others to shy away from eulibcurl as a result.
> 
> -- 
> Craig
> 
> 

Craig,

I'm developing a new wrapper for the last release of libcURL (v. 7.15.1). It's
being developed from scratch because of the complexity added to the library that
causes Rays's functions to be useless.
It's rich, powerful, easy to use yet complex. It supports multiple connections,
SSL connections, etc.

A few days ago I asked the forum (in particularly, to Bouzy) what the problems
with windows were. I was asking for problems and not for solutions since I want
to replicated those problems and see if they still arise with my version.
Unfortunately, not only anybody explains what those problems were but either
pointed to the thread where it's supposed they were explained.
For that reason, I decided to release an only Linux version of the library.

Since you seems to be aware of the problems in question, would you mind telling
what are the problems are so I investigate them and see if they occur in my
version?

Thank you,

JG

new topic     » goto parent     » topic index » view message » categorize

13. Re: URLMON Cache Question

Julio C. Galaret Viera wrote:
> Craig,
>
> I'm developing a new wrapper for the last release of libcURL (v. 7.15.1). It's
> being developed from scratch because of the complexity added to the library that
> causes Rays's functions to be useless.
>   
That's great news. I've been looking at that task today, and I find it 
beyond my skills.
> It's rich, powerful, easy to use yet complex. It supports multiple
> connections, SSL connections, etc.
>   
SSL is very much on my wish-list ...
> A few days ago I asked the forum (in particularly, to Bouzy) what the problems
> with windows were. I was asking for problems and not for solutions since I want
> to replicated those problems and see if they still arise with my version.
> Unfortunately, not only anybody explains what those problems were but either
> pointed to the thread where it's supposed they were explained.
>   
Yes, I saw that. I couldn't reply to you, as I hadn't had any bugs at 
that stage.

The only comment that M. Bouzy had made was 'If you use Win32Lib and 
call curl_easy_get_file 3 or 4 times in a row, it will crash your app', 
which didn't have enough detail to help determine anything. His 
follow-up comment of 'I explained this already...' wasn't particularly 
helpful, was it?
> For that reason, I decided to release an only Linux version of the library.
>   
I hope you can see your way clear to doing a Windows version?
> Since you seems to be aware of the problems in question, would you mind
> telling what are the problems are so I investigate them and see if they occur in
> my version?
I'm only aware of any bugs since this morning, when I replaced some of 
my code with curl_easy_get_file specifically to see if I could replicate 
M. Bouzy's bugs. It failed all right, but in seemingly random ways! For 
example, this line: calc2 = (calc1 / ((-0.000003 * calc1 * calc1) + 
(0.0012 * calc1) + 17.58)), where calc1 was 407, sometimes failed with a 
machine check.

Later, this line: SP = w32trim(SP) failed similarly.

Later, this line: void = sendMessage( id, EGW_CELLFORMAT, i, 
GridDrawNew[grid] failed similarly.

That's about all I can offer. If you want me to, I can test this again 
and send you an edited ex_err file.

HTH,

-- 
Craig

new topic     » goto parent     » topic index » view message » categorize

14. Re: URLMON Cache Question

Craig Welch wrote:
> 
> Julio C. Galaret Viera wrote:
> > Craig,
> >
> > I'm developing a new wrapper for the last release of libcURL
> (v. 7.15.1). It's being developed from scratch because of the complexity added
> to the library
> that causes Rays's functions to be useless.</font></i>
> >   
> That's great news. I've been looking at that task today, and I find it 
> beyond my skills.

Perhaps beyond mine, too. 

> > It's rich, powerful, easy to use yet complex. It supports multiple
> > connections,
> SSL connections, etc.</font></i>
> >   
> SSL is very much on my wish-list ...

As you surely knows, libcURL is the most powerful library in its class, being
utilized by professional and very powerful applications all over the world.

> > A few days ago I asked the forum (in particularly, to Bouzy)
> what the problems with windows were. I was asking for problems and not for
> solutions since
> I want to replicated those problems and see if they still arise with my
> version.</font></i>
> > Unfortunately, not only anybody explains what those problems were
> but either pointed to the thread where it's supposed they were
> explained.</font></i>
> >   
> Yes, I saw that. I couldn't reply to you, as I hadn't had any bugs at 
> that stage.
> 
> The only comment that M. Bouzy had made was 'If you use Win32Lib and 
> call curl_easy_get_file 3 or 4 times in a row, it will crash your app', 
> which didn't have enough detail to help determine anything. His 
> follow-up comment of 'I explained this already...' wasn't particularly 
> helpful, was it?
> > For that reason, I decided to release an only Linux version of the library.
> >   
> I hope you can see your way clear to doing a Windows version?

It'd be a pity since libcURL is a cross-platform library and doesn't make much
sense to be available only in Linux. But if windozers aren't interested, neither
me...

> > Since you seems to be aware of the problems in question, would
> you mind telling what are the problems are so I investigate them and see if
> they occur in my
> version?</font></i>
> I'm only aware of any bugs since this morning, when I replaced some of 
> my code with curl_easy_get_file specifically to see if I could replicate 
> M. Bouzy's bugs. It failed all right, but in seemingly random ways! For 
> example, this line: calc2 = (calc1 / ((-0.000003 * calc1 * calc1) + 
> (0.0012 * calc1) + 17.58)), where calc1 was 407, sometimes failed with a 
> machine check.
> 
> Later, this line: SP = w32trim(SP) failed similarly.
> 
> Later, this line: void = sendMessage( id, EGW_CELLFORMAT, i, 
> GridDrawNew[grid] failed similarly.
> 
> That's about all I can offer. If you want me to, I can test this again 
> and send you an edited ex_err file.

It might be help. If it doesn't, another possibility is providing you with my
code instead of Rays' and see if it works or not.


JG

new topic     » goto parent     » topic index » view message » categorize

15. Re: URLMON Cache Question

Julio C. Galaret Viera wrote:
>> That's about all I can offer. If you want me to, I can test this again 
>> and send you an edited ex_err file.
>>     
>
> It might be help. If it doesn't, another possibility is providing you with my
> code instead of Rays' and see if it works or not.
I'd be more than happy to test your code for you, if that helps ...

-- 
Craig

new topic     » goto parent     » topic index » view message » categorize

16. Re: URLMON Cache Question

Craig Welch wrote:
> > A few days ago I asked the forum (in particularly, to Bouzy)
> what the problems with windows were. I was asking for problems and not for
> solutions since
> I want to replicated those problems and see if they still arise with my
> version.</font></i>
> > Unfortunately, not only anybody explains what those problems were
> but either pointed to the thread where it's supposed they were
> explained.</font></i>
> >   
> Yes, I saw that. I couldn't reply to you, as I hadn't had any bugs at 
> that stage.
> 
> The only comment that M. Bouzy had made was 'If you use Win32Lib and 
> call curl_easy_get_file 3 or 4 times in a row, it will crash your app', 
> which didn't have enough detail to help determine anything. His 
> follow-up comment of 'I explained this already...' wasn't particularly 
> helpful, was it?

I was asked what the bug was, and I exlpained if you use Win32Lib and
call curl_easy_get_file 3 or 4 times in a row it would crash your app.
How much more information do you need?

----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

17. Re: URLMON Cache Question

C Bouzy wrote:
> I was asked what the bug was, and I exlpained if you use Win32Lib and
> call curl_easy_get_file 3 or 4 times in a row it would crash your app.
> How much more information do you need?
It's usual to say 'how' a bug crashes an application ... under what 
circumstances, what error is manifested, etc.

-- 
Craig

new topic     » goto parent     » topic index » view message » categorize

18. Re: URLMON Cache Question

Craig Welch wrote:
> 
> C Bouzy wrote:
> > I was asked what the bug was, and I exlpained if you use Win32Lib and
> > call curl_easy_get_file 3 or 4 times in a row it would crash your app.
> > How much more information do you need?
> It's usual to say 'how' a bug crashes an application ... under what 
> circumstances, what error is manifested, etc.
> 

Hum... me telling you how to recreate the crash is adequate enough to
determine what the bug is. I am not going to sit here and go into details on
how, when, and why a bug crashes an app, when I cearly stated how to recreate
the bug to begin with. It is up to the interested party to investigate the bug.
You were able to crash your app after following my "steps", so what is the
problem?



----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

19. Re: URLMON Cache Question

C Bouzy wrote:
> 
> Craig Welch wrote:
> > 
> > C Bouzy wrote:
> > > I was asked what the bug was, and I exlpained if you use Win32Lib and
> > > call curl_easy_get_file 3 or 4 times in a row it would crash your app.
> > > How much more information do you need?
> > It's usual to say 'how' a bug crashes an application ... under what 
> > circumstances, what error is manifested, etc.
> > 
> 
> Hum... me telling you how to recreate the crash is adequate enough to
> determine what the bug is. I am not going to sit here and go into details on
> how, when, and why a bug crashes an app, when I cearly stated how to recreate
> the bug to begin with. It is up to the interested party to investigate the
> bug.
> You were able to crash your app after following my "steps", so what is the
> problem?
> 
> 
> ----If you continue to do what you have always done,
> you will get what you have always gotten.----

Bouzy, the «interested party» is YOU since I NEVER use Win32lib.

JG

new topic     » goto parent     » topic index » view message » categorize

20. Re: URLMON Cache Question

Craig Welch wrote:
> 
> Julio C. Galaret Viera wrote:
> >> That's about all I can offer. If you want me to, I can test this again 
> >> and send you an edited ex_err file.
> >>     
> >
> > It might be help. If it doesn't, another possibility is providing you
> with my code instead of Rays' and see if it works or not.</font></i>
> I'd be more than happy to test your code for you, if that helps ...
> 
> -- 
> Craig
> 
> 

Let me polish code a bit. Since I haven't finish it I'll be sending you part of
the library.
Your are warning that it's untested and may not work. Sometimes (let say often)
is difficult to find the bug since it may be from euLibcURL, libcURL, Win32lib,
or...
I know from libcURL documentation there's some extra steps to be followed with
some functions under Windows, otherwise it may crash. So I don't know if the bug
is caused by those functions or another issue.

JG

new topic     » goto parent     » topic index » view message » categorize

21. Re: URLMON Cache Question

Julio C. Galaret Viera wrote:
> 
> Bouzy, the «interested party» is YOU since I NEVER use Win32lib.
> 
> JG

JG,

I was never interested in this. Someone asked me about the lib and I told
them it would crash under certain circumstances, that is it. Now if you are
only going to concentrate on a Linux version, that is your choice. Either
way it is not something that I am interested in.

----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

22. Re: URLMON Cache Question

C Bouzy wrote:
> 
(snip)
> 
> Hum... me telling you how to recreate the crash is adequate enough to
> determine what the bug is. I am not going to sit here and go into details on
> how, when, and why a bug crashes an app, when I cearly stated how to recreate
> the bug to begin with. It is up to the interested party to investigate the
> bug.
> You were able to crash your app after following my "steps", so what is the
> problem?

Oh my God, I'm getting flashbacks from working tech support...

Errr... no, that's certainly not adequate. If you can't give them enough
information to fix this then it'll never get fixed. We programmers aren't psychic
beings that can magically determine why something doesn't work just because you
say it doesn't work. What Win32Lib routines are you using? What's the application
for? What version of Win32Lib is it? What version of Windows are you using? Does
this keep occuring on the same statements? What are those statements?


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

new topic     » goto parent     » topic index » view message » categorize

23. Re: URLMON Cache Question

D. Newhall wrote:

> 
> Oh my God, I'm getting flashbacks from working tech support...
> 
> Errr... no, that's certainly not adequate. If you can't give them enough
> information
> to fix this then it'll never get fixed. We programmers aren't psychic beings
> that can magically determine why something doesn't work just because you say
> it doesn't work. What Win32Lib routines are you using? What's the application
> for? What version of Win32Lib is it? What version of Windows are you using?
> Does this keep occuring on the same statements? What are those statements? 
> 

Are you kidding me? I have noticed you have a knack for making smart little
comments. Now I see why some EU users do not bother answering these posts. 
I gave them more than enough information to reproduce the problem. If there
was any other information needed to cause the crash, I would have included it.
Simply use Win32Lib and call curl_easy_get_file 3 or 4 times in a row. You
cannot get more simpler than that. If someone needed to know the who’s,
the when’s, and the whys, then they needed to reproduce the crash themselves.
I never asked for a fix to the bug, nor do I care if the bug is fixed. 

The other day I asked about setTimer alternatives. Once Greg pointed me in
the right direction, I took the initiative to look up the info myself. I did
not waste his time asking him questions I could find out on my own.



----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

24. Re: URLMON Cache Question

> D. Newhall wrote:
> 
> > 
> > Oh my God, I'm getting flashbacks from working tech support...
> > 
> > Errr... no, that's certainly not adequate. If you can't give them enough
> > information
> > to fix this then it'll never get fixed. We programmers aren't psychic beings
> > that can magically determine why something doesn't work just because you say
> > it doesn't work. What Win32Lib routines are you using? What's the
> > application
> > for? What version of Win32Lib is it? What version of Windows are you using?
> > Does this keep occuring on the same statements? What are those statements? 

Could it be that Chris doesn't want to post his problem code here, as it might
be proprietary?


Regards,
Vincent

new topic     » goto parent     » topic index » view message » categorize

25. Re: URLMON Cache Question

C Bouzy wrote:
> 
> I gave them more than enough information to reproduce the problem.

No.

> ...nor do I care if the bug is fixed. 

This forum is supposed to be a community. Do you know what «community» means?

> I did not waste his time asking him questions I could find out on my own.

I'm sorry for wasting your time.

JG

new topic     » goto parent     » topic index » view message » categorize

26. Re: URLMON Cache Question

Vincent wrote:
> Could it be that Chris doesn't want to post his problem code here, as it might
> be proprietary?
> 

Hi Vincent,

That is not even it. If you go back to the original question a month ago,
I was simply asked by someone why I didn’t like using the lib, and I explained
it crashed if you make certain calls a few times in a row. So the original 
question was basically why I did not like using it. I have no idea why we are on
bug explanations or detailed bug reports. I never asked to have the bug fixed,
or even asked why it was crashing. 

I have no problems sharing code, even if it is proprietary, as long as it
is not my entire app. I would be more than happy to share parts of my
code to any interested party.

----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

27. Re: URLMON Cache Question

Julio C. Galaret Viera wrote:
> > I gave them more than enough information to reproduce the problem.
> 
> No.
>
How can you say no?  If I had posted and said "Hey guys, I am using Curl and
it  crashes every time I make a certain call, can you help me"? And I post 
little information on how the crash occurs, then I could see you saying
the information was not enough. But I never asked anyone for a bug fix.

> > ...nor do I care if the bug is fixed. 
> 
> This forum is supposed to be a community. Do you know what «community» means?
> 
Just because I am not interested in something that you are interested in,
does not mean I am anti-community. You could have easily created a simple
win32lib window with a button, and made the call to curl, and your app
would have crashed. It is that simple....

----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

28. Re: URLMON Cache Question

C Bouzy wrote:
(snip)
> 
> Are you kidding me? I have noticed you have a knack for making smart little
> comments. Now I see why some EU users do not bother answering these posts. 
> I gave them more than enough information to reproduce the problem. If there
> was any other information needed to cause the crash, I would have included it.
> Simply use Win32Lib and call curl_easy_get_file 3 or 4 times in a row. You
> cannot get more simpler than that. If someone needed to know the who’s,
> the when’s, and the whys, then they needed to reproduce the crash themselves.
> I never asked for a fix to the bug, nor do I care if the bug is fixed. 


include eulibcurl.ew
include Win32Lib.ew

constant TEST1 = "test1",
         TEST2 = "test2",
         TEST3 = "test3",
         TEST4 = "test4",
         TEST5 = "test5"

constant win = createEx( Window, "",  0, 0, 0, 30, 30,
            {WS_BORDER, WS_SYSMENU, WS_DLGFRAME}, {WS_EX_TOOLWINDOW} )

object void
void = curl_easy_get_file("www.rapideuphoria.com", "", TEST1)
void = curl_easy_get_file("www.rapideuphoria.com", "", TEST2)
void = curl_easy_get_file("www.rapideuphoria.com", "", TEST3)
void = curl_easy_get_file("www.rapideuphoria.com", "", TEST4)
void = curl_easy_get_file("www.rapideuphoria.com", "", TEST5)

WinMain(win, Normal)

Works for me every single time with no problem.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

new topic     » goto parent     » topic index » view message » categorize

29. Re: URLMON Cache Question

C Bouzy wrote:
> Just because I am not interested in something that you are interested in...

I'm not personally «interested in» any eulibcURL crash in Win32lib since I NEVER
use it.

I'm «interested in» doing my best in order to enable eulibcURL to work fine even
with libraries that I simply I don't currently use and perhaps I won't never
use..

Why? It's not charity. It's in return for what I've learned thanks to free
Euphoria and also from free code posted in this forum by many people, most of
them using Win32lib.

That's the sense of the word «community».

JG

new topic     » goto parent     » topic index » view message » categorize

30. Re: URLMON Cache Question

D. Newhall wrote:
> 
> C Bouzy wrote:
> 
> include eulibcurl.ew
> include Win32Lib.ew
> 
> constant TEST1 = "test1",
>          TEST2 = "test2",
>          TEST3 = "test3",
>          TEST4 = "test4",
>          TEST5 = "test5"
> 
> constant win = createEx( Window, "",  0, 0, 0, 30, 30,
>             {WS_BORDER, WS_SYSMENU, WS_DLGFRAME}, {WS_EX_TOOLWINDOW} )
> 
> object void
> void = curl_easy_get_file("www.rapideuphoria.com", "", TEST1)
> void = curl_easy_get_file("www.rapideuphoria.com", "", TEST2)
> void = curl_easy_get_file("www.rapideuphoria.com", "", TEST3)
> void = curl_easy_get_file("www.rapideuphoria.com", "", TEST4)
> void = curl_easy_get_file("www.rapideuphoria.com", "", TEST5)
> 
> WinMain(win, Normal)
> 
> Works for me every single time with no problem.
> 

Try clicking the following a few times in a row.

procedure Click_CrashMe(integer self, integer event, sequence params)
  void = curl_easy_get_file("www.rapideuphoria.com", "", TEST1)
end procedure
setHandler(CrashMe, w32HClick, routine_id("Click_CrashMe"))


----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

31. Re: URLMON Cache Question

C Bouzy wrote:
> 
> D. Newhall wrote:
> > 
> > C Bouzy wrote:
> > 
> > include eulibcurl.ew
> > include Win32Lib.ew
> > 
> > constant TEST1 = "test1",
> >          TEST2 = "test2",
> >          TEST3 = "test3",
> >          TEST4 = "test4",
> >          TEST5 = "test5"
> > 
> > constant win = createEx( Window, "",  0, 0, 0, 30, 30,
> >             {WS_BORDER, WS_SYSMENU, WS_DLGFRAME}, {WS_EX_TOOLWINDOW} )
> > 
> > object void
> > void = curl_easy_get_file("www.rapideuphoria.com", "", TEST1)
> > void = curl_easy_get_file("www.rapideuphoria.com", "", TEST2)
> > void = curl_easy_get_file("www.rapideuphoria.com", "", TEST3)
> > void = curl_easy_get_file("www.rapideuphoria.com", "", TEST4)
> > void = curl_easy_get_file("www.rapideuphoria.com", "", TEST5)
> > 
> > WinMain(win, Normal)
> > 
> > Works for me every single time with no problem.
> > 
> 
> Try clicking the following a few times in a row.
> 
> }}}
<eucode>
> procedure Click_CrashMe(integer self, integer event, sequence params)
>   void = curl_easy_get_file("www.rapideuphoria.com", "", TEST1)
> end procedure
> setHandler(CrashMe, w32HClick, routine_id("Click_CrashMe"))
> </eucode>
{{{

> 
> ----If you continue to do what you have always done,
> you will get what you have always gotten.----

Tired of clicking: works fine.

euLibCurl 0.2

libcurl.dll supplied by Rays with euLibCurl 0.2

OS Win9x

Eu 2.4 - Win32lib 0.59.1 - OK
Eu 2.4 - Win32lib 0.60.6 - OK
Eu 2.5 - Win32lib 0.60.6 - OK

JG

new topic     » goto parent     » topic index » view message » categorize

32. Re: URLMON Cache Question

> Tired of clicking: works fine.
> 

Well it crashes for me, and Craig Welch also have had the same problem. 
Maybe it has something to do with WinXP/2000. 


----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view message » categorize

33. Re: URLMON Cache Question

Ummm ...  Correct me if I'm wrong, but there's much more with a Multitasking 
OS?  Like, what other apps are you running?  Do you have any buggy devices?  
Is this a computer that hangs regularly due to hardware and or software 
conflicts?  Does it crash only when Real Media Player is installed, or is it 
more allergic to QuickTime?

I couldn't recreate a crash in many cases with thin information.  In fact, 
if another person has a computer that crashes on startup, and asked me to 
try it on mine, I could probably fix theirs the way mine's fixed.  But most 
people like the task bar.

Love & Friendship & Blessed Be,
Lynn Erika Kilroy


>From: "D. Newhall" <guest at RapidEuphoria.com>
>Reply-To: EUforum at topica.com
>To: EUforum at topica.com
>Subject: Re: URLMON Cache Question
>Date: Mon, 16 Jan 2006 09:51:36 -0800
>
>
>posted by: D. Newhall <derek_newhall at yahoo.com>
>
>C Bouzy wrote:
> >
>(snip)
> >
> > Hum... me telling you how to recreate the crash is adequate enough to
> > determine what the bug is. I am not going to sit here and go into 
>details on
> > how, when, and why a bug crashes an app, when I cearly stated how to 
>recreate
> > the bug to begin with. It is up to the interested party to investigate 
>the bug.
> > You were able to crash your app after following my "steps", so what is 
>the
> > problem?
>
>Oh my God, I'm getting flashbacks from working tech support...
>
>Errr... no, that's certainly not adequate. If you can't give them enough 
>information to fix this then it'll never get fixed. We programmers aren't 
>psychic beings that can magically determine why something doesn't work just 
>because you say it doesn't work. What Win32Lib routines are you using? 
>What's the application for? What version of Win32Lib is it? What version of 
>Windows are you using? Does this keep occuring on the same statements? What 
>are those statements?
>
>
>The Euphoria Standard Library project :
>     http://esl.sourceforge.net/
>The Euphoria Standard Library mailing list :
>     https://lists.sourceforge.net/lists/listinfo/esl-discussion
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu