Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 131,770 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,109 people online right now. Registration is fast and FREE... Join Now!




Executable File

 
Reply to this topicStart new topic

Executable File, Interoperability problem

NuLLiFy
post 23 Sep, 2003 - 10:58 PM
Post #1


New D.I.C Head

*
Joined: 25 Mar, 2003
Posts: 39

I compiled my vb project in Wndows 2000. But I cannot run it in Windows 98.
What should I do?
User is offlineProfile CardPM

Go to the top of the page

agazeus
post 1 Oct, 2003 - 11:55 AM
Post #2


New D.I.C Head

*
Joined: 25 Dec, 2002
Posts: 38

Hey I've seen this post for a while and thought somebody was going to respond but...

You probably need the runtime to put on the windows 98 computer....

C:\Winnt\msvbvm60.dll or..\system32\msvbvm60.dll

for winnt

should fix the problem, cause if not then maybe you're trying to call an API function that's not supported in windows 98

later
User is offlineProfile CardPM

Go to the top of the page

LaggyNewbie
post 28 May, 2004 - 07:12 PM
Post #3


New D.I.C Head

*
Joined: 28 May, 2004
Posts: 16


My Contributions


exe's are so small because the majority of code they use, are in the form of universal files in the windows directory. It is very possible your program is calling on a universal file that wasnt shipped with windows98. Get the filename in the error and either package it with your exe via zipping or upgrade that OS to something new smile.gif
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 30 Jan, 2005 - 03:39 AM
Post #4


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,895



Thanked 34 times

Dream Kudos: 2800

Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions


Somewhat Same Problem here....I created a project in VB in Windows XP....and it doesnt function at all on Windows 98.
However i find that if i compile the source code from Windows 98 it works fine...
I guess the reason for that is given in the previous posts....or is there something else now???
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 30 Jan, 2005 - 06:58 AM
Post #5


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,165



Thanked 32 times

Dream Kudos: 25
My Contributions


No, that's the main reason...as different OS's have different files, especially between versions like 95 and NT based versions, the easiest way to solve the problem is to recompile on the target OS. As pointed out by LaggyNewbie, if that's not possible, the troublesome file will have to be packaged with the exe.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 01:37PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month