03-20-2009 09:58 AM
bonjour,
je souhaite créer un exécutable d'un vi. la création de l'exe se passe bien mais lorsque je veux le lancer une fenêtre d'erreur me signale que monapplication.exe n'est pas une application Win32 valide. c'est la première fois que je rencontre ce problème. pourriez-vous m'aider, SVP?
merci d'avance
cordialement,
Solved! Go to Solution.
03-20-2009 10:08 AM - edited 03-20-2009 10:09 AM
English translation (care of Google Translate):
hello,
I want to create an executable of a vi. the creation of the exe goes well but when I want to start a error window tells me monapplication.exe is not a valid Win32 application. this is the first time I encounter this problem. could you help me please?
thank you in advance
best regards,
Are you perhaps creating the application on a 64-bit OS and then trying to run it on a 32-bit OS?
Google Translate:
Êtes-vous peut-être la création de l'application sur un système d'exploitation 64 bits, puis à essayer de le faire tourner sur un processeur 32-bit OS?
03-23-2009 02:52 AM
hello,
no I create et run the executable on the same machine. all other executables I made before work well. I think there is a problem inside a vi, maybe I use a function which can't be used in a executable??? or should I add a special DLL in the project to create my executable.
thank's for your help
best regards
03-23-2009 04:35 AM
Hello.
Does the problem you have concern the installer or executable? Are you trying to execute it directly from a CD drive? Have you tried to build it again? You also can post you VI on the forum and we will try to see if wa can reproduce the problem.
Regards
03-23-2009 07:07 AM
Hello,
the problem concerns the executable. i don't have problem to create it. i've tried on other machines and i have the same problem. I execute it from the hard disk. it's diffciult for me to post the VI because it contains sub-vi which are in the directory "user.lib" of labview. but maybe I could eliminate sub-VI one by one to see which one is the problem?
best regards
03-23-2009 07:47 AM
Hello.
You can create create a source distribution to include all the necessary VIs for you application:
http://digital.ni.com/public.nsf/allkb/F3DC40A6E3F3B25B862570AD005D1D3D?OpenDocument
But I ask you the same question as the last one:have you tried to build the exe again?
Regards.
03-23-2009 07:56 AM
yes I've tried many times but always the same problem.
I'm going to try to create a source distribution and if i manage, I will post it.
03-23-2009 10:29 AM
I created a new project to build the dll and after I created a new executable and it works!!
Thank's a lot for your help.