Announcement

Collapse
No announcement yet.

Invalid win32 Application in Windows2000

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Russ Srole
    replied
    Mike,

    I'd keep that copy of Netscape around. It does a much better job of letting you copy code from these forums. See Lance's note above.

    Russ Srole

    ------------------

    Leave a comment:


  • Fred Oxenby
    replied
    Mike, most of my "utility-programs" are specifically developed
    for one customer, using one specific OS.
    I was not trying to imply anything...



    ------------------
    Fred
    mailto:[email protected][email protected]</A>
    http://www.oxenby.se

    Leave a comment:


  • Mike Trader
    replied
    Fred and Borje,

    I heard back from "the" user (yes, dont rub it in - no its not my mom!).

    I sent him another copy which ran fine. To clarify, I used Netscape
    as my email client for a long time (hangover from the Mac days), but
    it is terrible on the windows platform. It seems to be messing with attachments
    and that was the problem.
    I had sent him a simple Zip file. I think it might have alerted him
    to the problem when it unzipped the file but he did not say.

    Anyways you guys were right. thx.

    Semen,
    Thx for that code. Superb and brilliant as allways.
    FYI it doesnt work from within Netscape browser but I am now using IE which works great

    I have installed Pegasus for my e-mail client (thx to a link from a members site)
    So I can say bye bye to Netscape.

    ------------------
    Kind Regards
    Mike

    Leave a comment:


  • Gregery D Engle
    replied
    Thanks for clarifing. The edit/message icon works, but I hate
    not being able to use it on the Archived Messages.

    ------------------
    -Greg

    Leave a comment:


  • Tom Hanlin
    replied
    MSIE copies data to the clipboard in text, RTF and HTML formats. For "do not format" blocks
    such as UBB "code" blocks, MSIE drops the end of line marks when copying to text and HTML.
    This is a bug in all known versions of MSIE up through and including the 6.0 beta. The bug
    does not affect data copied in RTF format, which Word and WordPad use in preference to text
    and HTML format, so the problem is not evident if you paste to Word or WordPad.


    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Lance Edmonds
    replied
    Originally posted by Gregery D Engle:
    You act like IE isn't the #1 browser on the market? All the
    source code provided on MSDN I can copy and paste fine, why
    can't you just get ride of UBB and go with something home grown?
    Just a suggestion.
    Greg, according to the IDE team, the problem is actually in IE... it does not format line breaks correctly when displaying the UUB code blocks, hence the workaround to use the EDIT MESSAGE window.

    How Word/Wordpad manages to do it is unclear - other apps like Notepad don't detect the line break either.

    Obviously the MSDN web pages are formatted a little differently to how the UUB software creates the HTML code. We hope to one day replace the BBS with much better software, but alas, that probably won't happen in the very near future.

    BTW: what "market" are you talking about? AFAIK, there has not been a Browser market for years.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Nathan Evans
    replied
    I have found that copying code from the BB into Microsoft Word will format
    it correctly, then copy that into PBedit.

    Thank you Lance for pointing out the Edit Post method

    -Nath

    ------------------

    Leave a comment:


  • Gregery D Engle
    replied
    Lance,

    You act like IE isn't the #1 browser on the market? All the
    source code provided on MSDN I can copy and paste fine, why
    can't you just get ride of UBB and go with something home grown?

    Just a suggestion.

    ------------------
    -Greg

    Leave a comment:


  • Lance Edmonds
    replied
    There is no real need to get carried away - the "problem" only affects IE users, and the solution is simple:

    When you want to copy/paste from a BBS message into PBEDIT, just click the EDIT MESSAGE button in the header of the target message, and highlight/copy the code from the edit window. Finally, paste that into PBEDIT/CCEDIT.



    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Bern Ertl
    replied
    mike,

    now, how do get it to retain the tabs when you copy and paste it into pbedit?
    either edit the message containing the code before copying, or
    check out semen's utility:
    http://www.powerbasic.com/support/pb...ad.php?t=22962




    ------------------
    bernard ertl

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Could it be that a DLL was created with a .EXE extension?
    Do what Fred recommended...

    Leave a comment:


  • Borje Hagsten
    replied
    Most likely, file is trashed. Send new file. Not sure if eventual
    OPTION.. metastatement can have anything to do with it, but should
    not. If eventual dependency file is missing/old/wrong, there should
    be another message..?

    Otherwise - should be enough to see Declares section and PBMAIN
    to see why this happens, since it must be at startup sequence.


    ------------------

    Leave a comment:


  • jcfuller
    replied
    Michael,
    I use Win2K for all my PBDLL/CC work and have never had a problem, altough
    I use my PBWinADP for an IDE.
    I get GPF's all the time when I write bad code but it has never brought Win2K down.

    James




    ------------------

    Leave a comment:


  • Fred Oxenby
    replied
    Guys, correct me if I am wrong!
    I think this thread is about a guy, who has a program, compiled on
    a WIN/9x-system witch run OK on Win/9x systems.
    ONE USER (or THE USER) says it does not run on WIN/2K
    The best thing to do, is to get the file back from the user and
    find out if the file still runs OK on Win/9x systems.
    Mike dosent say how his "shipping" is done, but I am sure he tested
    his application before shipment



    ------------------
    Fred
    mailto:[email protected][email protected]</A>
    http://www.oxenby.se

    Leave a comment:


  • Steve Hutchesson
    replied
    That has the sniff of yet another Microsoft messup, I still use
    win95b and get other people to test for me on later versions.

    There are a few minor differences with code that runs on NT4/win2k
    with things like return values in dialog procs but I have found
    that PowerBASIC EXE files generally have no problems running on
    any version, as long as the API calls in the code are available
    in the OS version being run.

    Regards,

    [email protected]

    ------------------

    Leave a comment:


  • Michael Meeks
    replied
    Ok guys, I'll probably get stomp'd on!

    (I get different symptoms for different situations in win2k)

    Windows2000 has always'd caused me problems with PowerBasic!
    I won't go into any extreme details, but let's just say that
    I have to reboot just about every hour or so, when using
    PowerBasic with Win2k! TaskManger is the only way out without
    restarting... Since PB autosaves before compilation, my source
    is never effected! Sometimes when running the stand-alone exe,
    after compiling, the program GPF's, or some other symptoms that
    show that your program has gone hay-wire!

    Although, I haven't found why or the reasons, I do know that
    when I first purchased this 1.4Ghz (Dell) about 2 months ago,
    that PowerBasic worked fine! It was the only program on the
    new computer. However, since that time, Visual Studio, Delphi
    5 & 6, Java Compilers etc...the list goes on. About 30GB worth,
    with (3x40Gb) HD's.

    So, at the moment (reinstalling is not an option)! Too many
    activations (controls) and hassels! :rolleys:

    My solution: I install System-Commander Deluxe, Install Win98 as
    a second o/s and use it solely for PowerBasic on the same (DELL).
    All programs I have created with Win98 work perfectly on Win2k
    without any problems! This was my solution!

    So, there's something adrift in the Win2k O/S! And service pack
    2 didn't help any!

    Later
    MWM


    ------------------
    mwm

    Leave a comment:


  • Sven Blumenstein
    replied
    I have a little Programm, which changes the PE Header to make a PE Executable Win2K-compatible. Send me a E-Mail and I mail it to you (but I think, compiling on a Win2K machine would be the best solution).

    ------------------
    E-Mail (home): mailto:[email protected][email protected]</A>
    E-Mail (work): mailto:[email protected][email protected]</A>



    [This message has been edited by Sven Blumenstein (edited July 01, 2001).]

    Leave a comment:


  • Semen Matusovski
    replied
    Some mail clients like to insert additional symbols (CRLF, for example).
    If I am not sure that another side has Outlook Express, I attach files as zip only.


    ------------------
    E-MAIL: [email protected]

    Leave a comment:


  • Fred Oxenby
    replied
    Mike, You start your trubleshooting by asking your customer to
    return the exe file to you for investigation.
    Because I am 100,01% sure you have sent him the wrong file.....


    ------------------
    Fred
    mailto:[email protected][email protected]</A>
    http://www.oxenby.se

    Leave a comment:


  • Nathan Evans
    replied
    Sorry, just a spur of the moment type of thought.

    Leave a comment:

Working...
X