BleepingComputer.com: Visual Studio 2008

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Visual Studio 2008 the program just run in my computer

#1 User is offline   flaviogtorres 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 10-January 10

Posted 10 January 2010 - 12:52 PM

I compile and link the AMCAP from DirectShow samples. The program just run in my computer, when i take the amcap.exe to another computer the message
"Fail in application initializing due to an incorrect configuration. Please, reinstall the software". But the AMCAP donīt need nothing more.

I check that the program donīt enter in the winmain...

#2 User is offline   Keithuk 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 800
  • Joined: 25-January 07
  • Gender:Male

Posted 11 January 2010 - 08:13 AM

I'm not sure what amcap.exe but Google brings back Index of Windows Driver Kit Tools. If your trying to add amcap.exe as part of your app then there are additional items that are needed to run that exe. The amcap.exe components are probably registered on your system. :thumbsup:
Keith

Martin2k

Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows Vista Home Premium SP2 (laptop computer)

#3 User is offline   flaviogtorres 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 10-January 10

Posted 11 January 2010 - 02:04 PM

Keith,
I compiled the AMCAP and initially everything was ok. The program ran in any computer.

I finished all the changes and then i realized the following: the program, run only in computers with visual studio installed.
So, i did some tests like:
1- I checked what dlls the AMCAP uses and I putted all in the some directory. The result was the same message
2- I put a return statement at the begining of the Winmain routine. In my computer the program go in and out but in other computers the result was the same message.
3- I tried to recompile the AMCAP original (without changes) and the result was the same message.

It seems that there is something strange at the beggining of the program header.



tks.

#4 User is offline   Keithuk 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 800
  • Joined: 25-January 07
  • Gender:Male

Posted 11 January 2010 - 04:27 PM

View Postflaviogtorres, on Jan 11 2010, 07:04 PM, said:

Keith,
I compiled the AMCAP and initially everything was ok. The program ran in any computer.

I finished all the changes and then i realized the following: the program, run only in computers with visual studio installed.


Well that comes back to the original problem. Any VB app needs the appropriate runtime files installed before it will work. In your case Microsoft .Net Framework 3.5 SP1. Plus your app may use certain references which you have to add. You can use Inno Setup to make your setup package if you're not used to VB.Net's. :thumbsup:
Keith

Martin2k

Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows Vista Home Premium SP2 (laptop computer)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users