0

My app wont start up on any 32bit PCs. It brings an error. Ive tried all the solutions mentioned like going into Compile and changing the Platform, and other things.

I have come to the conclusion it Might just be something faulty with my coding. Here is the only place in my code that could be doing it.

  Declare Auto Sub mouse_event Lib "user32.dll" (ByVal dwFlags As Int32, ByVal dx As Int32, ByVal dy As Int32, ByVal cButtons As Int32, ByVal dwExtraInfo As IntPtr)
    Private Const MOUSEEVENTF_LEFTDOWN = &H2
    Private Const MOUSEEVENTF_LEFTUP = &H4
    Private Declare Function SetCursorPos Lib "user32.dll" (ByVal X As Int32, ByVal Y As Int32) As Boolean

As i don't have a 32bit pc I have to rely on someone for the errors and such and this is what he sent me. the error

EventType: clr20r3  P1: program.exe P2: 1.1.0.0 P3: 4e6422cc
P4: program P5: 1.1.0.0 P6: 4e6422 P7: 33 P8: 22
P9: system.invalidoperationexception

    Exception Information
Code: 0xe0434352 Flags: 0x00000001
Record: 0x00000000000000000 Address: 0x000000007c812afb
Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
Joe
  • 1,047
  • 1
  • 13
  • 25

1 Answers1

0

Check the build manifest. Maybe you accidentally left it on for 64 bit machines instead of 32 bit. Go to the Compile tab and check processor type there.

Venu K
  • 50
  • 8