Unknown error...

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
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 !
 
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'.
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.
I attach my folder "TextEditor"...
 

Attachments

  • TextEditor_B4P.zip
    15.2 KB · Views: 221

derez

Expert
Licensed User
Longtime User
The name of the attached file is "texteditor_b4p.zip"
Are you sure that the name of the directory is "texteditor" , not "texteditor_b4p" ?
 
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.
 

klaus

Expert
Licensed User
Longtime User
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.
 
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...
 
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
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.
 

klaus

Expert
Licensed User
Longtime User
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.
 
Top