Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Compiling Windows EXE error


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-16-2008, 11:37 AM
Senior Member
 
Join Date: Mar 2008
Posts: 102
Default Compiling Windows EXE error

Hi,

I tried to compile a program to windows EXE, but it gives error.

Please Suggest what should be done.

regards,
Attached Images
File Type: jpg winexe_compile error.jpg (36.5 KB, 15 views)
Reply With Quote
  #2 (permalink)  
Old 07-16-2008, 12:48 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

For the looks of it, you have either two install of the OpenNETCF, or a duplicated DLL, as stated in the error message...
Try to un-install the OpenNETCF...
If the error persists then do a search for the described dll...if more than one is found, then delete the one most probable to have nothing to do with Basic4PPc..
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 07-16-2008, 04:24 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

You should not add the OpenNetCF.Communication...dll to the referenced libraries.
The RAPI library will use it implicitly.
Reply With Quote
  #4 (permalink)  
Old 07-17-2008, 04:24 AM
Senior Member
 
Join Date: Mar 2008
Posts: 102
Default

If I remove OpenNetCF .....dll from the components list it runs well but gives another error while try to make windows EXE. I attached here the error and the components list.

If understood correctly, I want to make a desktop setup app. after creating the windows EXE.

regards,
Attached Images
File Type: jpg win compile error.JPG (14.5 KB, 6 views)
File Type: jpg components.JPG (26.3 KB, 5 views)
Reply With Quote
  #5 (permalink)  
Old 07-17-2008, 06:44 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

Please remove 'rapi' object and add it again.
It was probably added when the OpenNetCF...dll was referenced, making it an object of this library (instead of the RAPI library).
Reply With Quote
  #6 (permalink)  
Old 07-17-2008, 08:00 AM
Senior Member
 
Join Date: Mar 2008
Posts: 102
Default

I followed your suggestion and that problem was solved but facing a new problem while try to make windows EXE and I can not understand the error.

I attached the code and error.


regards,
Attached Images
File Type: jpg win compile error.JPG (22.9 KB, 3 views)
Attached Files
File Type: sbp Copy Data to Desktop.sbp (7.5 KB, 1 views)
Reply With Quote
  #7 (permalink)  
Old 07-17-2008, 08:25 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

There is a syntax error in this line:
listbox1.Insert(i,&Table1 & ...)
Reply With Quote
  #8 (permalink)  
Old 07-17-2008, 08:44 AM
Senior Member
 
Join Date: Mar 2008
Posts: 102
Default

I appreciate and thanks a lot for your time.


regards,
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error after compiling J12345T Questions & Help Needed 6 10-23-2008 12:59 AM
ERROR on compiling superbabicka Questions & Help Needed 9 08-17-2008 07:56 AM
Error compiling 6.01 magi6162 Questions & Help Needed 4 01-14-2008 04:13 PM
Error when compiling borderless Questions & Help Needed 2 11-14-2007 06:36 PM
Outlook.dll error after compiling Graley Questions & Help Needed 1 09-14-2007 06:30 PM


All times are GMT. The time now is 01:50 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0