Q Quent42340 Member Jan 9, 2010 #1 Hi all, Recently, I created a small application with B4P Desktop who calling DLLs, on the desktop version it works, but on the PPC version I've this : An error occurred. An error message can not be displayed because an assembly of the container resource is not found Click to expand... I can't run my application... Help me please ! PS : I'm French and I don't post in the French forum because I really want answers !
Hi all, Recently, I created a small application with B4P Desktop who calling DLLs, on the desktop version it works, but on the PPC version I've this : An error occurred. An error message can not be displayed because an assembly of the container resource is not found Click to expand... I can't run my application... Help me please ! PS : I'm French and I don't post in the French forum because I really want answers !
klaus Expert Licensed User Longtime User Jan 10, 2010 #2 You are missing an error messaging file on your device. You can download them here , post #14. This allows you to know what error is coming up. You could also post your code and we could look at it to find out what happens. Salutations.
You are missing an error messaging file on your device. You can download them here , post #14. This allows you to know what error is coming up. You could also post your code and we could look at it to find out what happens. Salutations.
Q Quent42340 Member Jan 10, 2010 #3 Thanks, I've an other error message : An error occured. Error loading file. Could not find a part of the path '\Storage Card\B4P Projects\TextEditor\TextEditor.sbp'. Click to expand... And when I add a DLL : An error occured. File or assemnly name 'Storage Card\B4P Projects\TextEditor\FormLib.dll', or one of its dependances was not found. Click to expand... I attach my folder "TextEditor"... Attachments TextEditor_B4P.zip TextEditor_B4P.zip 15.2 KB · Views: 358
Thanks, I've an other error message : An error occured. Error loading file. Could not find a part of the path '\Storage Card\B4P Projects\TextEditor\TextEditor.sbp'. Click to expand... And when I add a DLL : An error occured. File or assemnly name 'Storage Card\B4P Projects\TextEditor\FormLib.dll', or one of its dependances was not found. Click to expand... I attach my folder "TextEditor"...
derez Expert Licensed User Longtime User Jan 10, 2010 #4 The name of the attached file is "texteditor_b4p.zip" Are you sure that the name of the directory is "texteditor" , not "texteditor_b4p" ?
The name of the attached file is "texteditor_b4p.zip" Are you sure that the name of the directory is "texteditor" , not "texteditor_b4p" ?
Q Quent42340 Member Jan 10, 2010 #5 Uh... I made an error : The file was in "TextEditor B4P" and not in "TextEditor" ... But it's the same problem : the dll cannot be read : An error occured. File or assemnly name 'Storage Card\B4P Projects\TextEditor\FormLib.dll', or one of its dependances was not found. Click to expand...
Uh... I made an error : The file was in "TextEditor B4P" and not in "TextEditor" ... But it's the same problem : the dll cannot be read : An error occured. File or assemnly name 'Storage Card\B4P Projects\TextEditor\FormLib.dll', or one of its dependances was not found. Click to expand...
klaus Expert Licensed User Longtime User Jan 10, 2010 #6 Did also copy the FormLib.dll file into the same folder as the program? Best regards.
Q Quent42340 Member Jan 10, 2010 #7 Yes, I did it... Or there's B4P Desktop who did it... But FormLib.dll is in the same folder as the program.
Yes, I did it... Or there's B4P Desktop who did it... But FormLib.dll is in the same folder as the program.
klaus Expert Licensed User Longtime User Jan 10, 2010 #8 If your program is not optimized compiled you need to have also the dll's in the same forlder as the program on the device. When optimized compiling, the compiler adds the source code of most additional libraries directly into the exe file. Best regards.
If your program is not optimized compiled you need to have also the dll's in the same forlder as the program on the device. When optimized compiling, the compiler adds the source code of most additional libraries directly into the exe file. Best regards.
Q Quent42340 Member Jan 10, 2010 #9 I don't understand... I just want to edit and run my program in my device... On the desktop I haven't any error message...
I don't understand... I just want to edit and run my program in my device... On the desktop I haven't any error message...
klaus Expert Licensed User Longtime User Jan 10, 2010 #10 On the device, do you also have the FormLib.dll and Hardware.dll files in the same folder as the program ? Best regards. Last edited: Jan 10, 2010
On the device, do you also have the FormLib.dll and Hardware.dll files in the same folder as the program ? Best regards.
Q Quent42340 Member Jan 10, 2010 #11 FormLib.dll is in the same folder as my program... PS : Excuse me if I don't understand all you say : Remember I'm French...
FormLib.dll is in the same folder as my program... PS : Excuse me if I don't understand all you say : Remember I'm French...
klaus Expert Licensed User Longtime User Jan 10, 2010 #12 Je repose la question en français. Est-ce que vous avez copié les 2 fichiers dll aussi sur le PocketPC ? Avec l'éditeur de programmation toutes les librairies additionnelles doivent se trouver dans le même répertoire que le programme. Sur le desktop B4PPC charge automatiquement ces librairies dans le répertoire du programme, ce qui n'est PAS le cas pour le PocketPC vous devez les copier vous même. Salutations.
Je repose la question en français. Est-ce que vous avez copié les 2 fichiers dll aussi sur le PocketPC ? Avec l'éditeur de programmation toutes les librairies additionnelles doivent se trouver dans le même répertoire que le programme. Sur le desktop B4PPC charge automatiquement ces librairies dans le répertoire du programme, ce qui n'est PAS le cas pour le PocketPC vous devez les copier vous même. Salutations.
Q Quent42340 Member Jan 10, 2010 #13 Réponse en Français : Oui ! C'est justement pour cela que je ne comprends pas d'où vient cette erreur...
Réponse en Français : Oui ! C'est justement pour cela que je ne comprends pas d'où vient cette erreur...
klaus Expert Licensed User Longtime User Jan 10, 2010 #14 Try to move your program to 'Storage Card\B4P Projects\' instead of 'Storage Card\B4P Projects\TextEditor\FormLib.dll' perhaps this could help ? I tryed on my htc Touch HD and can even not read the source file when it is too deep in the directory. Essayez de déplacer le programm dans 'Storage Card\B4P Projects\' au lieu de 'Storage Card\B4P Projects\TextEditor\FormLib.dll' peut-être cela résoud le problème. J'ai essayé sur mon htc Touch HD et je ne peux même pas lire le fichier source s'il est trop profond dans le répertoire. Best regards.
Try to move your program to 'Storage Card\B4P Projects\' instead of 'Storage Card\B4P Projects\TextEditor\FormLib.dll' perhaps this could help ? I tryed on my htc Touch HD and can even not read the source file when it is too deep in the directory. Essayez de déplacer le programm dans 'Storage Card\B4P Projects\' au lieu de 'Storage Card\B4P Projects\TextEditor\FormLib.dll' peut-être cela résoud le problème. J'ai essayé sur mon htc Touch HD et je ne peux même pas lire le fichier source s'il est trop profond dans le répertoire. Best regards.